Personalized checkout and custom promotions with Shopify Scripts
Hi All,
I have seen this questioned asked back in 2018 but had no replies (https://community.shopify.com/c/Script-Editor/Possible-Bug-with-Price-Rules-Discount-Codes-and-Scrip...)
I am trying to use this example to be able to get a solution for my problem: https://help.shopify.com/en/manual/checkout-settings/script-editor/examples/shipping-scripts#discoun...
Long story Short, I have created a bunch of price rules that use the Batch.json API to assign multiple discount codes to this price rule.
When in script editor, i get an error that the code cannot be found. Like the first link suggests, script editor is only looking at the name of the price rule to get the discount and not the discounts within the price rule.
Does anyone have a potential solution for this?
Thanks,
Sam
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024