What attributes do I need to use for this so that the Mergado system accepts these attributes without error?
To display the rating on the ad creative, should I use the ‘Image from element’ function and pass the rating images to the feed? Or how to properly implement dynamic display of rating for each product?
That would be the easiest option in my opinion. You don’t have to create multiple templates and just by using one layer “Image from element” all the work is done. You have to add rating images to some custom element however. But that can be managed in batch if you have at least this rating in feed in numeral form.
I’m not quite sure what you mean by that. I can pass information to custom attributes about number of reviews and average number of stars on a product. But I can’t figure out how I can link this information to the star images so that it all runs dynamically.
If you have a solution, I would love to hear a more detailed explanation
Passing the average number of stars to custom attributes is the first step to success.
Then, you have to figure out “the system” of displaying the stars in image.
Let me put you an example.
Let’s say that you want to display only full stars in image. That means you need 5 images of stars (one yellow star and four blank, two yellow stars and three blank etc).
Now you have to think about ranges. If you have rating value “4,55” in custom attribute, how many stars do you want to display? 4 or 5? It makes sense to me that any value above 4,5 should be displayed with 5 full stars but it’s up to you how you set the ranges.
Now, when you figure out conditions I mentioned above, all you need to do is:
Create 5 images with stars, upload them somewhere and have the URLs.
Create another custom attribute (named for example “rating_stars_images”), which gonna be dynamically filled with those URLs.
In Products section in Mergado, create 5 product querries based on rating values. For example “five star products” would be > 4,49 etc.
Create new Owerwrite rule in Mergado, select product querry “five star products”, select element “rating_stars_images” and as a value paste URL adress of image with correspondive amount of stars. Repeat for all product querries.
Then, in Feed Image Editor, when you use “image from element” it would display correct amount of stars based on review rating.