Products related to Settings

The API Settings Tab

The API Settings tab is not discussed in this book. API keys and Webhooks can be used to integrate third-party tools with WooCommerce. Based on a trigger, another website or service can receive data from WooCommerce when certain events happen on your site, for instance when a new order is created. Preparing our test store Now that we had a look at all settings of WooCommerce it's time to start adding products to our store. Before .

The shipping settings tab

Setting up Shipping works in a similar way as the Checkout setup. In here we'll show the Shipping Options Payments, Shipping, and Coupons we'll get back with more detailed instructions: The Shipping Options settings are as follows: The first setting is enabled by default. It is needed if you want to be able to charge shipping costs to your customers. If you're only selling digital goods -0;0tor on the cart page will result in the .

The Checkout Settings Tab

Moving on to the Checkout settings tab, we see again several sublevels. For this moment, we'll only discuss the Checkout Options. All other panels contain setup information about specific payment methods. More on choosing and configuring payment methods will be discussed in more detail in Chapter 4, Payments, Shipping, and Coupons: The Checkout Options are as follows: First, decide if you want to Enable the use of coupons in your store. Using coupons gives a .

The Tax settings tab

Setting up taxes can be a difficult task. Of course, there's no 'one size fits all' approach possible here. Tax laws and calculations differ from country to country and region to region. Besides that, there's a large difference in handling taxes when selling goods to consumers or to other businesses. So in here, we'll just stick to the basics, by explaining the functionality WooCommerce has available. It's up to you to find out how tax .

The Products Settings Tab

Moving to the next tab you'll find different settings related to the usage of products in WooCommerce. Note that this tab is divided into four different sub-areas, starting with another General tab: First set the unit of measures for weight and dimensions. Next, check the settings for working with product reviews. You may choose to disable them, although generally that isn't recommended. Having customer reviews is important for almost all kinds of products and services. And .
Canned Spam

Stopping WordPress trackback spam without plugin

What is the most effective method for combating the trackback spam that inundates comment sections? Altering the global Trackbacks configuration through the Dashboard -> Settings -> Discussion will exclusively modify the default behavior. If you presently have posts or pages with trackbacks enabled, adjusting the default setting won't affect the individual post-level settings. To address this issue use the following filter to programmatically disapprove any trackback or pingback: add_filter('pre_comment_approved',function($approved,$comment){ if( in_array($comment['comment_type'],array( 'trackback', 'pingback', ))){  .
Translate a text with Amazon Translate using AWS SDK for PHP

Translate a text with Amazon Translate using AWS SDK for PHP

In a previous tutorial named "Integrating an AWS Service into a WP Plugin Boilerplate" we learned to use the free version of WP Package Editor (WP2E) to integrate the AWS Translate Service into a WordPress Plugin Boilerplate. In this tutorial, we have prepared the necessary setup and installed the boilerplate project and AWS SDK dependency in order to integrate Amazon Translate into a WordPress environment. Create an IAM Policy To translate a string using the AWS Translate service, you will need to .

Integrating an AWS Service into a WP Plugin Boilerplate

In this tutorial we are going to learn how to use the free version of WP Package Editor (WP2E) to integrate the AWS Translate Service into a WordPress Plugin Boilerplate. About WP Package Editor (WP2E) The core functionality of WP Package Editor (WP2E) is to create and manage installation packages to quickly deliver and maintain a set of interdependent WordPress scripts such as themes and plugins from a single dashboard. The platform provides 3 types of resource: WP Package Installers - Installer .