Active
Project:
Commerce coupon percentage
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2012 at 07:10 UTC
Updated:
24 Aug 2012 at 10:58 UTC
I'm sure this can be achieved in rules; however, I'm new to rules and still trying to figure this out, so I'd sincerely appreciate any assistance and this might be a possible default rule to include in a future release for others.
We offer percentage coupons, but cap the maximum possible value of the coupon. Can anyone help me with an example rule or some other way to do something similar to:
IF Commerce Coupon Granted amount > Max Value THEN Commerce Coupon Granted amount = Max Value
Where Max Value represents some new field we've created with the maximum dollar value of the coupon?
Comments
Comment #1
j_ten_man commentedI do not believe this is currently possible with this module. I was looking for the same thing but couldn't figure a way out to accomplish it. I wrote a workaround for it, so I'll try to get it posted here.
Comment #2
pcambraThis would be a fairly simple rule to implement on validation event for coupons checking the order total against a given number.
I'll be happy to add this to the module if someone wants to provide a patch.