Configuration

Last updated:

How to further explain your advice using dynamic text

At the moment a user sees a product advice, you do not only want to show the relevant products, but you want to also  explain why these products are a good match for the user. This increases both trust and the relevance of the advised products.

This is already done by default with custom match labels. However, match labels have limited space and sometimes you want to give the user more information regarding the advised products.

You can achieve this in the text above the adviced products. This text can be made dynamic based on the user’s preferences or answers.

How to do this is shown in the video below. You can find the syntax from this example underneath.

https://www.youtube.com/watch?v=3BHPzUZqS6o

Syntax of video example

{if(vars.product_feature=="mattresses_temperature", "Because you have trouble with temperature, you would benefit from a temperature regulating mattress. This will help you control the temperature during your whole night to improve your sleep quality and ensure you awake refreshed.", " ")}

{if(vars.product_feature=="mattresses_comfort", "Because you have want comfort while sleeping. Comfort mattresses, often designed with specific materials and technologies to enhance sleep quality, offer several benefits that contribute to overall health and well-being such as improved sleep quality.", " ")}

{if(vars.product_feature=="mattresses_support", "Because you want a mattresses with strong support Supportive mattresses are designed to provide the right balance of comfort and firmness, helping maintain proper body alignment while sleeping.", " ")}

{if(vars.product_feature=="mattresses_not_sure", "Because this is our best mattress. The benefits of a high-quality mattress go beyond just providing comfort— it plays a crucial role in supporting restful sleep, physical recovery, and long-term health.", " ")}



Using multiple variables in the same text

When you want to use multiple variables within the same text while you are already using a {if} statement, you can use '||' around the variable name.

This is needed, instead of using {} for the variable, use '||' to make sure the variable is correctly recognized.

For example:

{if(vars.product_feature=="mattresses_temperature", "Because you have trouble with '||vars.product_feature||', you would benefit from a temperature-regulating mattress.", " ")}*

Was this article helpful?

Yes

No

Need help?

Can't find what you're looking for? Our team is happy to help.

Contact support

Live within an hour. No developers needed.

Turn doubts into confident purchases.

4.8 rating · 300+ shops already chose Qonfi
Fox
Not sure where to start?
Book a 20‑minute demo with Fox
Loading available times…