Discounts Custom Expression
I'm trying to add a discount on the shopping cart page for customers who are members of a certain association. If they belong to the group, I want to give them $5 off their first purchase.
I have put a radio group with "yes" and "No" for choices. I want a custom expression that will give the discount if the customer says "Yes." (proof might be a memberID)
Can anyone help me design a custom expression in eCart discounts that will work.
Here is the code for my radio buttons:
<label>
<input name="green_alliance" type="radio" id="green_alliance_0" value="yes" />
Yes</label>
<label>
<input name="green_alliance" type="radio" id="green_alliance_1" value="no" checked="checked" />
No</label>
Thanks