Search Settings preferences for IDs, promotions and variation groups
Key Takeaway
To let a pmid search return the products in a searchable promotion, turn on "Include Promotion IDs in the Product Index" and run a full rebuild of the product search index. The preference alone is not enough.
Search Preferences in Business Manager control how storefront search behaves for a B2C Commerce instance. Three settings in the Search Settings section change what search can match or how results look. "Ignore Leading Zeroes" covers IDs, Include Promotion IDs in the Product Index covers promotions, and "Merged Variation Groups Display Mode" covers variation groups. Each setting meets a different business requirement. You need to match the requirement to the right setting and know what else that setting needs before it works.
How to open Search Preferences
- In Business Manager, go to Merchant Tools > (your site) > Search > Search Preferences.
- Select the instance type: Sandbox/Development, Staging, or Production.
- Change the preferences you need. The settings for IDs, promotions and variation groups are in the Search Settings section.
The preferences control search behavior for the instance type you select. You can also export the preferences.