Most-Used Shopify script conditions
Shopify Scripts are small pieces of code that let you create personalized experiences for your customers in their cart and at checkout. learn more
run only code applied
1 | if Input.cart.discount_code != nil and Input.cart.discount_code.code == "Your code" |
customer is not empty and email contains target domain
1 | TARGET_DOMAIN = 'companydomain.com' |