BETA NOTICE: If you're interested in using this beta 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 onto 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.
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 updates 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:
When rules generate no results
If no product could 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 includes the IS statement, it can also help replacing 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: