Andreas
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Dear @plywood9487 thank you for your input. We solved it at the end with this code
#-- Remove Split Shipping | Dokan Pro --# function dokan_pro_remove_split_shipping() { remove_filter( 'woocommerce_cart_shipping_packages', 'dokan_custom_split_shipping_packages' ); remove_filter( 'woocommerce_shipping_package_name', 'dokan_change_shipping_pack_name'); remove_action( 'woocommerce_checkout_create_order_shipping_item', 'dokan_add_shipping_pack_meta'); } add_action( 'init', 'dokan_pro_remove_split_shipping' );Just noticed that these hooks are only set in the Dokan-Lite Version (backported from the PRO)Aslong we use the PRO Version these hooks can’t be removed this way, as they were never set. What is the way to disable split-shipping in Dokan Pro? Btw it works for Dokan-Lite on our side well (if we disable the PRO plug in)
- This reply was modified 2 years, 4 months ago by Andreas.
Hi @mobin210385
Tried on Dokan Pro v3.9.8 in Code Snippets. Nothing happens.
We still are getting multiple shipping fees (one per vendor) instead of one of woo.Does this method still exist: dokan_remove_hook_for_anonymous_class ?
thanks!
Viewing 3 replies - 1 through 3 (of 3 total)