qufaquick
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
solved
this code is work for me :
#-- Remove Split Shipping | Dokan Lite --# 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( 'init', 'dokan_lite_remove_split_shipping' );
this code works well :
#-- Remove Split Shipping | Dokan Lite --# 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( 'init', 'dokan_lite_remove_split_shipping' );
not working for me too
i have same problem like you but noting no solution
Viewing 5 replies - 1 through 5 (of 5 total)