Hi,
I am using a collection and would like to know if there is a way to have a fallback collection in case the original collection does not return any product.
For example we want to return three products in a certain category depending on the location of the user. If there is no product of that category in that location, I would create a second collection with another category also in the location of the user.
Since it would go in A/B testing, I thought there might be a way to do it using required=true in the handlebars expression. But I am not sure I could do a A/B testing that way.
Is that possible? Or is there a way around to do it?
Page 1 / 1
Hi Benjamin,
Thank you for writing in! Typically, this type of logic can be accomplished using {{else}}, however, if you are having difficulty finding the exact syntax to use, I would suggest opening a Support ticket so our team can give more specific advice based on the data you are working with
-Rachel
Reply
Create a new Iterable Plaza community account
Already have an account? Login
Login to the Iterable Plaza Community
Not a customer? Create an account
Log in to Iterable (SSO)
Iterable customers and employees login/create an accountor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.