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.

Access template data within another template?

Access template data within another template?

yz
Shopify Partner
1 0 0

For the collection pages client wants to be able to select which products to display (plus set some additional stuff per product). He wants to do it in customizer. Well, this can be implemented but the problem is that in collections navigation menu i need to show the number of products in collection. And since displayed products are manually picked the data in collection object will be incorrect. Is there a way i can access data stored in json templates for other collections? Or any advice how this can be implemented other way?

Reply 1 (1)

ProtoMan44
Shopify Partner
746 60 114

@yz thanks for posting here.
for additional stuff use product metafields and use tag condition to hide show products with collection.

- A thirsty developer passionate about supporting the community. If you'd like to, you can  

Buy me a Coffee.


- Your Shopify Solution Specialist Get a Quote at

ProtoMan44

 - 

Chat On Whatsapp


Crafting exceptional e-commerce experiences to elevate your online presence. Let's build your success story together!