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.

free_gifts

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

Example

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

Usage

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