Datafeedr Support Forums

Datafeedr Support Forums (/index.php)
-   Questions (/forumdisplay.php?f=67)
-   -   Brand filter (/showthread.php?t=8885)

thk1976 March 30th, 2013 04:19 AM

Brand filter
 
Hello

When cliking on a brand in the brand filter, you cannot just choose another brand withput going to the mainpage again. Is it possible to set up the brand filter so you can navigate directly to from one brand to another brand - without going to the front page or the categpory main page?

-Thomas

Eric March 30th, 2013 07:32 AM

Hi,

Can you share the URL of the pages you are referring to?

Eric

thk1976 March 30th, 2013 12:21 PM

Store ID: 1727z9pgtyc2oba4
Website URL: http://www.bikiniudsalg.dk/
URL to page in question: http://www.bikiniudsalg.dk/

When i am on the frontpage i would like to go to a directly to the brand when i click on a brand in the brand filter widget

Eric March 30th, 2013 12:35 PM

Hi,

The problem is your brand links are filters, not categories. Filters filter the list of products being displayed. There are no products on your front page therefore there's nothing to filter.

The other problem is that products of those brands exist in many categories. So if you click a brand filter, what category is it supposed to load?

If you want your brand filters to load the search results page, then you should change your links from this:

Code:

<li><a href="[server.url type='fullpage' query='brand=Adidas']">Adidas</a></li>
To this:

Code:

<li><a href="[server.url query='view=search&brand=Adidas']">Adidas</a></li>
Eric

thk1976 March 30th, 2013 01:14 PM

Perfect, just what i was looking for

thk1976 April 23rd, 2013 01:13 PM

Is it possible to make this refer to more brands? for example i would like the adidas link to find products from both adidas and adidas originals

<li><a href="[server.url query='view=search&brand=Adidas']">Adidas</a></li>

Eric April 23rd, 2013 01:23 PM

Hi,

This is not possible.

Eric

thk1976 April 25th, 2013 04:39 PM

Quote:

Originally Posted by Eric (Post 41079)
Hi,

The problem is your brand links are filters, not categories. Filters filter the list of products being displayed. There are no products on your front page therefore there's nothing to filter.

The other problem is that products of those brands exist in many categories. So if you click a brand filter, what category is it supposed to load?

If you want your brand filters to load the search results page, then you should change your links from this:

Code:

<li><a href="[server.url type='fullpage' query='brand=Adidas']">Adidas</a></li>
To this:

Code:

<li><a href="[server.url query='view=search&brand=Adidas']">Adidas</a></li>
Eric

I tried this on my site polo-shirt.dk, but i get an error message when i click the brand links


Store ID: 152qz2a3nfr7e614
Website URL: http://www.polo-shirt.dk/
URL to page in question: http://www.polo-shirt.dk/

Eric April 25th, 2013 05:09 PM

Hi,

For some reason, half of your single quotes are ‘ instead of '.

Try using this code instead:

Code:

<ul>
        <li><a href="[server.url query='view=search&brand=Anerkjendt']">Anerkjendt</a></li>
        <li><a href="[server.url query='view=search&brand=Boss Orange']">Boss orange</a></li>
        <li><a href="[server.url query='view=search&brand=Bjrn Borg']">Bjrn Borg</a></li>
        <li><a href="[server.url query='view=search&brand=Blend']">Blend</a></li>
        <li><a href="[server.url query='view=search&brand=Boss green']">Boss green</a></li>
        <li><a href="[server.url query='view=search&brand=Chunk']">Chunk</a></li>
        <li><a href="[server.url query='view=search&brand=Fred Perry']">Fred Perry</a></li>
        <li><a href="[server.url query='view=search&brand=Gant']">Gant</a></li>
        <li><a href="[server.url query='view=search&brand=Henry Lloyd']">Henry Lloyd</a></li>
        <li><a href="[server.url query='view=search&brand=Jack %26 Jones']">Jack and Jones</a></li>
        <li><a href="[server.url query='view=search&brand=J.Lindeberg']">J.Lindeberg</a></li>
        <li><a href="[server.url query='view=search&brand=Kappa']">Kappa</a></li>
        <li><a href="[server.url query='view=search&brand=Lacoste']">Lacoste</a></li>
        <li><a href="[server.url query='view=search&brand=Lindbergh']">Lindbergh</a></li>
        <li><a href="[server.url query='view=search&brand=Lyle %26 Scott']">Lyle and Scott</a></li>
        <li><a href="[server.url query='view=search&brand=Nike']">Nike</a></li>
        <li><a href="[server.url query='view=search&brand=Peak performance']">Peak Performance</a></li>
        <li><a href="[server.url query='view=search&brand=Original Penguin']">Penguin</a></li>
        <li><a href="[server.url query='view=search&brand=Denim %26 Supply Ralph Lauren']">Ralph Lauren</a></li>
        <li><a href="[server.url query='view=search&brand= Robe di Kappa']"> Robe di Kappa</a></li>
        <li><a href="[server.url query='view=search&brand=Selected']">Selected</a></li>
        <li><a href="[server.url query='view=search&brand=Solid']">Solid</a></li>
        <li><a href="[server.url query='view=search&brand=Storm']">Storm</a></li>
        <li><a href="[server.url query='view=search&brand= Superdry']"> Superdry</a></li>
        <li><a href="[server.url query='view=search&brand=Tiger of Sweden']">Tiger of Sweden</a></li>
        <li><a href="[server.url query='view=search&brand=Tommy Hilfiger']">Tommy Hilfiger</a></li>
</ul>

Eric


All times are GMT -5. The time now is 01:16 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.