Lists the components of any kits that are cart items


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


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 function returns no results, it'll load this block instead

Was this article useful?

Be notified when this page is updated. Optional.