Disable shipping message when specific product is in cart

#1

Hi!
I will try to explain this the best I can.

I have a plugin called Weight Based Plugin which allows me to display a message at checkout if the cart exceeds a certain weight limit.

But I want to disable that message if a specific product is in the cart.

Is there any way I could make that happen?

Thanks in advance,

Krisj

#2

Anything is possible.

The most general purpose solution would be if you can add ‘attribute’ values to the product information. You would add an ‘ignore weight’ attribute to the appropriate product definitions. In the weight based plugin, you would retrieve the product attributes (which it may be doing already) and ignore the product weight when adding up the individual product weights.

1 Like
#3

I will explore this tonight. Thank you!

#4

I solved it by marking the product as a virtual product… So simple :+1::slightly_smiling_face: