Jump to content

Empty Cart When Adding A Specific Product


drchad

Recommended Posts

Hi There,

 

I was wondering if there was a way to display a message and empty the shopping cart when someone is trying to add a specific product?

 

I have membership services that need to be processed with a recurring payment, so they use a specific payment module, while everything else is just a one-time purchase that goes through another payment module.  Therefore if someone wants to buy a membership service I want this to be the only item in the cart.  Ideally if they had other products in the cart and tried to add the membership service it would pop up a message saying that this product can only be purchased alone and then clear the cart if they accept.  

 

Does anyone know if this is possible?

 

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...