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.

cart_item_components

Lists the components of any kits that are cart items

Example

[%cart_item_components counter:'[@counter@]'%]
    [%param *header%]
        <h4>Cart Item Components</h4>
    [%/param%]
    [%param *body%]
        <p>[@qty@] x [@model@]</p>
    [%/param%]
    [%param *footer%]
    [%/param%]
[%/cart_item_components%]

Usage

If an item added to cart is a kit, this tag will generate a list of the components of that kit during the cart & checkout stages.

This tag has similar properties to the thumb_list tag, for a more in-depth look at your options for the body, see the thumb_list article.

cart_item_components Parameters

Name Options Description
limit:'' Integer Limit the results
counter:'' [@counter@] Prints an integer that increases with each run of the body param
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 random_products returns no results, it'll load this block instead