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 30th, 2011, 12:01 PM
cashnow cashnow is offline
 
Join Date: Sep 2009
Posts: 362
Default Can I change sorting template to sort like the Price Widget Filter?

If so,

I would like the sorting template to read like the Price Widget: Have the price ranges of the price widget filter in the sorting template. I tried to manipulate the sorting template code ("price") by replacing it with the price filter code ("price=-25") and change the name fields (Price (Low to High) to Less than $25).

The name fields changed but it did not sort.

Any thoughts?

Store ID: 6719
www.forbabygifts.com
  #2  
Old January 30th, 2011, 01:29 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

This worked for me:

HTML Code:
<div class="dffltrs">
  <form method="get">
    <span class="dflside">
      Products per page:
      <?php echo datafeedr_tools()->form_select("ppp",
        array(
        "12" => "12",
        "24" => "24",
        "36" => "36",
        "48" => "48",
        )); ?>
    </span>
    <span class="dfrside">
      Price:
      <?php echo datafeedr_tools()->form_select("price",
        array(
        "-25"   => "Under $25",
        "25-50"   => "$25 - $50",
        "50-"     => "Over $50",
        )); ?>
      <input type="submit" value="Go" class="dfsbmt" />
    </span>
    <div class="clearingdiv">&nbsp;</div>
  </form>
</div>
  #3  
Old January 30th, 2011, 02:26 PM
cashnow cashnow is offline
 
Join Date: Sep 2009
Posts: 362
Default

works perfect! 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
Add filter for sale price in the Merchant Discovery Tool ayorofrance Feature Requests 1 March 31st, 2012 11:16 AM
How do I make unique title tags for price filter widget pages? cashnow Questions 15 January 28th, 2011 06:11 PM
Sort by price does not work... ayorofrance Problems 2 January 9th, 2011 07:03 AM


All times are GMT -5. The time now is 05:52 AM.


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