This article has moved to a new home. View the updated version Base Tag Library


Generates a list of items that are assigned to the "Freebies" section in Neto


[%free_gifts id:'[@sku@]'%]
    [%PARAM *header%]
        <h4>Free gifts</h4>
    [%param *footer%]


The free_gifts tag generates a list of products that have been assigned to the free gifts section on a product within the Neto control panel. By default, we load this tag on the product page & the cart page. By assigning the products to the free gifts section within the control panel, this automatically changes the price to $0 when purchased with this product

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

free_gifts Parameters

Name Options Description
limit:'' Integer Limit the number of results
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 free_gifts returns no results, it'll load this block instead

Was this article useful?

Be notified when this page is updated. Optional.