Personalized checkout and custom promotions with Shopify Scripts
Hello, I've a simple question - how Shopify Scripts affects Storefront API? In which API queries does it update prices?
I've published a new Shopify Script in Script Editor but I don't see it updates anything in API response. Neither in product queries nor in new cart API queries...
Was the Shopify Script published for the Storefront API? You need to specifically set it to work there and will be online storefront only by default.
@matt_mortek Were you able to solve this?
I have several clients where scripts are not working out our storefront app even after being enabled.
We are using the storefront graphql API to create / update carts and checkouts, but never see the scripts run
We're having the same issue. Unable to get the scripts to run on the storefront graphql. Any ideas?
I have the same issue. My apps cart not assign scripts. but web store has correct doing on a cart with scripts. The setting has Online Store and Storefront API.
I reached out to support on this. They pretty much said that scripts don't run on the storefront API outside of the online storefront.
Seems to contradict their documentation (but admittedly the docs aren't super clear).
It's sad b/c it leaves our clients in a hard position.
I just tried out the following:
So yea like mentioned here in the Manage a cart with the Storefront API limitations : "Scripts aren't currently supported in a cart, but they're still applied at checkout."
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