d
Topic
benjy Member
Posts:
13
January 13, 2010

User-based product filtering? This post is outdated

As an example, let's say I sell shirts. If a shopper comes to my store from a specific incoming link (a partner, for example), I only want them to see red items. If I have polo shirts that come in a bunch of colors (as variants), I want this subset of shoppers to only see red as an option.

Is there a way to accomplish this?

thanks,
benjy
:: benjy dot rose at gmail dot com

i
Replies
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
January 13, 2010

There is no simple way to pull this one off. You could set up new product sets perhaps and have the link hit another server with an app that can direct the relayed traffic based on the incoming link, but this is no short order.

http://shopifyplus.com ::: http://twitter.com/bacchus
benjy Member
Posts:
13
January 14, 2010

Right...I am, of course, trying to avoid having to have, essentially, two stores.  I wonder if a variable can be set based on referrer, and then where the Product page shows the variants, there can be some if-then logic to filter out the unwanted variants.

Or, have the specific visitors be sent to a landing page where a variable is set...

Hmmm...

-benjy

Posts:
5840
January 14, 2010

Right...I am, of course, trying to avoid having to have, essentially, two stores.  I wonder if a variable can be set based on referrer, and then where the Product page shows the variants, there can be some if-then logic to filter out the unwanted variants

With JavaScript, yes. You would hide / show with CSS the appropriate variants based on your own JavaScript logic. You can read the full URL with JavaScript. But don't take my word for it, try it first. Try and read the URL, do some tests.

With Liquid you cannot do this. You cannot read on the product page any referral parameter you chose to have appended to the URL.

 

Caroline from http://11heavens.com ∴ mllegeorgesand AT gmail DOT com