EARLY ACCESS: If you're interested in using this feature and you're on the Enterprise plan, please reach out to your success manager, who will activate this for you.
Use rules to generate product data on your pages. Adding Generated Products allows you to create new content in a matter of minutes. That content is even automatically updated as conditions change. For example, if a product goes out of stock, it will be replaced with another product that does meet the criteria you have previously defined for the hotspot.
In this article:
- Adding auto-generated content
- Adding new rules
- Removing rules
- Applying rules to multiple hotspots
- When rules generate no results
- Update the refresh frequency
Adding auto-generated content
To add generate content to your publication, select the Generated Product option in the hotspot editor and draw a new hotspot. Click on Manage to configure the rules for generating content.
You can select a wide range of fields from your product feed to set up the conditions for the publication to generate its own content. Click here for the full overview of supported feed attributes.
|💡||Within a single publication, no Generated hotspot will generate product details that already exist in another Generated hotspot.|
Here are a few common conditions you can consider:
- Product Type: Selecting a product from a specific category
- Brand: Selecting products from a specific brand
- (Discounted) Price: Selecting products from a defined price range
- Availability: Selecting products that are in stock - These will also be replaced once they go out of stock or disappear from the feed
Adding generated content:
Adding new rules
use the + icon to add another rule. Each rule is added with the AND statement, which means the generated content needs to comply with all the rules.
Click on the x icon to remove a rule from the equation. The hotspot will refresh its content according to the updated rules.
Applying rules to multiple hotspots
It is possible to add or change the rules for a selection of hotspots. When hotspots share the same rules, each of them will show a different product that complies with the rules set.
Use the mouse to select multiple hotspots by either dragging a rectangle over them or press and hold the Shift button when selecting different hotspots.
You can also copy-paste hotspots to create multiple hotspots that share the same set of rules.
When selected hotspots use different rules, first remove all rules to apply new ones:
Using sorting to determine product selection
While rules determine which products can be considered to use within a hotspot, sort determines which of those considered products should be first picked.
The following values can be used for sorting:
effective price: price or the discount/sales price if present and lower than the original price
newest product: based on when the product was added in the product feed (updates of the product don’t affect this)
discount percentage: percentage difference between the sale price and the original price
Custom label 0
Custom label 1
Custom label 2
Custom label 3
Custom label 4
The following sort options are available:
Note: Custom label values can have both numeric and alphanumeric values, so sorting can be done by alphabetical or numerical order in this case.
When rules generate no results
If no product can be found for the selected rules, try to find a combination that uses wider search parameters without including unwanted results. If any of the text-based rules include the IS statement, it can also help replace it with the CONTAINS statement (e.g. 'Title contains' or 'Product Type contains').
When rules do not generate results:
Update the refresh frequency
Products that no longer comply with the rules are replaced. This happens every time the associated product feed is imported. In the Product Feed menu, you can set the import frequency to either daily or have it imported every hour.
You can also trigger a new import manually by clicking on Import product feed.
Changing the feed's import frequency: