Is There Any Way To Add App-Block Or App-Embed-Blocks to show labels or badge against products?

abinbenny
Shopify Partner
6 0 0

I want to show labels or badges against products based on mapping during the time of app installation using App-Block Or App-Embed-Blocks.Also, I want to enable this , when theme changes using App-Block Or App-Embed-Blocks.How it is possible.Is there any code snippets to implement this?All suggestions are acceptable

Reply 1 (1)
Liam
Shopify Staff
Shopify Staff
1864 195 572

Hi Abinbenny,

 

This type of an app where badges or labels are added to products should be possible to create with theme app extensions. We don't have a specific tutorial for this use-case, but you could explore this sample app repo which adds reviews to product pages as a model for how your app could be implemented. 

 

Hope this helps,

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