Personalized checkout and custom promotions with Shopify Scripts
So I am working on a store that is using Bold options and custom liquid properties for some pretty advanced customizations. They are looking to add a specific discount to products that are left unmodified.
So for example.
I have product A which has a cost of $100, and it has a custom property that allows the user to change the default color ( Not variant but using the properties liquid objects ).
If the property of said product is left unmodified ( or its value is set to "no" ) then the discount code would be applied to the cart for that product, if the property is modified then the discount could obviously not be added.
Now, assuming they add (3) of this product, and (1) is left unmodified then the discount would only be added once.
I've seen some people do some FE JS work and check the cart drawer and add the discount upon cart updating by checking the cart items in the front end, but is that a proper method, or can Shopify Scripts / Functions product be a better approach?
User | RANK |
---|---|
4 | |
2 | |
2 | |
1 | |
1 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023