How to Set Magento 2 Search Weight
Search Weight is the tool that supports sellers in allocating a weight for product attributes when they want these attributes to be preferred to appear in search results over other attributes.
For example, two attributes are Color and Brand. The Color with a search weight of 1 and the Brand with a 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
How to set Search Weight in Magento 2
- Step 1: Access to Configuration
- Step 2: Specify the attribute to edit
- Step 3: Configuration
- Step 4: Save the changes
Step 1: Access to configuration
Admin sidebar, click
Store. In the
Attributes column, select
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
Storefront Properties in the
ATTRIBUTE INFORMATION column.
- To contain the attribute in search queries, click
Yesin Use in the Search field.
- To install the search weight of the attribute, choose the number from
10in the Search weight field. The lowest value is 1 and the highest is 10. If you don’t choose any value, all the attributes have a search weight of 1.
Step 4: Save the changes
Save Attribute to complete.
THINGS TO REMEMBER
- 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 search weight is 1.
Customization & Development Services?
8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.Get free consultant
Explore Our Products:
People also searched for
- magento 2 search weight
- search weight magento 2
- magento 2 attribute search weight
- magento search weight
- magento 2 search by attribute
- magento search by attribute
- magento weight
- magento custom search
- google custom search weighting
- install magento search bar
- magento 2 weight search
- search criteria magento 2
- magento 2 get product weight
- install magento search box
- magneto search
- 2.2.x, 2.3.x, 2.4.x