Dokan plugin adding the Shipping fee to each item of cart & checkout
-
On a previous forum topic here this workaround to disable dokan lite shipping fee to each item was said to work but I cannot ge this to work on my current version of dokan 3.9.3. Is there something I am missing?
function dokan_lite_remove_split_shipping() { dokan_remove_hook_for_anonymous_class( 'woocommerce_cart_shipping_packages', 'WeDevs\Dokan\Shipping\Hooks', 'split_shipping_packages', 10 ); dokan_remove_hook_for_anonymous_class( 'woocommerce_checkout_create_order_shipping_item', 'WeDevs\Dokan\Shipping\Hooks', 'add_shipping_pack_meta', 10 ); dokan_remove_hook_for_anonymous_class( 'woocommerce_shipping_package_name', 'WeDevs\Dokan\Shipping\Hooks', 'change_shipping_pack_name', 10 ); } add_action( 'wp_head', 'dokan_lite_remove_split_shipping' );
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Dokan plugin adding the Shipping fee to each item of cart & checkout’ is closed to new replies.