Datafeedr Support Forums

Datafeedr Support Forums (http://www.datafeedr.com/forums/index.php)
-   Tips, Tricks & Tutorials (http://www.datafeedr.com/forums/forumdisplay.php?f=66)
-   -   Filter with custom query? (http://www.datafeedr.com/forums/showthread.php?t=8817)

theast March 17th, 2013 12:15 PM

Filter with custom query?
 
I don't seem to get brand filter and price filter to work when i use custom query, any solution?

Eric March 17th, 2013 12:48 PM

Hi,

Filters can't work with custom queries. When using a custom query, the query string is ignored.

Eric

theast March 17th, 2013 05:05 PM

Okey, so there is no smart solution to filter brands and price if u have custom query? Hmm.. do you think it would be smart to drip all the products and then sort them by tags in wordpress?

Eric March 17th, 2013 05:09 PM

Hi,

That would involve a lot of extra work.

What is your custom query in this case?

And what page (front page, category page, other) are you trying to filter?

Eric

theast March 17th, 2013 05:23 PM

Custom query: compset_status=2

I want to filter my frontpage and category page :)

Eric March 17th, 2013 05:27 PM

Hi,

If you really need the functionality, you could try hardcoding the links to your front page and category pages to have ?compset_status=2 in the URLs.

For example, your Categories widget links could look something like this:

HTML Code:

<a href="[category.link]?compset_status=2" title="[category.name]">[category.name]</a>
That way whenever someone clicks a category link, it will automatically show the "master" product from your comparison sets. Then pagination will work. And also your filters should work.

Eric


All times are GMT -5. The time now is 10:12 PM.

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