May 14, 2012
related products by custom property This post is outdated
Hi All,
I've been trying to figure out another way to add related products besides the methods described here: http://wiki.shopify.com/Related_Products.
I thought of creating a new property of the product called "family" and use that property to call out products that have the same "family".
Does anyone know how I could implement this into my shop? I am currently using Caroline's lovely solution of using collections, but I need to be more specific than that.
Any help would be much appreciated.
Posts:
Use Metafields. You can do whatever you want with those. Namespace your connection between products family. Works like a charm.
Posts:
Thanks HunkyBill!
I added Caroline's snippet and now I need to figure out how metafields work. I foresee confusion and questions for me up ahead...
Posts:
ok, yes, i'm very confused.
I made the namespace family in the metafield.
now, if i want all the products that have the same family name (such as flora-fauna) what would i use for Key and Value? I've defined a new product property (like size) as "family" in each product.
do i use value= flora-fauna?
and what do i make the key as?
Sorry. I'm terrible at this. your help is greatly appreciated.