• Resolved alexliii

    (@alexliii)


    Hello,

    We used the following code to remove Shipping: Vendor Name

    remove_filter( 'woocommerce_get_item_data', 'dokan_product_seller_info', 10 );

    But, it does not work now, could you please update the code?

    By the way, it would be great if there is a native setting to remove Vendor name on cart and checkout page and keep these pages as default, because there are lots of plugin working on cart and checkout to improve conversion, like Google Analystic, custom checkout plugin, various payment gateways.

    Simple is more, and easier for us to track if there is any issue, thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @alexliii

    If you’d like to eliminate split shipping, you can use the code snippet provided below:

    #-- 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' );

    Hope this assists you.

    Thanks!

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @alexliii

    As we haven’t heard back from you for a while, we’ll consider this topic resolved. If you encounter any further issues, please don’t hesitate to open a new topic.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove dokan vendor info or seller name on cart and checkout page’ is closed to new replies.