Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old March 18th, 2012, 04:07 AM
quitjob quitjob is offline
 
Join Date: Oct 2011
Posts: 14
Default Price filter

133ezfhl26un3r8w
childinchic.com

Hello, I'm trying to add a price filter to a wp theme widget. I've used this code in factory:
Code:
<ul>
<?php if (@$_GET['price']) { ?>

  <li><a href="[server.url type='fullpage' query='-price']">[X] Remove price filter</a></li>

<?php } else { ?>

  <li><a href="[server.url type='fullpage' query='price=-20']">Less than 20</a></li>
  <li><a href="[server.url type='fullpage' query='price=20-50']">20 ~ 50</a></li>
  <li><a href="[server.url type='fullpage' query='price=50-100']">50 ~ 100</a></li>
  <li><a href="[server.url type='fullpage' query='price=150-300']">150 ~ 300</a></li>
  <li><a href="[server.url type='fullpage' query='price=300-550']">300 ~ 550</a></li>
  <li><a href="[server.url type='fullpage' query='price=550-700']">550 ~ 700</a></li>
  <li><a href="[server.url type='fullpage' query='price=700-950']">700 ~ 950</a></li>
  <li><a href="[server.url type='fullpage' query='price=950-1200']">950 ~ 1200</a></li>
  <li><a href="[server.url type='fullpage' query='price=1200-1500']">1200 ~ 1500</a></li>
  <li><a href="[server.url type='fullpage' query='price=1500-']">More than 1500</a></li>

<?php } ?>
</ul>
the widget is placed an all pages.

Inside the shop i.e /store... everything works well but outside the shop filter does not work.

How to make it work from index page also?

Thank you.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Price, merchant, brand auto filter Giftoly Questions 4 January 25th, 2012 03:57 PM
'Remove Price filter' like brand filter Giftoly Questions 1 January 20th, 2012 10:48 AM
Price Filter Not Working bredies Problems 1 May 29th, 2011 12:18 AM
Price filter only works on sidebar vonspurter Problems 7 April 22nd, 2011 04:14 AM


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


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