This tip allows you to generate a long best sellers or new products list (e.g. with 20 products) but then only show a few of them within the store pages (e.g. the top 6).
To do this:
Within SellerDeck, select the list you want to edit. This might be called something like 'New Products List With Horizontal Dividers' or 'Sidebar Best Sellers List'. You can find these in the library within either the 'Best Sellers List' group or the 'New Products List' group.
Highlight all the code within this list and click the 'Insert Block' button -
Enter the following expression:
<actinic:variable name="ListIndex" /> <= 6
This will mean only the first 6 products are shown.
Click 'OK' when done.
You can vary the expression as required. For example, the following code will show products 7-15:
<actinic:variable name="ListIndex" /> >= 7 AND <= 15
Thanks to John at www.bikster.co.uk for this solution.
To do this:
Within SellerDeck, select the list you want to edit. This might be called something like 'New Products List With Horizontal Dividers' or 'Sidebar Best Sellers List'. You can find these in the library within either the 'Best Sellers List' group or the 'New Products List' group.
Highlight all the code within this list and click the 'Insert Block' button -
Enter the following expression:
<actinic:variable name="ListIndex" /> <= 6
This will mean only the first 6 products are shown.
Click 'OK' when done.
You can vary the expression as required. For example, the following code will show products 7-15:
<actinic:variable name="ListIndex" /> >= 7 AND <= 15
Thanks to John at www.bikster.co.uk for this solution.
Comment