HI,
I'm trying to "auto apply" a coupon from links in an email. I can get that to work just fine, but I'd like to display the coupon discount on the prod page.
If i use:
it gives me this:
:active=1
:code=BESTMASK
:custscope=A
:descrip=VIP Sale: 20% Off Selected CPAP Masks!
:dt_end=0
:dt_start=0
:id=90
:max_per=0
:max_use=0
:use_count=411
no discount/price group info...
I pass the coupon code as a query string param, but it would be great if I didn't also have to know the price group ID ahead of time (our coupon setup is pretty complex).
Is there a function I'm missing that can cross-reference coupons with price groups?
any help greatly appreciated,
Paul
I'm trying to "auto apply" a coupon from links in an email. I can get that to work just fine, but I'd like to display the coupon discount on the prod page.
If i use:
Code:
<mvt:assign name="g.discount_applied" value="'BESTMASK'" > <mvt:do file="g.Module_Feature_PGR_DB" name="l.success" value="Coupon_Load_Code(g.discount_applied, l.settings:coupon_used)" >
:active=1
:code=BESTMASK
:custscope=A
:descrip=VIP Sale: 20% Off Selected CPAP Masks!
:dt_end=0
:dt_start=0
:id=90
:max_per=0
:max_use=0
:use_count=411
no discount/price group info...
I pass the coupon code as a query string param, but it would be great if I didn't also have to know the price group ID ahead of time (our coupon setup is pretty complex).
Is there a function I'm missing that can cross-reference coupons with price groups?
any help greatly appreciated,
Paul