For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hello All,
I am developing a app with the help of shopify remix and Polaris. But i am stuck in how to connect my app with the store front i.e. I want show something on product listing page with the help of my app but i dont know how to connect with the store front. please help me out.
Thanks in advance.
Hi Vikash-Kr-Gh,
There's a couple of options you can use for this. One of the easiest ways to display custom content on a product page might be to use a theme app extension which allows your app to include a component (called an app block) on a specific page, that merchants can interact with via the theme editor. This doc on getting started with theme app extensions will be helpful.
Alternatively you could work with app proxies to fetch and display data on a merchant's store from an external source.
I'd recommend checking out the docs linked and if you have more questions, let us know!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi @Liam,
I'm trying to publish a product to the online store after creating it. I'm trying it using the publishablePublish mutation but after I run this mutation I get the following error: Error: Your app doesn't have a publication for this shop. though when I check the newly created product in the admin panel I can see that it has been published to the online store.
I searched if someone else faced similar issues and found out an accepted answer that suggests: The app needed storefront api access to set the product to Online Store.
Now how can I give storefront api access to my app in this scenario?