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
  #1  
Old January 20th, 2012, 07:18 AM
Giftoly Giftoly is offline
 
Join Date: Dec 2011
Posts: 52
Default 'Remove Price filter' like brand filter

Good Afternoon,

I have just been searching to find a solution for the below but cannot quite see a solution.

I have the following brand filter in place

Code:
<ul>
<?php if (@$_GET['brand']) { ?>

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

<?php } else { ?>

  <li><a href="[server.url type='fullpage' query='brand=Pandora']">Pandora</a></li>
  <li>More coming soon</li>

<?php } ?>
</ul>
but I wondered how I could do the same for the price range and retain the Remove x filter.

I currently have

Code:
<ul>
  <li><a href="[server.url type='fullpage' query='price=-10']">Less than 10</a></li>
  <li><a href="[server.url type='fullpage' query='price=10-20']">10 ~ 20</a></li>
 
<ul>
and wondered if I could copy the section
Code:
<?php if (@$_GET['brand']) { ?>

  <li><a href="[server.url type='fullpage' query='-brand']">[X] Remove brand filter</a></li>
and just replace the two references to brand with price but it didn't work.

Many thanks for your help
__________________
Many thanks

John
www.giftoly.co.uk
  #2  
Old January 20th, 2012, 10:48 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Here is the code for the price filter: http://www.datafeedr.com/forums/show...7625#post17625
 


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
Sort filter: brand? extrazin Questions 1 December 16th, 2011 08:30 AM
problems with brand filter meinehandtasche Questions 2 November 11th, 2011 09:41 AM
Allowing a visitor to undo the brand and price filter jdrom Questions 4 July 4th, 2011 09:08 AM
Brand Filter problem macfink Problems 2 May 6th, 2011 11:28 AM
Brand filter? sylviathewitch Problems 3 March 8th, 2011 08:43 AM


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


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