Clear cart when specific item added

  • Posts: 9
  • Thank you received: 0
13 years 3 weeks ago #33932

Is there a way to clear the cart when a specific item is added?

Example... I can buy item 1, item 2, or item 3 individually, but if they added "package abc" (which contains item 1,2,3) at a discounted rate then automatically remove item 1,2,3 if they are in the cart.

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13414
  • MODERATOR
13 years 2 weeks ago #33992

There is no option for that.
It's always possible to do it if you know PHP by editing the file "cart" of the view "checkout" via the menu Display->Views and adding some custom code.

Please Log in or Create an account to join the conversation.

Time to create page: 0.050 seconds
Powered by Kunena Forum