Amazing video! I hope to see more content about shopify functions in the future since there isn't much content out there regarding this way of developing extensions 👌
Great tutorial - thanks for sharing! I would love to see a tutorial with a Discount function based on Customer Tags. (if a customer is tagged "VIP" they get a product at $XXX) Cheers!
A never mind. Just read that the Cart Transform API is only available to Shopify Plus stores. I get they want businesses to upgrade to Plus, but it's frustrating to get limited capabilities if you're not on the Plus plan. I wish they enabled everything and set pricing tiers based on yearly revenues. Then smaller stores could grow quickly and become bigger stores. A win-win for both the store and Shopify.
I have a question though, if you would want to create the metafield definition right when the user installs your app, how would you do it? I was thinking with a webhook from the admin embed but that would require us to have an admin dashboard only for this feature to work. Can you think of other way to achieving it without the need of creating a dashboard?
Tried creating a Product metafield but how does that target the cart and merchandise? There's no such mutation and not related field in query... Please help with it... or you can share your app link if that works! TIA
The metafield namespace & key need to match what you put in your run.graphql file. In the video, I set up the metafield with the namespace of "quantity_limits" and key of "limit". Then in my run.graphql file where I'm grabbing the metafield, I specified that same namespace and key. There's nothing else you need to do with the API or anywhere else in the app to get those values, they are just linked through the namespace & key. I have a gist up here where you can see how I set up my run.graphql to grab the correct metafield: gist.github.com/RAAbbott/47070a0a47cf8c97b713dbdea3ebe11d
Amazing video! I hope to see more content about shopify functions in the future since there isn't much content out there regarding this way of developing extensions 👌
Finally, a Shopify video after a long wait. Thank you!
Great video, probably next video could be about checkout ?
Great tutorial - thanks for sharing! I would love to see a tutorial with a Discount function based on Customer Tags. (if a customer is tagged "VIP" they get a product at $XXX) Cheers!
A never mind. Just read that the Cart Transform API is only available to Shopify Plus stores. I get they want businesses to upgrade to Plus, but it's frustrating to get limited capabilities if you're not on the Plus plan. I wish they enabled everything and set pricing tiers based on yearly revenues. Then smaller stores could grow quickly and become bigger stores. A win-win for both the store and Shopify.
Amazing tutorial 🎉 Is it possible to get customer order history? so I want to say "per day user can only but this product 2 quantity only"
I have a question though, if you would want to create the metafield definition right when the user installs your app, how would you do it? I was thinking with a webhook from the admin embed but that would require us to have an admin dashboard only for this feature to work. Can you think of other way to achieving it without the need of creating a dashboard?
Tried creating a Product metafield but how does that target the cart and merchandise? There's no such mutation and not related field in query... Please help with it... or you can share your app link if that works! TIA
The metafield namespace & key need to match what you put in your run.graphql file. In the video, I set up the metafield with the namespace of "quantity_limits" and key of "limit". Then in my run.graphql file where I'm grabbing the metafield, I specified that same namespace and key. There's nothing else you need to do with the API or anywhere else in the app to get those values, they are just linked through the namespace & key. I have a gist up here where you can see how I set up my run.graphql to grab the correct metafield: gist.github.com/RAAbbott/47070a0a47cf8c97b713dbdea3ebe11d
@@devwithalex Thanks mate. It worked!