App reviews, troubleshooting, and recommendations
I am trying to figure out how to pass data between database apps to theme app extensions. In backend, Merchant can create, edit and delete data and it will update database. How can I pass data from Database to Theme App Extension to update latest data to display on Online Store?
Thank You Very Much!
Solved! Go to the solution
This is an accepted solution.
Hello @AndyHung,
Greetings from the Store Watchers Support Team! Happy to help you today.
You may also use the proxy to make API calls if the Shopify Partner has enabled app proxy for you. Suppose you set apps/testapp as your proxy, for instance. You can use this proxy to make API calls to the server, such as /apps/testapp/api/getdata.
Please don't hesitate to reach out if you require further assistance.
This is an accepted solution.
Hello @AndyHung,
Greetings from the Store Watchers Support Team! Happy to help you today.
You may also use the proxy to make API calls if the Shopify Partner has enabled app proxy for you. Suppose you set apps/testapp as your proxy, for instance. You can use this proxy to make API calls to the server, such as /apps/testapp/api/getdata.
Please don't hesitate to reach out if you require further assistance.
Hello @StoreWatchers ,
Thank you for your solution. I think I can use this solution "One of the best ways is to save data in DB as well as Shopify metafield and get value in app extension using liquid." (because I think I only get data from database, don't need send from front-end to server).
But what can I save Shopify metafield in multiple products/collections by GraphQl?
Glad to know it helped you find a solution.
Hello @AndyHung,
You can save any relevant data in Shopify metafield. You can save related product data, product review data, part numbers anything like that for each product/collection.
On the shop metafield, you can save settings like the app is enabled/disabled.
You can read in detail about data type info of Shopify metafield here https://shopify.dev/apps/metafields/types#supported-types.
Regards,
Store Watchers Support Team
Hi @StoreWatchers ,
Thank you very much for your support.
Sorry, my second question is not clear. I tried to find solution: how to bulk update metafield with multiple products by graphQL instead of updating metafield each product by using mutation MetafieldsSet and variables 'ownerId' is productID.
How can I do that? Please help me this problem. Thank you so much.
How can I save data in Shopify metafield?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024