Magento Questions Answered By Magento Experts

 

Welcome Guest. Sign in or Signup

2 Answers

Allowing multiple discount codes?

Asked by: 2686 views , , , , , ,
Questions

I’m having some difficulties getting promo codes to work, specifically, codes are removed when a new code is added.

Here’s what I have:

vip10—This code takes 10% off the order total if the cart subtotal is greater than $99.99.  It’s set to priority 0, and stops any further rules from being processed.  This appears to work correctly.

I also have several other codes that take off a fixed dollar amount off the item in the cart.  For example, shirts3 will take $3 off the price of a t-shirt in the shopping cart.  This one is set to priority 1, and does not stop any further rules from being processed.

The problem occurs when the customer tries to apply a valid code to another item in their cart.  In other words, they put a shirt in the cart, apply code shirts3, and receive a $3 discount on the shirt in the cart.  They then add a Super-Widget to their cart, apply the code widget1, and that takes $1 off the price of the Super-Widget, but ALSO removes the discount that was applied when they entered the previous code.

How do I set the priority so that the customer can use multiple coupon codes for different items, but not have the last code entered invalidate the previous code (and then disallow any other codes if they use the vip10 code)?

2 Answers



  1. Magentist on Jan 31, 2011 Reply

    Hi MileHighSkates,

    Unfortunately, I don’t know of a way to do this with a standard Magento installation, but I have found a paid extension you might find useful: Magento Connect: Multiple Coupons

    Magento Themes by Magentist

    0 Votes Thumb up 0 Votes Thumb down 0 Votes



  2. John on Feb 28, 2011 Reply

    I think the problem is not with priority, but with the Conditions and Actions. Use Conditions to make sure that the widget discount applies only if a widget is in the cart, then use Actions and use this feature: “Apply the rule only to cart items matching the following conditions (leave blank for all items)” to apply the discount only to the widget.

    +1 Votes Thumb up 1 Votes Thumb down 0 Votes


Answer Question