shopify-api-node

Reading product metafields through Shopify ScriptTag API

百般思念 提交于 2020-08-10 19:11:28
问题 I'm building a Shopify embedded application with two main points of functionality: Upon install, product meta fields are populated with some values Upon page load, a custom script is injected into product page through shopify ScriptTag api The injected script displays some icon alongside the values from product meta fields. Currently, from the product page, the injected script is having to request the meta fields from my local server, which then queries the clients shopify for before sending

Reading product metafields through Shopify ScriptTag API

北慕城南 提交于 2020-08-10 19:10:08
问题 I'm building a Shopify embedded application with two main points of functionality: Upon install, product meta fields are populated with some values Upon page load, a custom script is injected into product page through shopify ScriptTag api The injected script displays some icon alongside the values from product meta fields. Currently, from the product page, the injected script is having to request the meta fields from my local server, which then queries the clients shopify for before sending