Personalized checkout and custom promotions with Shopify Scripts
Hello,
I am attempting to create a discount script for multiple yet not all customers: a certain subset of customers in Texas and Oklahoma shall receive 50% off.
Currently, I am accomplishing this with a 50% discount code. However, I want to create a smoother user experience for the customer by having an automatic script discount.
Example:
Could I accomplish this users a customer tag?
I am using the Debut theme.
Thanks,
Solved! Go to the solution
This is an accepted solution.
Hi @NickBartelme, it's great that you are trying to make a smoother experience for your customers. I think adding a tag to Customers 1, 2 and 3 would be a good way to go. Here is how I would propose setting your discount up:
If all goes well, then the following should all happen:
You can learn more about accessing the shipping information in a script here: https://help.shopify.com/en/manual/checkout-settings/script-editor/shopify-scripts#shippingaddress
Let me know if you are having trouble getting it to work. I can provide a script for you.
This is an accepted solution.
Hi @NickBartelme, it's great that you are trying to make a smoother experience for your customers. I think adding a tag to Customers 1, 2 and 3 would be a good way to go. Here is how I would propose setting your discount up:
If all goes well, then the following should all happen:
You can learn more about accessing the shipping information in a script here: https://help.shopify.com/en/manual/checkout-settings/script-editor/shopify-scripts#shippingaddress
Let me know if you are having trouble getting it to work. I can provide a script for you.
We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024