Download page Sequencing Products within a Category.
Sequencing Products within a Category
You can use the orderByClause parameter to sequence the Products on the Catalog page. You can add a new field in the Product2 object (for example: as Category Rank) and set the orderByClause in this manner: productOrderByClause=Category_Rank__C NULLS LAST, Name while configuring a formula to launch the Product Catalog.
By default, the product list shown on the Catalog page is sorted by Product Name.
To sequence the Products on the Catalog page
Create a new custom field on Product2 object. For example: Category Rank.
From the Product Detail screen, assign the appropriate numeric value for this field.
Use the following formula to launch the ngCart.
IF ( LEN( Apttus_QPConfig__PriceListId__c ) > 0 ,HYPERLINK("/apex/Apttus_QPConfig__ProposalConfiguration?id=" &Id&"&flow=ngFlow&productOrderByClause=Category_Rank__c NULLS LAST, Name" ,IMAGE("/resource/Apttus_QPConfig__Button_Configure", "Configure Products"),"_self"), NULL)
CODE
On the Catalog page, Products are displayed based on the sort order defined in the custom field.