Logo Mitting UG (hbs.)

Text Template Bundle

Version: 7.0.0
This extension allows you to use the values of your product attributes inside newly added text(area) attributes. This way you can easily compose slugs, rich texts with dynamic contents that stay in sync with your data or even calculate values based on other attributes.

Overview

Do you use texts like the following in your product descriptions?

 

The HP HD 5210 is a Skype®-certified autofocus HD webcam that is available since September 19, 2011. It provides up to 1920 x 1080 widescreen streams at a frame rate of 30.

The above example contains four attributes that are part of the default Akeneo demo data:

  • Product name
  • Release date
  • Maximum video resolution
  • Maximum frame rate

Now guess what happens when you or a co-worker updates the frame rate attribute from 30 to 60?! Correct, the description would not reflect this change until you edit the text by hand. We all are humans and it's easy to forget to update the related texts for all scopes and locales after such a change.

Wouldn't it be nice if you could reference the different attributes directly in the description? That's exactly what this extension provides.

Features

  • Adds two new attribute types ("Twig Text" and "Twig Text Area") where you can define templates referencing any attribute value of the current product
  • Provides auto-completion for your attribute codes and custom filters
  • Works with and without WYSIWYG enabled
  • Supports "value per channel" and "value per locale" attributes
  • Supports reference data objects
  • Supports product models
  • Supports assigned categories and associations
  • Use provided Twig filters to format metrics, dates, currencies etc. or simply add your own
  • Use the product REST API or the default CSV/XLSX exports to access the rendered texts for your online shop etc.

Are you interested? Feel free to contact us.

Documentation
Release notes