WooCommerce provides a facility to add custom shipping methods by wrapper function `woocommerce_register_shipping_method`. You can add your custom shipping method as many as you want to add. It accepts a class name or a class object.
WooCommerce provides a facility to add custom shipping methods by wrapper function `woocommerce_register_shipping_method`. You can add your custom shipping method as many as you want to add. It accepts a class name or a class object.
Where do I have to add this code to be able to create more shipping methods?
Does it work with Woocommerce 2.6+ ?
Hi Eric,
Can you try this plugin I have made for the same feature? https://github.com/mehulkaklotar/woo-dynamic-shipping
After Installing, Go to Settings -> WooCommerce Dynamic Shipping