View Single Post
  #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