cancel
Showing results for 
Search instead for 
Did you mean: 

How to do sort for products inside variant grouping functionality in PLP

gatesneterabia
Discoverer
0 Kudos

Hi,

How to do sort for products inside variant grouping functionality in PLP?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi,

Thank you for your prompt response. We did the above and we don't have an issue with it but the issue that I'm asking about is that I need to sort the data inside the group. Check the attached screenshot of what I mean. You can see some items the sizes coming randomly, sometimes the selection comes screen-shot-2020-10-26-at-104223-am.png to L but the first one is S.

0 Kudos

Hi,

Did you find any solution for this?

Private_Member_467521
Active Contributor
0 Kudos

Hi gatesneterabia,

Below you can find the step by step. You can also find it at:

https://help.sap.com/viewer/d0224eca81e249cb821f2cdf45a82ace/2005/en-US/a4d6625ff9754d28a84b563da03b...

Procedure

Go to System Search and Navigation Indexed Types.

  1. Select the type that you want to define the grouping for.
  2. In the editor, go to Indexed Type Search Configuration and double-click the template.
  3. Click the Grouping tab and configure the following items:

table.jpg

5. To define the value, according to which the system allows customers to select variants, in the local.properties file, define the commerceservices.variant.rollup.property property.

For example, if you want to group variants based on color, enter the property as follows: commerceservices.variant.rollup.property=style.

This property determines the criteria that are used to show variants under the base product image. This corresponds to number 2 in the previous image. While the group field parameter determines the returned items, this parameter defines which parameter is used to display variants from the returned results.

Should this help to address your topic, please kindly accept the answer.

Cheers,

Luis 🙂