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 April 1st, 2013, 11:28 AM
thk1976 thk1976 is offline
 
Join Date: May 2012
Posts: 232
Default Advanced search widget - sale price

Is it possible to make the pricefilter use the sale price -if any - in the advanced search widget?
  #2  
Old April 1st, 2013, 11:33 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Yes, just change price to sprice in the code.

Eric
  #3  
Old April 1st, 2013, 01:13 PM
thk1976 thk1976 is offline
 
Join Date: May 2012
Posts: 232
Default

Store ID: 18c5zqofa4w902li
Website URL: http://www.trendgirls.dk/
URL to page in question: http://www.trendgirls.dk/

Hi Eric, I have changed price to sprice, but i does'nt seem to work. -Thomas


<p class="sprice">
<label for="sprice">Pris</label> [search.selectprice options='Alle, DKK 0 - DKK 100, DKK 100 - DKK 300, DKK 300 - DKK 500, DKK 500 - DKK 700, DKK 700 - DKK 1000, DKK 1000 - DKK 1500, DKK 1500 - DKK 2000, Over DKK 2000(2000+)']
</p>
<p>[search.submit title='Sg!']</p>
</div>
  #4  
Old April 1st, 2013, 01:22 PM
thk1976 thk1976 is offline
 
Join Date: May 2012
Posts: 232
Default

Store ID: 18c5zqofa4w902li
Website URL: http://www.trendgirls.dk/
URL to page in question: http://www.trendgirls.dk/

Hi Eric, I have changed price to sprice, but i does'nt seem to work. -Thomas


<p class="sprice">
<label for="sprice">Pris</label> [search.selectprice options='Alle, DKK 0 - DKK 100, DKK 100 - DKK 300, DKK 300 - DKK 500, DKK 500 - DKK 700, DKK 700 - DKK 1000, DKK 1000 - DKK 1500, DKK 1500 - DKK 2000, Over DKK 2000(2000+)']
</p>
<p>[search.submit title='Sg!']</p>
</div>
  #5  
Old April 1st, 2013, 02:14 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Try replacing this:
HTML Code:
<p class="sprice">
<label for="sprice">Pris</label> [search.selectprice options='Alle, DKK 0 - DKK 100, DKK 100 - DKK 300, DKK 300 - DKK 500, DKK 500 - DKK 700, DKK 700 - DKK 1000, DKK 1000 - DKK 1500, DKK 1500 - DKK 2000, Over DKK 2000(2000+)']
</p>
With this:
HTML Code:
<p class="sprice">
	<label for="sprice">Pris</label>
	<select name="sprice">
		<option value="">Alle</option>
		<option value="0-100">DKK 0 - DKK 100</option>
		<option value="100-300">DKK 100 - DKK 300</option>
		<option value="300-500">DKK 300 - DKK 500</option>
		<option value="500-700">DKK 500 - DKK 700</option>
		<option value="700-1000">DKK 700 - DKK 1000</option>
		<option value="1000-1500">DKK 1000 - DKK 1500</option>
		<option value="1500-2000">DKK 1500 - DKK 2000</option>
		<option value="2000-">DKK 2,000+</option>
	</select>
</p>
Eric
  #6  
Old April 1st, 2013, 02:48 PM
thk1976 thk1976 is offline
 
Join Date: May 2012
Posts: 232
Default

Thanks, that worked out, is it possible to make the "sort price low to high" work on the searches?
  #7  
Old April 1st, 2013, 02:56 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Yes, this is possible. In your sorting filter on your search page find this code:

HTML Code:
<div class="dffltrs">
  <form method="get">
    <span class="dflside">
Change that code to this:
HTML Code:
<div class="dffltrs">
  <form method="get">
    <input type="hidden" name="word" value="<?php echo strip_tags(@$_GET['word']); ?>" />
    <input type="hidden" name="sprice" value="<?php echo strip_tags(@$_GET['sprice']); ?>" />
    <span class="dflside">
Eric
  #8  
Old April 1st, 2013, 03:18 PM
thk1976 thk1976 is offline
 
Join Date: May 2012
Posts: 232
Default

Cool, thankyou very much!
 


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
How to show reg price and sale price on search results? brightsway Questions 2 June 28th, 2012 12:58 PM
Converting the price-selection in advanced search frme Questions 1 February 20th, 2012 03:14 PM
advanced search thomascarrier Questions 9 October 31st, 2011 10:34 AM
Advanced search box ccgmark Problems 5 January 11th, 2011 08:23 AM


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


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