Created
May 13, 2022 03:42
-
-
Save J-H-Mojumder/72b70dc02394a141c54df2c38c86cc9f to your computer and use it in GitHub Desktop.
Show only one shipping fee in case of multivendor checkout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Show only one shipping fee in case of multivendor checkout | |
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');` | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment