October 17, 2021 at 12:11 pm
I think your Cart Notices feature needs an option for a secondary rule that hides the notice if a certain criteria is met.
For instance, set a notice that directs a customer to a special offer or free bonus product if the cart total is over a certain amount. Great.
They add their free product and end up back at the cart, but… the notice is still there.
In my scenario, I’m directing the customer to select a free variable product if their cart total is over a specified amount. The “Enable this to only allow one of this item to be bought in a single order” doesn’t work for variations, so I’m having to figure out some code to prevent the customer going back to the free product page and adding another ‘free’ product. Which is a bit of a pain.
I’ve got a discount rule set to only zero out the cost of one of the free products, so they can’t actually get 2 (or more!) free products, but… would still like the cart notice to go away once something from the free product category is added to the cart.
Del.