Overview

Sort Orders determine the sequence in which products appear on collection pages. You can fine-tune product visibility using a combination of conditions, product attributes, and weighted attribute groups. These expressions help align product sorting with your marketing strategies and customer preferences.

Creating a Sort Order

To create a new sort order, follow these steps:

1. Define Sorting Expressions

Sorting expressions define how products are prioritized. There are three types:

  • Condition: Boost or demote products based on attributes such as vendor, availability, or tags.
  • Product Attribute: Sort by a specific attribute like price, newest, or popularity.
  • Weighted Group of Attributes: Combine multiple attributes with assigned weights to balance sorting priorities.

2. Assign Weights (For Weighted Groups)

  • In a Weighted Group of Attributes, allocate a weight (from 1-100) to each attribute.
  • The higher the weight, the greater influence that attribute has on the final sort order.

3. Set Sort Direction

  • Choose either Ascending or Descending for attributes.
  • Example: Sorting by Price (Descending) ranks expensive products first.

4. Configure Sort Order Details

  • Name: Provide a descriptive name (e.g., “Newest: Promote ‘My Vendor’ to the top and order by newest”).
  • Code: Define a short, API-friendly identifier (e.g., newest_b).
  • Is Variation: Enable this if the sort order is used for experiments and should not appear in the storefront/API.

5. Save and Apply

  • Click Save Sort Order to apply your configurations.
  • Use the Browse API to implement the sort order on relevant pages.

Best Practices

  • Balance Weights: Avoid extreme weight differences to ensure fair influence of attributes.
  • Monitor Impact: Regularly review conversion rates and customer behavior to refine sorting strategies.
  • Use Conditions Wisely: Prioritize boosting/demoting logic carefully to align with merchandising goals.

For further details, refer to our API documentation or contact our support team.