Skip to main content
All CollectionsTemplating
Energy class icons
Energy class icons
Mikael Johansson avatar
Written by Mikael Johansson
Updated over a month ago

Regulations mandate that advertising for some categories of products include a energy efficiency label. For example

You can add these icons

  1. Ensure that your product feed contains the 3 energy class attributes as detailed in the Google Merchant Feed format.

  2. Add a new Image placeholder to your template.

  3. Paste this URL into the image placeholder.
    ​
    ​https://cdn.renable.com/static/energy-class-icons/Class_Arrows_MAXMIN_CLASS.png
    ​

  4. Replace the "MAX" text with a (Product attributes) placeholder. Click the placeholder and choose "Only product attribute: max_energy_efficiency_class".

  5. Replace the "MIN" text with a (Product attributes) placeholder. Click the placeholder and choose "Only product attribute: min_energy_efficiency_class".

  6. Replace the "CLASS" text with a (Product attributes) placeholder. Click the placeholder and choose "Only product attribute: energy_efficiency_class".

  7. Now you need to ensure that + characters get replaced with %2B. Do this by clicking each of the "Attribute: .." placeholders to open the dialog. Click the "Tt" button to add a text transform. Search for + and replace with %2B

  8. Add a fallback and leave it empty. This prevents warnings if your products are missing the energy efficiency class attributes.​

Your placeholders should now look like

Each placeholder should look like this

Did this answer your question?