Public Ticket #3400970

Cart page changes

Closed
Comments
2 Tickets
kailash started the conversation 3 years ago on June 26, 2023 at 1:50pm

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


2,762
KingsPlugins replied 3 years ago on June 26, 2023 at 5:16pm

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

Sign In