Collection - Product metafieds association

1 0 0


I'm building a marketplace and ran into a problem. How to associate a set of metafields for a product with a specific product collection in order to avoid chaos both in the admin panel and in the choice of filtering on the site?


 Collection: Lamps
 Metafields for this collection products:
  - ...specifications.lightFlux;



 Collection: Chandeliers

 Metafields for this collection products:
  - ...specifications.height;

  - ...specifications.width;



Perhaps someone has already done something similar. I would be very grateful for any tips.

Reply 1 (1)

Shopify Partner
4 0 0

I am sorry. I don't completely understand your question. 


Are you looking to have all Chandeliers have the same data and all lamps to have other data? If so, I may have a solution if this isn't solved already. Let me know.