Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Tips, Tricks & Tutorials
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 17th, 2013, 01:10 PM
outdoorcampingshops outdoorcampingshops is offline
 
Join Date: Jan 2013
Posts: 42
Default "Only Sale Items"

Hey Eric,

So I've been going through the forums looking for my answer and i've probably over looked it as i'm still scratching my head. I have an issue when using the sort function within a category to at least show Sale items first, if not only show sale priced items. But that still isn't happening: http://www.outdoorcampingshops.com/gear/sale-items/

I tried to set up a Sale item view but have no idea how to implement that view within the Sale Item category page.

I know you probably have the answer, I appreciate the help again.
Cheers!
  #2  
Old January 17th, 2013, 01:59 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

If you access that category page like this, then only products on sale will be shown:

http://www.outdoorcampingshops.com/g.../?saleprice=1-

To modify that link in your list of categories in the sidebar, change this:
Code:
[category.list before='<ul>' after='</ul>']
<li>
  <a href="[category.link]" title="[category.name]">[category.name]</a>
  [category.repeat]
</li>
[/category.list]
To this:
Code:
[category.list before='<ul>' after='</ul>']
<li>
	<?php if ($category->id == 1079066) { ?>
		<a href="[category.link]?saleprice=1-" title="[category.name]">[category.name]</a>
	<?php } else { ?>
		<a href="[category.link]" title="[category.name]">[category.name]</a>
	<?php } ?>
	[category.repeat]
</li>
[/category.list]
Here: The Factory > Your Store > VIEWS > WIDGETS > Categories > Category list

That should do the trick.

Eric
  #3  
Old January 17th, 2013, 02:54 PM
outdoorcampingshops outdoorcampingshops is offline
 
Join Date: Jan 2013
Posts: 42
Default

Perfect, thanks again!
  #4  
Old January 17th, 2013, 02:58 PM
outdoorcampingshops outdoorcampingshops is offline
 
Join Date: Jan 2013
Posts: 42
Default

Eric, one more thing for the week. Within a Price filter, is there a way to have a "Sale Price" option that will filter to all products with a sale price instead of a set (50-100) price value?
  #5  
Old January 17th, 2013, 03:01 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Yes, just use saleprice=1-
That says where sale price is greater than 1.
 


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
Can't get the "Items On Sale" page to show in menu nav. brightsway Tips, Tricks & Tutorials 5 June 12th, 2012 04:35 PM
"Price Filter" shows only Front Page "Product selection" items joe2bron Questions 1 March 15th, 2012 03:01 PM
"See all sale items" link is not working cashnow1 Questions 0 October 27th, 2011 07:04 PM


All times are GMT -5. The time now is 03:51 AM.


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