sm3004 Posted February 9, 2010 Share Posted February 9, 2010 Hi,I have a problem with a voucher and cannot find any solution in the forums.How do I make a voucher that is cumulative with other vouchers but not with itself?Currently I have a voucher that gives 10% off to everyone, but if I enter cumulative with other vouchers, then I can enter the voucher code over and over again and it keeps taking an additional 10% off.Please help. Link to comment Share on other sites More sharing options...
abaveeMike Posted February 9, 2010 Share Posted February 9, 2010 You could set "Quantity per each user" to 1 Link to comment Share on other sites More sharing options...
sm3004 Posted February 9, 2010 Author Share Posted February 9, 2010 This will only allow the user to use the code once and never again, or is that a wrong assumption???I need them to be able to use it once per order but they can order 30 times and for every one of those orders, they can use the discount. Link to comment Share on other sites More sharing options...
abaveeMike Posted February 9, 2010 Share Posted February 9, 2010 You are correct in that it would only allow the customer to use the voucher once. As far as I can tell there is no way to do what you are needing out of the box Link to comment Share on other sites More sharing options...
sm3004 Posted February 9, 2010 Author Share Posted February 9, 2010 That's very weird, no one ever thought of this? Link to comment Share on other sites More sharing options...
sm3004 Posted February 10, 2010 Author Share Posted February 10, 2010 I hear crickets Link to comment Share on other sites More sharing options...
Peha Posted May 5, 2010 Share Posted May 5, 2010 i have the same problem.have you made a feature request ? Link to comment Share on other sites More sharing options...
Peha Posted May 5, 2010 Share Posted May 5, 2010 in classes/Cart.phpl:816 foreach ($discounts as $discount) if (!$discount['cumulable']){ return Tools::displayError('previous voucher added isn\'t cumulative with other discounts'); } else { if($discountObj->name == $discount['name']){ return Tools::displayError('you cannot use this voucher anymore (usage limit attained)'); } } it compare voucher's name with vouchers already registred and if it's the same it return an error. Link to comment Share on other sites More sharing options...
moony1234 Posted February 28, 2011 Share Posted February 28, 2011 hi the above code no longer works can anyone help? 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