{"section":"known-issues","requestedLocale":"en","requestedSlug":"visual-merchandising-rules-wrongly-extendeded-to-broader-contexts","locale":"en","slug":"visual-merchandising-rules-wrongly-extendeded-to-broader-contexts","path":"docs/en/known-issues/Intelligent Search/visual-merchandising-rules-wrongly-extendeded-to-broader-contexts.md","branch":"main","content":"## Summary\n\n\nVisual merchandising rules are set for specific contexts by defining filters by attributes or search terms, but the filters are not being limited to their exclusive context, generating unexpected search results and conflicting with different merch rules for other pages.\n\nFor context, pinned and hidden products perform the same action as the promote and remove by ID actions from a manual merch rule.\n\nThe easiest example is that setting it to a category will also apply modifiers to its subcategories.\n\n\n#### Simulation\n\n\n\n- Consider the category tree \"clothes > children > t-shirt\".\n- Create a visual merch rule to manually sort (pin) some items in both the \"children\" category and \"t-shirt\" subcategory.\n- The \"t-shirt\" subcategory won't apply the expected sorting correctly, because it'll be under the influence of the merch rule for the \"children\" category\n\n\n#### Workaround\n\n\nIt's possible to create the same type of rule through the manual editor, where you can set the \"exclusive trigger\" option, completely avoiding the overlap between different rules."}