Ranking Factors
Ranking Factor is an internal functionality that is used to define the logic for scoring products in sorting criteria.
You can find existing ranking factors or create new ones under System > Improved Sorting > Ranking Factors.
Note
If a ranking factor is marked as Global, it will be applied before all other conditions for all sorting criteria.Global factors have the highest priority.
The extension sorts any product collection firstly by global factors, and then it sorts products by sorting criteria.
Types of Ranking Factors
Alphanumeric
This ranking factor sorts products based on alphanumeric (natural) sort order. This type of sorting orders alphanumeric strings as a human would, taking into account both letters and numbers.
For example, if you have product names that include numbers, such as "Z1.1", "Z2", and "Z11", alphanumeric sort order would sort them in the following order: "Z1.1", "Z2", "Z11", instead of the standard sort order of "Z11", "Z1.1", "Z2".
Date
Ranks products based on Created At/Updated At date;
- Creation date - when the product was added to the database;
- Updating date - when the product was most recently updated;
- Zero point - number of days the
Created At/Updated At
date influences the products ranking.Note
It is recommended that you use a value from 1 to 100. For example, if set at 100, then the products which were created/updated more than 100 days prior will receive a positive Score (the earlier, the higher), and products which were created/updated less than 100 days prior will receive a score of zero.
Attribute set
Ranks products based on an attribute set.
- Mapping - allows for assigning a weight to a set of attributes to participate in sorting;
- Attribute Set - attributes set;
- Weight - the weight. It is recommended that you use a value from 1 to 100.
- Attribute - allows for assigning a weight to attributes to participate in sorting;
- Mapping
- Option - the internal name of a ranking factor, used for Sorting Criteria configuration;
- Weight - the weight. It is recommended that you use a value from 1 to 100.
Image
Rank products based on the availability of images.
It commonly used as a global factor to place products without images at the end of the product list.
Product Rating
This ranking factor ranks products based on their overall rating, with the highest rating receiving the highest rank.
It is commonly used for sorting criteria such as 'Sort by Rating' or as part of the 'Featured' sorting criteria.
Bestseller
This ranking factor ranks products based on the number of purchases within a given period of time, where:
- Past Days - refers to the number of days that the order date has an influence on product ranking. By default, it is set to 60 days.
Profit
This ranking factor ranks products based on their profit, calculated using the product's price and cost.
The higher the profit margin, the higher the product's rank.
Rule
This ranking factor ranks products based on various conditions that you can define using rules, including Product Attributes
.
Stock status
This ranking factor ranks products based on their stock status, whether they are in stock or out of stock.
It is commonly used as a global ranking factor to move out-of-stock products to the end of the product listing.
Stock Qty
This ranking factor ranks products based on their stock quantity. Products with higher stock quantities will receive a higher ranking.
This factor can be useful for highlighting popular or high-selling products that are in stock and readily available to customers. Additionally, it can help to ensure that customers are shown products that are more likely to be in stock, which can improve their overall shopping experience.
SPV
The Sales Pre-View ranking factor sorts products based on the ratio of sales to page (product page) views. This factor takes into account not only the number of sales but also the number of times a product has been viewed, where:
- Sales Pre View =
Number of Sales
/Number of Product Page Views
- Zero point - number of days that influence products ranking. It is recommended that you use a value from 1 to 100
This can be a useful metric for identifying products that generate a high level of interest among customers and have a good conversion rate.
Popularity
This ranking factor ranks products based on the number of product page views.
This factor can be useful for identifying products that generate a lot of interest or attract a high level of traffic to your store.
Discount
This ranking factor ranks products by discount, calculated as the difference between the regular price and any special prices.
This factor can be useful for highlighting products with significant discounts and encouraging customers to make a purchase. By sorting products based on this factor, you can also help customers find products that offer the best value for their money
New Product
This ranking factor ranks products based on their new from-to values, depending on the current date. Products with a more recent from-to value will receive a higher ranking in the search results for this factor.
Backorder
This ranking factor ranks products based on their backorder status, whether it's allowed or not allowed.
Formula
This ranking factor ranks products based on a user-defined formula. You can customize the formula to take into account various product attributes such as price, rating, and stock quantity, as well as other factors such as shipping time and location.
Using this factor, you can create a custom ranking system that aligns with your business goals and customer preferences. More details here