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
495 43 80

@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!