{"section":"tutorials","requestedLocale":"en","requestedSlug":"merchandising-rules","locale":"en","slug":"merchandising-rules","path":"docs/en/tutorials/intelligent-search/relevance/merchandising-rules.md","branch":"main","content":"Merchandising rules allow you to modify search results to prioritize and return more relevant products to customers based on custom criteria. Thus, you can customize the products listed in the search, tailoring the results to your sales strategies.\n\nYou can use these rules to promote specific products based on user behavior by setting trigger rules, such as terms searched or filters applied.\n\nMerchandising rules can promote, demote, add, or remove items from search results when triggered. To determine the items that will be affected, you can choose products, brands, categories, sellers, or other criteria.\n\nYou can configure merchandising rules for different use cases. See some examples in the table below:\n\n| Action | Examples |\n|---|---|\n| Promote items | <ul><li>Defines greater relevance to the products of a specific brand. Example: When the customer searches for \"smartphone,\" the products of this brand will be displayed at the beginning of the listing, followed by those from other brands.</li><li>Promote a specific product. Example: When the customer searches for \"running t-shirt,\" the product \"Running T-shirt\" will be the first result displayed in the search results. Increase the relevance of products with linked promotions.</li></ul> |\n| Add items | <ul><li>Display complementary products. Example: When searching for \"laptop,\" add related accessories such as \"laptop backpack\" and \"wireless mouse\" to the search results.</li></ul> |\n| Demote items | <ul><li>Demote products from a category or collection that is not highlighted at a specific time. Example: During the summer, decrease the relevance of winter items, such as \"wool coats\" in searches for \"coat\".</li></ul> |\n| Remove items | <ul><li>Remove a specific product from search results. Delete a category that is not relevant to a specific customer segment. Example: Searching for \"men's fashion\" will remove women's fashion products from the results.</li></ul> |\n\n## How it works\n\nMerchandising rules are a priority configuration. So, if you create a rule to promote a specific product for a particular search, this product will be at the top of the results, regardless of the other [Relevance settings](/en/docs/tutorials/relevance-rules).\n\nWhat determines in which cases to apply a merchandising rule are the trigger rules, which are the set of [conditions](/en/docs/tutorials/merchandising-rule-conditions) that identify the scenarios where the action will be triggered.\n\n## Best practices\n\nSome of the main examples of the use of merchandising rules are:\n\n* Promote a specific product for a particular search.\n* Adjust the order of the products in the list. Example: A clothing store that wants to display search results in a specific order, like a window display.\n* Remove products from the list but keep them directly accessible from the product details page. Example: A pharmacy that needs to hide antibiotics from search results but keep them available on the product details page.\n\nConsider the following recommendations for using merchandising rules in your store:\n\n* Manage merchandising rules based on Intelligent Search's [relevance rules](/en/docs/tutorials/relevance-rules) and [synonyms](/en/subcategory/synonyms--BBzMtJan1UTxC9QZODnlN). Make sure that these three are aligned to avoid conflicts and provide a cohesive and efficient search experience.\n* Don't use merchandising rules with opposite effects for the same items, as this can lead to unexpected behavior in search results.\n* If too many merchandising rules are created, then the organic search will probably be greatly affected.\n* Be careful when using global [trigger rules](/en/docs/tutorials/creating-merchandising-rules-manual-editor#activation-rules), as they impact all searches.\n\n> ⚠️ If the search results are not correct, we recommend not creating merchandising rules to fix them, as this could indicate some other configuration problem. In this case, please contact our[ Support](https://support.vtex.com/hc/en-us/requests).\n\n## Learn more\n\n* [Merchandising rules list](/en/docs/tutorials/merchandising-rules-list)\n* [Creating merchandising rules - Visual Editor](/en/docs/tutorials/creating-merchandising-rules-visual-editor)\n* [Creating merchandising rules - Manual Editor](/en/docs/tutorials/creating-merchandising-rules-manual-editor)\n* [Merchandising rule conditions](/en/docs/tutorials/merchandising-rule-conditions)"}