How to generate product content that updates automatically:

Available_in ENT EARLY ACCESS-1

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 meets the criteria you previously defined for the hotspot.

In this article:

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.

025

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:

026

Click here to read more about changing the appearance of 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.

Removing 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:
027

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:

  1. effective price: price or the discount/sales price if present and lower than the original price

  2. newest product: based on when the product was added in the product feed (updates of the product don’t affect this)

  3. discount percentage: percentage difference between the sale price and the original price

  4. Custom label 0

  5. Custom label 1

  6. Custom label 2

  7. Custom label 3

  8. Custom label 4

The following sort options are available:

  1. Ascending

  2. Descending

Note: Custom label values can have both numeric and alphanumeric values, so sorting can be done by alphabetical or numerical order in this case.

028

Using fallback options

Sometimes, it is best to have a fallback option in case no products match the set rules, for example:

  • if all products on promotion go out of stock,
  • there is a secondary promotion to run,
  • if you wish to put a specific product to promotion first, and only if it goes out of stock to have it replaced with any product from the same category, etc. 


In such cases, Fallback rules provide an option to specify which products to show only in case the first set of rules generates no results. 

The same data and sorting options can be applied for fallback options as for the primary set of rules. 

CleanShot 2024-03-19 at 14.27.35

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:

029

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:
030