d
Topic
rony Member
Posts:
40
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.

i
Replies
Posts:
2742
May 14, 2012

Use Metafields. You can do whatever you want with those. Namespace your connection between products family. Works like a charm.

Specializing in Custom Shopify Apps hunkybill@gmail.com http://www.resistorsoftware.com
rony Member
Posts:
40
May 14, 2012

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...

rony Member
Posts:
40
May 14, 2012

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.

Log in or sign up for an account to reply.

f
Your Reply