Generates a list of related products, determined by customer purchase behaviour


[%related_products id:'[@SKU@]' limit:'10' template:'' show_all:'1'%]
    [%param header%]
        <h4>Related Products</h4>
    [%param footer%]


The related products tag generates a list of products determined by the purchasing behaivour of customers on that website. It will show any products that have been purchased along with the current SKU, so this can be considered an "Others also purchased" tag.

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

Name Options Description
limit:'' Integer Limit the results
id:'' SKU The sku you'd like to query for the related products
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 related_products returns no results, it'll load this block instead

Was this article useful?

Be notified when this page is updated. Optional.