WooCommerce Shipping Pro – Chapter 1: Setting Up Plugin
In this tutorial, we will show you how to set up the WooCommerce Table Rate Shipping Pro plugin.to calculate and display shipping rates on your website, based on factors like the weight, quantity, price and the destination address.
This tutorial will give you an excellent launch pad to kick-start the Usage of WooCommerce Shipping Pro plugin. It will give you all the essential knowledge and step-by-step instructions.
After purchasing the Shipping Pro, plugin Zip file is available in MY ACCOUNT.
- Download .zip file from MY ACCOUNT.
- Log in as the WordPress Admin of your online store.
- Navigate to Plugins > Add New to upload the downloaded PluginHive Table Rate Shipping Pro plugin.
- Activate the PluginHive Shipping Pro plugin.
For detailed information about installing PluginHive Plugins, See How to Download, Install, Activate & Update WooCommerce Plugin?
Setting up WooCommerce Table Rate Shipping Pro Plugin
After installing the plugin, a new shipping method ‘Shipping Pro’ is added to WooCommerce. Now you can configure this Shipping Pro method as per your requirement. You can navigate to setting in by two ways as given below:
- Navigate to WooCommerce > Settings > Shipping > Shipping Pro ( under the Menu tabs )OR
- Navigate to Plugins > Installed Plugins > Settings for Shipping Pro plugin
After getting to the settings page, the plugin settings are divided into the following four tabs.
- Shipping Rules: This tab contains the shipping rules that you will be configuring for your website.
- Settings: All the plugin settings will be available in this tab.
- Import/Export: This tab will have the setting for importing and exporting the shipping rules via a CSV file.
- License: Enter the API credentials that you get while purchasing the plugin, in this tab.
WooCommerce Table Rate Shipping Pro Settings
The general setting fields are as shown below:
- Enable/Disable: Select Enable/Disable checkbox enable the Shipping Pro method.
- Method Title: Method Title is visible in the Cart/Checkout page under Shipping options. Specify Method Title as required(defined by you).
- Calculation Logic AND Logic: Using this option, the plugin will consider multiple shipping classes and product categories and then calculate shipping rates if products from all the classes are present in the cart.
Simple Shipping Example
Suppose you want to charge $30 for the United States to ship a particular product and $50 for all other countries except the United States for the same product. The Rate Matrix setting is as shown below:
For the address of the United States, the cart is as shown below:
For the address of Canada which is other than the United States, the cart is as shown below:
Rate Matrix Settings
Rate Matrix gives you control over customizing and restricting the rates for shipment. It provides you the flexibility to set shipping rates which are best for your business. The plugin enables you to customize your rates according to any combination of destination(country, state and postal code), product category, the shipping class, price, the number of items, weight, and Method group by defining the rule. You can still offer multiple shipping options to customers. You can also specify the Method title which is visible in cart/checkout if the rates are calculated by using the rule under that method title.
In some business cases, you may wish to add either an additional cost to a base shipping price based on how many items are added or a surcharge based on the weight of the cart. This can be achieved by using the combination of Base cost, cost/unit, and Round fields. The Rate Matrix settings are as shown below:
Here, you need to define the rules to get the shipping rates at cart/checkout. Shipping rate(s) depends on the rules which are defined by you. The rate matrix can include the columns like Method title, Country list, Weight, Rate Based on, Base cost, cost/unit, Round, Method Group, State list, Postal Code, Shipping class, Product Category, Item, and Price. To define your desired criteria(rule) for getting shipping rates, you can add or remove columns by using field Display/Hide matrix columns. All these fields are described in the next section Display/Hide matrix columns setting.
You can add the rule by clicking on Add button which gets you the new row to enter your rule. Otherwise, you can import rule CSV file by clicking on the Import CSV button. PluginHive WooCommerce Table Rate Shipping plugin also allows you to export the CSV file for rules which are present in the Rate Matrix. As per your requirement, you can also remove the undesired rule from rate Matrix. With Duplicate Rule(s) button, you can duplicate the selected row of the matrix and do the changes as per your requirement. You can read the defined rule through the sentence (just above the rule) in plain English.
Note: Currency, Weight, and Dimension Units will be taken the same as your WooCommerce settings.
For more information on how to set the Rate matrix for different Business cases, See WooCommerce Shipping Pro documentations regarding,
- Business Cases Handled by the plugin
- Handling Bundle Rate Shipping
- Shipping Rates specific to an Area (UK)
- Shipping Rate Calculation based on Shipping Classes
- Shipping Rates Calculation based on Weight and Country
- Weight-based shipping simplified using the plugin
This setting decides which columns to show in rate matrix for defining the rule. The setting is as shown below:
The available fields and their description are as given in the below table:
|Method title||Specify the Method title which is visible in cart/checkout if the rates are calculated by using the rule for that method title.|
|Method Group||Groups are used to get more than one shipping options in cart/checkout page. Each Group can return Only one shipping option.|
|Zone list||The Zone list specifies the Zone(s) for which rate applies to. Multiple zones can be present in a single row. Under Method Groups, if you have a rule(s) for few specified zones and want to have the different rule for all other zones than specified, then you can use Rest of the World option.|
|Country list||The country list specifies the country(ies) for which rate applies to. Use Any Country option for all. Multiple countries can be present in a single row. Under Method Groups, if you have a rule(s) for few specified countries and want to have the different rule for all other countries than specified, then you can use Rest of the World option.|
|State list||Destination State(s). Use Any State option for all. Multiple states can be present in a single row. Under Method Groups, if you have a rule(s) for few specified states and want to have the different rule for all other states than specified, then you can use Rest of the Country option.|
|Cities||Destination City(s) name. Enter the name of the city for which you want to calculate the shipping rates. Leave it blank if you want to apply the same rule for all the cities. A single rule will have only one city name assigned to it.|
|Postal code||Destination zips code. Use the wildcard(*) for all or set this to the character you wish the search to start from and wildcard(*). For Example 8*.|
|Shipping class||Shipping Class of the product. Use Any Shipping Class option for all. Multiple shipping classes can be present on a single row. Under Method Groups, if you have a rule(s) for specified shipping classes and want to have the different rule for all other shipping classes than specified, then you can use Rest of the shipping classes option.|
|Product category||Category of the product. Use Any Product category option for all. Multiple product categories can be present in a single row. Under Method groups, if you have a rule(s) for the specified product category(ies) and want to have the different rule for all other product categories than specified, then you can use Rest of the Product Categories option.|
|Weight||Minimum Weight is the lowest weight at which shipping rate applies. Maximum Weight is the highest weight at which this shipping rate applies.
For Example: If Min Weight=0 Kg& Max Weight=5.25 Kg, then accepted Min Weight is greater than 0 Kg and Max Weight is less than or equal to 5.25 Kg.
|Item||Minimum quantity is the lowest number of the item(s) at which the shipping rate applies. Maximum quantity is the highest number of items at which this shipping rate applies.
For Example: If Min number of item=0 & Max number of items=25, then accepted Min number of item(s) is greater than 0 and Max number of items is less than or equal to 25.
|Price||Minimum Price is a starting Price at which shipping rate applies. Maximum Price is an ending price at which this shipping rate applies.
For Example: If Min Price= $0 & Max Price=$100, then accepted Min Price is greater than 0 and Max Price is less than or equal to $100.
|Rate Based on||You can calculate rates based on the weight of the cart items, the number of items in the cart, or the total price of the cart.|
|The base cost||A Fixed cost for the shipping service without the additional charges that may be added, such as handling, duty tax, etc. This is irrespective of the weight of the cart items, the number of Items in the cart or total price of the cart.|
|Cost/unit||Weight: You may wish to add an additional cost based on the weight of the cart items. This can be achieved by selecting the Weight option from Based on the drop-down list. Many carriers introduce rules like this.
For Example: After 5 Kg, let’s charge the 5 Kg price plus $ 1.25 for every Kg over 5 Kg.Item: In some cases, you may wish to add an additional cost to a base shipping price based on a number of items added to the cart. This can be achieved by selecting the Item option from Based on the drop-down list.
For Example: After 25 Item count, let’s charge the price for 25 items plus $ 10 for every item over 25.Price: In some cases, you may also wish to add an additional cost to a base shipping price based on the total price of a cart. This can be achieved by selecting the Price option from Based on the drop-down list.
For Example: After $100 price, let’s charge the price $100 plus $10 for every $50 over $100.
|Round||Rounds the weight or Price to the nearest fraction or whole number which depends on the value entered under this field.
For Example: Let’s take an example with weight.
If the value entered is 0.5 and the order weight is 4.4kg, then the shipping cost will be calculated for 4.5Kg.
If the value entered is 1 and the order weight is 4.4kg, then the shipping cost will be calculated for 5Kg.
If the value entered is 0 and the order weight is 4.4kg, then the shipping cost will be calculated for 4.4Kg.
Calculation Mode & Multiple Rules Matching Criteria Setting
With this setting, you can calculate the shipping cost of the cart as per Item, Order, category, or the shipping class with minimum or maximum price. If you change this setting, then the total shipping cost may get affected.
The setting is as shown below:
The available options and their description are as given in the below table:
|Per Line Item Cost||The total shipping cost gets calculated by first adding up the cost of shipping for every quantity of a product and then for other products, and in the end, the final cost is the cost of shipping for each product with different quantity added together.|
|Per Item Cost||The total shipping cost gets calculated by adding up the cost of shipping
for each item in the cart.
|Per Order Cost||The shipping cost is calculated for the entire cart.|
|Per Category Cost||The total shipping cost gets calculated by adding up the cost of shipping
for each category of the item (s) in the cart.
|Per Shipping Class Cost||The total shipping cost gets calculated by adding up the cost of shipping
for each Shipping Class of the item (s) in the cart.
An example explaining the importance of using correct weight units
Let’s take a real-life example to see why using correct weight units is important for you to calculate and display correct shipping rates.
An online store has single items that will never weigh more than 1kg. There are 8 country/shipping zones and the weight ranges are set as 0-500g and 501g-1kg.
The store owner is planning to sell jewelry subscription packs like a 3-month package with 3 x single postage. Therefore, he has set the weight at 1003 gms for three months, 1006 gms for six months and 1200 gms for 12 months.
When he puts UK as the country in the checkout (zone 6), a message comes up stating there is no shipping method. He has double-checked that the weight is in the product and that the shipping table has 1003 zone 6 UK.
The problem this store owner is facing is because he has used incorrect weight units. So, he first has to check the unit of weight in the WooCommerce settings. If it is set to Kg, then his rules would not work (because it will take in Kg) as he has set 1003 gms in the product.
Also, the set up the following settings in case, there are multiple rules that satisfy the conditions.
- Max: If there are multiple rules matching for a specific item, then the highest rate gets used for calculation.
- Min: If there are multiple rules matching for a specific category, then the lowest rate gets used for calculation
Tax Status Setting
When transporting goods across international borders, shipments are subject to taxes as determined by customs in the destination country. The tax Status setting is as shown below:
The available options are given below:
- None: Select this option, if the tax is not required for the shipment.
- Taxable: Select this option, if you want to add tax with shipping cost.
Remove Free text Setting
By default, WooCommerce shows shipping option ‘(Free)’, if the shipping cost is zero. In some circumstances, you may not want to show this to your customer. To achieve this, select Remove Free Text checkbox. The setting is as shown below:
If you are not getting proper rates( lesser or higher than expected), not getting all the available shipping options, or not getting rates at all, then you enable Debug option to find the error(s) as shown below:
You can also see the warning(s) by WooCommerce Table Rate Shipping Pro plugin. By enabling debug mode, you can trace issue using log. You can see information about debugging at the top of the Cart and Checkout page.
After enabling debug mode, add a product to cart. Go to cart or checkout page to see the debugging information. Click Save Changes to set/update configuration settings.
Import/Export Shipping Rules
Now, for those of you, who require setting up a lot of shipping rules or who require setting up a shipping carrier’s shipping rules on their website, they can do so easily using the Import/Export functionality of this plugin.
- How to handle Multiple Shipping Rules using Table Rate Shipping Pro?
- Set up a bunch of shipping rules that you require and test it whether these rules are giving correct rates on the cart page or not.
- Visit the Import/Export section and click on Export CSV. You will get a CSV file with all the shipping rules that you have configured.
- Now edit and modify the CSV based on your shipping needs.
- Once the CSV is completed, click on Import CSV and import the shipping rules back to the plugin.
- Visit the Shipping Rules tab and you can see all your shipping rules there
Check out our WooCommerce Table Rate Shipping Pro Plugin.