Category product assignments

For a category, use the Products in Category section to review the products that are currently assigned to the category. The search filters at the top of each column are used to add and remove products from the category. You can also use category rules ( Adobe Commerce Adobe Commerce only) to dynamically change the product selection when a set of conditions is met. To learn more, see Visual Merchandiser).

During category rule setup, the products are sorted, matched, assigned, and unassigned according to that rule only when this category is saved. To ensure that a new product is assigned according to the rule when you add it to the catalog, you must resave each category that is set to match products by rule. Also, if any product stock status is changed to In Stock or Out of Stock and products in the category are sorted according to the Automatic Sorting rule, you must click Save Category.

Category Products

On the category pages, Out of stock products are always displayed after In Stock products on the product listing with all sorting types.
The Stock column displays salable product quantity for selected category scope only. When multiple stocks are managed for products, you should switch between the corresponding scopes to display other Stock column values in the Category Products grid.

Apply a category rule

Adobe Commerce feature {width="20"} Exclusive feature only in Adobe Commerce (Learn more)
  1. Set Match products by rule to Yes.

    The automatic sorting and condition options appear.

    To Match Products by Rule {width="600" modal="regular"}

  2. Set the Automatic Sorting order.

    This automatic sorting is based on current conditions.

    • Stock level - Move to top or bottom.
    • Special price - Move to top or bottom.
    • New Products - List newest products first.
    • Color - Sort alphabetically by color.
    • Name - Sort in ascending or descending order by Name.
    • SKU - Sort in ascending or descending order by SKU
    • Price - Sort in ascending or descending order by Price.
  3. Click Add Condition and do the following:

    • Choose the Attribute that is the basis of the condition.
    • Choose the Operator required to form the expression.
    • Enter the Value that is to be matched.

    Add Condition to Category Rule {width="600" modal="regular"}

    Repeat this process for each attribute to be used to describe the conditions to be met. For example, to match products that were created from 7 through 30 days ago, do the following:

    • Set Date Created to Less than 30.
    • Set Logic to AND.
    • Set Date Modified to Greater than 7.
  4. When complete, click Save Category.

Page options

Match products by rule
Determines if the list of products in the category is dynamically generated by a category rule. Options: Yes / No
Automatic Sorting
Automatically applies a sorting order to the list of category products. Options:
Move low stock to top
Move low stock to bottom
Special price to top
Special price to bottom
Newest products first
Sort by color
Name: A - Z
Name: Z - A
SKU: Ascending
SKU: Descending
Price: High to Low
Price: Low to High
Add Condition
Adds another condition to the rule.

Page conditions

Determines the attribute that is used as the basis of the condition. Options:
Clone Category ID(s) - Dynamically clones products, without their sorting and order, from multiple categories based on Category ID.
Color - Includes products based on color.
Date Created (days ago) - Includes products based on the number of days since the products were added to the catalog.
Date Modified (days ago) - Includes products based on the number of days since the products were last modified.
Name - Includes products based on the product name.
Price - Includes products based on price.
Quantity - Includes products based on the quantity in stock.
SKU - Includes products based on SKU.
Specifies the operator that is applied to the attribute value to meet the condition. Unless an operator is specified, Equal is used as the default. Options: Equal / Not equal / Greater than / Greater than or equal to / Less than / Less than or equal to / Contains
Specifies the value that the attribute must have to meet the condition.
Used to define multiple conditions, and appears only when another condition is added. Options: OR / AND
The quantity of a configurable product with child options is calculated by combining all the salable child product quantities. Consider an example of a configurable product Endurance Fitness Tank with purple, red, and yellow color options and different quantities of each. In this scenario, the parent product quantity is the combined salable quantity of the purple, red, and yellow color child products.


Page controls

Adobe Commerce feature {width="20"} Exclusive feature only in Adobe Commerce (Learn more)
View as list
View as List
View as tiles
View as Tiles
Toggle no
Match by Rule - No
Toggle yes
Match by Rule - Yes
Move controller
The drag and drop control allows you to grab a product and move it to another position in the current page of the grid. To learn more, see Visual Merchandiser.
Position controller
Determines the position of the product in the list.

Page controls

Magento Open Source feature {width="20"} Alternative method is required for Magento Open Source (Learn more)
Selected checkbox
Use the checkbox in the header of the first column for selecting all products or clearing all selections. The control in the first row determines the type of search and can be set to include any record, or include only the records that are either assigned or not assigned to the category. The checkbox in the first column of each row identifies products to be added to the category. Options: Yes / No / Any
Search Filters
The filter controls at the top of each column can be used to enter specific values you want to either include or omit from the list, depending on the Select All setting.
Reset Filter
Clears all search filters.
Searches the catalog based on the filter criteria and displays the result.