Okay
  Public Ticket #3400970
Cart page changes
Closed

Comments

  • kailash started the conversation

    Hi Can this line be removed from cart page ?

    "The products in your cart are sold by multiple different vendor partners. The order will be placed simultaneously with all vendors and you will receive a package from each of them."


    Also can the shipping rates for each product be hidden and only a final total shipping rate of all products be shown in the cart page and also check out page summary ?

    Attaching screenshots for reference.

    Thanks


    Attached files:  Screenshot_2023-06-26_at_7_16_35_PM.png

  •  2,167
    WebWizards replied

    Hi there,


    1) 

    I believe you can remove that message by adding this PHP code snippet to your site:

    global $marketking_public;
    remove_action('woocommerce_before_cart', [$marketking_public,'message_multiple_vendors_cart'], 10);
    

    This code should be added to the functions.php file of the site.


    Or if you are adding it to a code snippet plugin, you would add this code instead:

    add_action('plugins_loaded', function(){
        global $marketking_public;
        remove_action('woocommerce_before_cart', [$marketking_public,'message_multiple_vendors_cart'], 10);
    });
    

    2) Having multiple different shipping displays there (1 for each vendor) is a feature of the plugin's 'Advanced Shipping' module.

    If the shipping cost is a general one, then you can disable this module. To do that, go to MarketKing -> Modules -> and deactivate 'Advanced Shipping'. Only 1 method would then show under the checkout summary.


    Kind regards,

    Stefan