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

top_sellers

Generates a list of top selling products based on most purchased items

Example

[%top_sellers template:'' category:'0' limit:'10'%]
    [%param header%]
        <h4>Top Sellers</h4>
    [%/param%]
    [%param footer%]
    [%/param%]
[%/top_sellers%]

Usage

The top_sellers tag generates a list of top selling products based on quantity sold over the life of the site and specific to the category parameter.

For more information about the product templates, see the thumb list tag

top_sellers Parameters

Name Options Description
limit:'' Integer Limit the results
category:'' Category ID Limit the category of top sellers, use 0 the "home" category for a list of glbal top sellers
show_all:'' 0/1 By default the tag will limit the results to the selected categories, when set to 1 it will load all related products regardless of category
template:'' Name of the template without the .template.html Loads the template specified. If there is no value, it will load the default product template
header HTML & b@se tags Renders a single usable space above the body
body* HTML & b@se tags Runs an array for result
footer HTML & b@se tags Renders a single usable space below the body
ifempty:'' HTML & b@se tags If the top_sellers returns no results, it'll load this block instead