Kentico CMS 6.0 E-commerce Guide

Sorting and paging products

Sorting and paging products

Previous topic Next topic Mail us feedback on this topic!  

Sorting and paging products

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

1. Go to CMS Desk -> Products and switch to the Design tab. Click the Configure Configure button of the Product list web part.

 

ecommerceguide_clip0044

 

2. In the webpage dialog, find the Content filter section and enter SKUPrice ASC into the ORBER BY expression text box, then find the Paging section and enter 16 into the Page size checkbox. Now click OK.

 

ecommerceguide_clip0045

 

ecommerceguide_clip0046

 

3. Switch to the Preview viewing mode. You can see that the products are sorted from the cheapest to the most expensive and there are 16 of them.

 

ecommerceguide_clip0047

 

 

 

Sorting products

 

You may decide to sort products in a different way.

 

Should you want to sort products from the most expensive to the cheapest, you would enter SKUPrice DESC into the ORDER BY expression text box.

 

You can choose to sort products alphabetically as well. For sorting from A to Z, enter NodeName ASC. For sorting from Z to A, enter NodeName DESC into the ORDER BY expression text box.