Limiting displayed related product lists

Lists of related (recommended) products are embedded in the storefront by means of several programmings methods (helpers) listed below.

1. Upselling items for current product, usually used in file product.html

{$product->upSelling()}

2. Cross-selling items for current product, usually used in file product.html

{$product->crossSelling()}

3. Cross-selling items for one or several products, often used in file cart.html (shopping cart page)

{$wa->shop->crossSelling()}

In order to change the number of displayed recommended products, add or change the number between the parentheses in the helper call using these examples.

Examples

{$product->upSelling(4)}
{$product->crossSelling(4)}
{$wa->shop->crossSelling(4)}

0 comments

    Add comment

    To add a comment please sign up or login