Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How can i add wishlist icon in collection on the home page. using theme extension.

How can i add wishlist icon in collection on the home page. using theme extension.

KulBoy
Shopify Partner
4 0 0

I am fresher, I  building an app. where I want to add the wishlist icon in collection on home page. But i am not able to access it through theme extension and Vs code. Can any one please guide me how to do it.

Replies 3 (3)

Liam
Community Manager
3108 344 911

Hi KulBoy,

 

If I'm understanding correctly, you've created a theme app extension that should add a wishlist icon to a featured collection section on the home page? You should have an app block as part of your theme app extension (see an example here) and you can use the `enabled_on` attribute to limit the app block to specific templates (eg: the `index` template for the home page). Once it's set up correctly, the merchant should see an option in the theme editor to add the app block containing the wishlist icon to any section on the home page. 

 

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

shaunak
Shopify Partner
3 0 2

We wanted to add this feature via an app embed block. Furthermore we want to add this feature on top of every product on the feature collection section as well as the recommended section under the product page. We want to add the functionality to add that item to the database so we also need the product_id. So please guide us on achieving these specific actions.

KulBoy
Shopify Partner
4 0 0

Hey Liam, any updates on the query asked by Shaunak_brad. My question is also the same.