How to update shipping cost in cart dynamically (ajax) based on a custom field in WooCommerce

WooCommerce by default offers only a few basic options to decide the way shipping cost is calculated. In lot of cases these options may not be sufficient and you may require to create additional checkout fields based on which shipping cost calculations are to be done Here are a few scenarios Distance based shipping costs. In […]
Read More

How to add custom checkout fields to WooCommerce order

Follow below steps to add custom checkout fields to WooCommerce. Scenario: We want to create a new address field named as territory. It will be a drop down field and will be used to decide the shipping cost. Create the new field/s on the checkout page [crayon-594eb4a0af482790193898/] To create a similar field in shipping address, $fields […]
Read More