Setup and Configuration
To set up your store with Shipping Fees Calculator for ACS Courier:
- Go to: WooCommerce > Settings > Shipping > ACS Shipping Fees.
- Tick the checkbox to Enable.
- Enter Method Title that would be displayed on checkout.
- Enter shipping costs for all areas that are enabled (Please for areas that are enabled don’t leave shipping cost fields empty)
- Save changes.
Recommended Settings for Autocomplete Address
It is recommended to install & activate a plugin to autocomplete your address on checkout.
In the plugin’s setting page, you can find an admin notice to install the recommended autocomplete plugin.
- Download the recommended plugin from the admin notice or someone of your choice.
- Insert the Google api key. Instructions how to get, HERE. Includes $300 free credits per month.
- Add this line code
define('ACS_CHECKOUT_ADDRESS_AUTOFILL_FOR_WOOCOMMERCE_EXTRA_SETTINGS', true);
in your wp-config.php to enable our recommended extra settings.
(Extra settings refer to make inactive address 1, required the autocomplete field and non-required the address 1 and city fields)
Add a new zone to the accepted zones
It is possible to add a shipping zone that there isn’t in plugin’s settings yet.
With filter ACS_register_extra_zones.
Each 1st level value of the array is an array. Each nested array is an array of the zone or country and its attributes (zone_code, zone_name, fixed_cost_weight_point, additional_cost_weight_periodical_point).
Usage
After the store owner sets the plugin settings, the plugin will be able to calculate the shipping fees for customer’s destination shipments.
The plugin’s shipping method doesn’t appear on checkout, until customer fill in the destination country to these that plugin accepts.
If customer fill in an accepted country, the plugin’s shipping method appears in the shipping method list with the shipping cost to this destination.
An autocomplete plugin is recommended to help customer fill in exactly the destination details (address_1, city, postcode)
Troubleshooting
For shipping countries/zones that are enabled, don’t leave shipping cost fields empty, may cause an error.
FAQs
Can I change the final shipping cost with code?
Yes, with ACS_shipping_cost filter.
Is it possible to delete all plugin’s settings upon uninstallation?
Yes, just put the line code
define(‘ACS_SHIPPING_FEES_COMPLETELY_UNINSTALL’, true);
in your wp-config.php and deactivate & delete the plugin from plugins’ page.
This will delete the table woocommerce_acs_inaccessible_areas from the DB and the corresponding options from the options’ table.
Does this plugin support Cash on Delivery fees calculation?
Not yet. This plugin is a plugin for calculation shipping costs. Cash on Delivery is a payment method, not a shipping method.
But in the future, this feature may be implemented…