Hello everyone,
I need to trigger an automatic discount at checkout based on ship country. I have the Emporium Plus Toolkit, and I know I can do this exact thing, but I don't know the code for it. I tried using an if statement but it will not recognize the restriction. We are giving 25% off the basket subtotal for international orders outside of the US and Canada. Here is the code I tried:
I really wish the built in discounts module offered country restriction like my old modules used to.
Thanks so much,
Beth Shaffer
I need to trigger an automatic discount at checkout based on ship country. I have the Emporium Plus Toolkit, and I know I can do this exact thing, but I don't know the code for it. I tried using an if statement but it will not recognize the restriction. We are giving 25% off the basket subtotal for international orders outside of the US and Canada. Here is the code I tried:
Code:
<mvt:if expr="g.Basket:ship_cntry NE 'US' AND g.Basket:ship_cntry NE 'CA'"> <mvt:item name="toolkit" param="discount|'International Discount 25%'|'25%'|0|" /> </mvt:if>
Thanks so much,
Beth Shaffer
Comment