Please sign in to comment.
only allow promotions that have the event 'spree.checkout.coupon_code…
…_added' to be added to the cart This prevents potential problems where a promotion may have a code, but may not have the correct event. If the promotion does not have the correct event, then it will not be applied because the 'fire_event' call does not find that promotion and therefore no-ops
- Loading branch information...
Showing with 4 additions and 2 deletions.