📣🎄🎁❄️ WINTER SALE! | Exclusive offers for Cloud Shared Hosting - 70% OFF | Starting from $3.99/mo
Learn WooCommerce

The most famous E-Commerce plugin for Wordpress will allow you to build an Online Store!

• Last Updated: 01/13/2020
• ( 20 minutes reading )

How to configure WooCommerce Advanced Settings

Introduction

In the following tutorial, our focus will be on the WooCommerce Advanced Settings. We will guide you on how to expand your control over your Online Store and take the most advantage of the powerful tools available here. We will show you that even though the settings are "Advanced" configuring them is not such a "hard nut to crack". In order to avoid any confusion, we would like to point out that the "Advanced" tab was introduced within WooCommerce 3.4. replacing the prior versions’ "API" tab.

 

Getting Started

If you are ready to begin, please log in to your WordPress Admin Dashboard and navigate through the left menu bar to WooCommerce > Settings, then select the "Advanced" tab from the top menu bar.

 

Accessing the Advanced settings page

 

Now that you are on the "Advanced" settings page, you will notice that it is split into five subtabs. In the following lines of this guide, we will separately review each of the subtabs and clarify all the available settings.

 

Page Setup Settings

Under this subtab, you will find the settings that will allow you to control your default pages, checkout endpoints, and account endpoints. We will be reviewing each of the sections separately in order to outline their specifications and explain all the available settings in detail.

 

Page Setup

Under this section, you will be able to select the destination of your main pages. WooCommerce will create shortcuts for these pages in order to properly configure them in your Online Store and link them to your "Home page" so your visitors will be directed to the right destination when they access them. If you have used the WooCommerce Setup Wizard the pages will be already set as shown in the screenshot example below.

 

Page set up settings

 

  • Cart page - From this dropdown menu, you will be able to select which page WooCommerce will configure as your store’s "Cart page". The page you select will be linked to the shopping cart page where your customers will see the items they have selected for purchase. The unique shortcode of the "Cart page" is "[woocommerce_cart]".
  • Checkout page - From this dropdown menu, you will be able to select which page WooCommerce will configure as your store’s "Checkout page". The page you select will be linked to the checkout page which will list your shipping methods and payment options. Under this page, your customers will be able to add their payment information and submit their orders. The unique shortcode of the "Checkout page" is "[woocommerce_checkout]".
  • My account page - From this dropdown menu, you will be able to select which page WooCommerce will configure as your online store’s "My account page". The page you select will be linked to your customers’ account page under which they will be able to manage their accounts, review their orders, and edit their personal information. The unique shortcode of the "My account pageis "[woocommerce_my_account]".
  • Terms and conditions - This page is optional, however, if you decide to enable it, please select the page you wish WooCommerce to configure as your store’s "Terms and conditions" page. If you select a page for this option, during checkout your customers will be presented with "I have read and agree to the website terms and condition" checkbox they will need to tick before they can finish checking out.
  • Secure Checkout - This checkout box option will allow you to force the connection on your checkout page over the secured HTTPS protocol. Please note that in order for your checkout page (or the rest of your website’s pages) to be accessible over secure HTTPS connection you need to ensure a valid SSL certificate is already installed. Even if you do not accept payments directly on your store you still collect personal details, therefore running your website over HTTPS is strongly recommended. If you enable the "Secure Checkout" option you will notice additional "Force HTTP when leaving the checkout" appearing. If you enable this option, all pages apart of the checkout page will be forced over the HTTP protocol. 

 

Checkout Endpoints

Under this section, you will be presented with the checkout process endpoints. These endpoints will be included in your checkout URL in order to handle specific action. The purpose of these endpoints is to reduce the number of pages and amount of content by handling multiple requests under the same page.

 

Checkout endpoint settings

 

As you will notice the listed "Pay", "Order received", "Add payment method", "Delete payment method", "Set default payment method" endpoints are already configured by WooCommerce. If you would like to set up your custom endpoint values, please make sure they are unique in order to avoid interference and issues during the checkout process. 

 

Account Endpoints

Under this section, you will find the endpoints related to your Online Store’s "My account" page. These endpoints will be included in your "My account" URL to handle specific actions. For example, if your customer would like to review a specific order the URL will appear as yourdomain.com/my-account/view-order/.

 

Account endpoint settings

 

Similarly to the previous section, you will notice that the "Orders", "View order", "Downloads", "Edit account", "Addresses", "Payment methods", "Lost password", and "Logout" endpoints are already configured by WooCommerce. However, if you prefer to set up your custom values, please make sure they are unique and not included anywhere on your website in order to avoid any possible interference.

Once you ensure you are ready with all the settings, please make sure to click on the "Save changes" button and you will be all set to move forward. 

 

REST API

In this section, we will review the WooCommerce REST API which is a powerful part of WooCommerce and will allow external apps to interact with your website data and make CRUD (Create; Read; Update; Delete) operations available from anywhere. The "REST APIwill allow you to manipulate your WooCommerce data from any technology stack you want, such as mobile apps or native apps.

Before we begin, please make sure that the WordPress permalinks are enabled (WordPress Admin Dashboard > Settings > Permalinks).

 

Rest API settings

 

The "REST API" is based on a key system which controls access. The keys are linked to specific users on your site. If you are accessing the "REST API" page for the first time, you will be prompt to create a new key by the purple "Create an API key" button. In order to add your new key, you can either click on it or you can click on the "Add key" button at the top of the page - both options will take you to the "Key details" page.

 

API key generation

 

Here you will need to enter your key details in the given three fields:

  • Description - In this field, you will have to enter a description for the given key.
  • User - From the dropdown menu, you will have to select the user you are generating this key for.
  • Permissions - From the dropdown menu, you will have to select the level of access you would like to allow to that user. You can choose between "Read", "Write" and "Read/Write".

Then just click on the "Generate API key" and WooCommerce will automatically create your new key.

After your key is successfully generated you will be provided with your "Consumer key", "Consumer secret", "QRCode" and a "Revoke key" option.

 

API key details

 

Please make sure to copy and save your "Consumer key" and "Consumer secret" as they will not be visible later on. You can enter these keys in the application that will be using the "REST API". The "QRCode" is particularly useful for mobile apps as it will allow you to directly scan it and add the keys, avoiding the whole typing/pasting process. From the red "Revoke key" button you can restrict access to your website’s data for any application using this key. 

 

Webhooks

Simply put webhooks are just HTTP requests sent to a certain URL usually in response to an event. The common use of webhooks is for data that changes. You can configure a webhook that will trigger an action on one website as a result of an event happening on your website. Webhooks can be configured with any third-party services and APIs as long as they are supported. For example, you can configure a webhook that will automatically post an update to a third-party website (i.e. Facebook, Twitter, etc.) whenever you add a new product.

Now let’s see how to add and configure a new webhook from WooCommerce.

 

WooCommerce Webhooks

 

If you are accessing the "Webhooks" subtab for the first time you will be prompted with a purple "Create a new webhook" button. You can either click on it or click on the "Add webhook" button at the top of the page.

Afterward, you will be presented with the "Webhook data" page where you will need to configure the webhook settings.

 

Webhook data configuration

 

  • Name - Within this field, you can enter a title for your webhook. Leaving the field blank will automatically generate a name for in a default "Webhook created on Sep 23, 2019 @ 5:31 PM" format.
  • Status - From this dropdown menu you will need to select the status of the webhook. The statuses are "Active", "Paused", and "Disabled". Please make sure to set it to "Active" status when you are ready for it to run.
  • Topic - From this dropdown menu you will need to select the event which will trigger the webhook. Apart from the default WooCommerce topics, at the bottom of the list, you will notice an "Action" topic. If you select it, an additional "Action event" field will appear where you will need to manually enter the event which will trigger the webhook. For example, "woocommerce_add_to_cart" which will trigger the event whenever a customer adds an item to their shopping cart.
  • Delivery URL - Within this field, you will need to enter the URL where you would like the webhook event to be delivered. We would like to recommend you to check their official documentation in order to ensure what is the appropriate way to configure the webhook.
  • Secret - Here you can either enter a secret key or leave the filed blank which will configure the "Consumer secret" of the user associated with this webhook.
  • API version - Here you will need to select your preferred REST API version which will be used in this webhook.

Once you are ready, please make sure to click on the "Save changes" button and your new webhook will be successfully set up.

If you have saved the webhook in "Active" status it will start checking for the particular event right away. When you access the webhook again you will be able to see the logs. Alternatively, you can check the logs by going to WooCommerce > Status > Logs. You can see all the entries showing when it was triggered and the response from the party it is integrating with. 

 

Legacy API

 

 The "Legacy API" is deprecated and expected to be removed soon. The new alternative of the "Legacy API" is the "REST API" which is enabled by default and we have previously reviewed in this guide. 

 

WooCommerce.com

 

Under this last "WooCommerce.com" subtab, you will be able to control whether WooCommerce is allowed to track your usage data. The purpose of the data tracking is to gain more accurate information for the number of stores using WooCommerce, how WooCommerce is installed and used. Additionally, that data will be used to better troubleshoot issues possibly caused due to specific features and updates.

 

Accessing WooCommerce marketplace

 

If you leave the "Enable Tracking" checkbox ticked, WooCommerce will track information such as your site URL, admin email address, your active payment gateways and shipping methods, active plugins, MySQL version, PHP version, etc. In case you do not feel comfortable knowing such information will be retrieved by WooCommerce you can always disable the tracking by un-ticking the checkbox.

The second "Show Suggestions" checkbox will allow you to control whether official extensions considered as helpful for your Online Store will be suggested within WooCommerce. If you prefer not to see those suggestions, please make sure to un-tick the box.

Finally, please make sure to click on the "Save changes" button and you will be all set.

 

Well done! At this point, you have all of your WooCommerce Settings successfully configured and you are ready to move forward and start selling online. We hope you have found our guide useful and easy to follow. In case you happen to experience any difficulties following our instructions, please do not hesitate to contact our Support Team for further guidance.

 

 

...
Sebahat
Technical Support Captain & Content Manager

Sebahat is a young and bright person who had become an invaluable part of our team. Started as a Customer Care Representative who quickly evolved into a Tech-savvy well familiar with every support layer of the company. Driven by the aim to constantly improve our customers’ experience she is committed to enhancing the extraordinary support we deliver.