Magento 2 Weight Search

The Most Popular Extension Builder for Magento 2

With a big catalog of 234+ extensions for your online store

Weight Search is the tool which supports the sellers allocate a weight for product attributes when they want these attributes to be preferred to appear in search results than other attributes.

For example, there are two attributes that are Color and Brand. The Color with a search weight of 1 and the Brand with the search weight of 2. When the customers search the word “ white”, the result returned would be a list of products with a Color attribute value of “white” and the Brand includes the word “white” doesn’t appear in this result. That means the color attribute has a higher weight than the Brand attribute.

Explore Mageplaza Ajax Search module

To set Weight Search in Magento 2

Step 1: Access to configuration

From the Admin sidebar, click Store. In the Attributes column, select Product.

Step 2: Specify the attribute to edit

Choose the attribute you want to allocate a weight in the list, click to open this record in edit mode.

Step 3: Configuration

Select Storefront Properties in the ATTRIBUTE INFORMATION column.

  • To contain the attribute in search queries, click Yes in Use in Search field.
  • To install the search weight of the attribute, choose the number from 1 to 10 in Search weight field. The lowest value is 1 and the highest is 10. If you don’t choose any value, all the attributes have the search weight of 1.

Weight Search

Step 4: Save the changes

Select Save Attribute to complete.


  • Priority for attributes is from 1 to 10 and the highest value is 10.
  • When the product attributes aren’t allocated the weight, the value of weight search is 1.

Related posts:

Increase sales,
not your workload

Simple, powerful tools to grow your business. Easy to use, quick to master and all at an affordable price.

Get Started
avada marketing automation

Explore Our Products:

People also searched for


Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

go up