The Redcat EasyEditor extension App blocks allow you to easily drag and drop dynamic coupon components directly onto templates in EasyEditor without having to write custom Liquid markup.
The App blocks pick the latest coupon for the program that hasn't been used and is within the program's start and end date.
Before you start
You must first install the two Redcat-Dotdigital integrations:
The base integration, built by Redcat. Contact them for installation and technical support.
The subscription sync back integration, built by Dotdigital. This is a self-serve installation through your Dotdigital Marketing account.
This integration, once installed, automatically creates the Redcat coupon code App blocks in EasyEditor.
Available extensions
Redcat coupon data blocks are built from four separate extensions:
Coupon barcode —
redcatBarcode
Generates a dynamic barcode or QR code image for the latest coupon for the specified coupon program. It encodes the coupon's barcode value and generates a barcode image in the requested barcode format.
Coupon code —
redcatCouponDisplays a coupon code formatted as a heading or paragraph with custom colour and CSS styling.
Coupon image —
redcatCouponImageDisplays the promotional voucher image stored in the
image_urlfield for the latest coupon in the specified program.
Coupon property —
redcatCouponPropertyOptional - displays any chosen metadata property from the latest coupon record. This is typically used to render terms and conditions (
long_description), offer summaries (description), program validity dates (program_start_date,program_finish_date), or the coupon hash.
When placed together inside an email template, these four extensions create a complete coupon block.
Use a coupon code block in EasyEditor
In EasyEditor, in the Build tab of the left side menu, expand the Redcat section.
Drag the block you want to use onto the design canvas:
Coupon barcode
Coupon code
Coupon image
Coupon property
Select the block to configure it.
In the side panel, edit the parameters for the selected block, then select Apply.
Extension parameters
Coupon barcode
Parameter | Type | Required | Description |
Coupon program | String | Yes | The exact name of the coupon program as configured in Redcat. For example, $10 Birthday Reward. |
Barcode | Drop-down | Yes | The barcode symbology to generate. Options: |
Width | Numeric | Yes | Width of the generated barcode or QRimage in pixels. Min 10, max 1000. |
Height | Numeric | Yes | Height of the generated barcode or QRimage in pixels. Min 10, max 1000. |
Error image URL | String | No | Optional web URL of a fallback image to display if the barcode fails to render. |
Coupon Code
Parameter | Type | Required | Description |
Coupon Program | String | Yes | The exact name of the coupon program in Redcat. |
Text size | Dropdown | Yes | HTML container tag for the code: h1, h2, h3, h4, p. |
Text color | Colour picker | No | Hex colour code for the text. |
Additional styles | String | No | Additional inline CSS declarations. For example, |
Coupon Image
Parameter | Type | Required | Description |
Coupon Program | String | Yes | The exact name of the coupon program in Redcat. |
Width | String | No | Optional width override in pixels for the image tag. |
Height | String | No | Optional height override in pixels for the image tag. |
Coupon Property
Parameter | Type | Required | Description |
Coupon Program | String | Yes | The exact name of the coupon program in Redcat. |
Coupon property | Dropdown | Yes | The record field to display: description, |
Text size | Dropdown | Yes | HTML tag used to enclose the text: |
Text color | Colour picker | No | Hex colour code for the text. |
Additional styles | String | No | Additional inline CSS declarations (e.g. font-style: italic; or line-height: 1.3;). |
Test the block
To test a Redcat coupon code App block, you must preview as, or test send to, a contact who has data populated in the coupons Insight data collection.
You can create a segment to identify contacts that meet this criteria.

