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
Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023