Tweak Library
Note: We have updated our folder structure in Neto 6 and this has not been updated on all tweaks yet. More info.

On Sale Page

Generates a list of all products on sale.


Coding Instruction

First up, make sure to construct this on a copy of your category page - it will use the same basic template with the following tweaks. Afterward, create a content page called "On Sale" and assign the new cloned template.

At the head of the file, change the page type variable to use something that isn't category. We do this because we don't want to trigger the category options that usually appear in the sidebar include as filters will not work with this tweak.

[%set [@page_type@]='onsale'/%]

Adjust the thumb_list for the product list on this page to have the following parameters.

(filter_category:'0' to look at your entire inventory, filter_inpromo:'1' which only shows products that currently have an active promotion price):

[%thumb_list type:'products' limit:'[@config:thumb_limit@]' filter_category:'0' filter_inpromo:'1'%]


Email Address

Coding Instructions

Open headers/template.html and paste the below code directly below [%menu id:'web_header'%], being sure to replace the id with the ID of the content page you created in the first step:

[%param *header%]
    <li><a href="[%url type:'content' id:'11'/%]">Sale Products</a></li>

Final Result

Multi-Item Add

Download Files

Download Files

2 related articles found: