drchad Posted October 28, 2013 Share Posted October 28, 2013 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 More sharing options...
math_php Posted October 29, 2013 Share Posted October 29, 2013 Hi It is possible for sure, you can make an override of the CartController to do this. A module will be fine to choose wich 'product' is the subscription. Regards Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now