To add Marketing Material to iDashboard, you’ll need to upload a zipped “bundle” through: Admin & Account Settings > Asset Bundles.
Before uploading, we recommend that your bundle follows the file structure shown below. A boilerplate example is also provided to help you structure your files correctly.
+ bundle + marketing_variant + assets + fonts + includes _footer.liquid _header.liquid _property.liquid default.liquid logo.jpg about.yml
Each variation of marketing material included in your bundle must be placed in its own subfolder within the root ZIP file (shown as “marketing_variant” in the example above). You can add additional variants by replicating the structure of the “marketing_variant” folder shown in the example, ensuring to name the folders differently.
You can name each variant subfolder however you like, but the folder name can only include letters, numbers, and underscores (no spaces or special characters).
Assets Folder
This should contain any CSS files and images required for the marketing variant. When referencing an image or file in your liquid template, only the file name is required.
The example below shows how to reference a style.css file or image:
// style.css File
{{ bundle.assets.style }}
// Image
{{ bundle.assets.imagename }}Fonts Folder
This should contain any fonts required for the marketing variant and can be referenced in style sheets in the same way as if the CSS file was being used on a website.
_footer.liquid File
This file should contai the HTML required for the footer of your marketing variant. An example is provided in the boilerplate file provided.
_header.liquid File
This file should contain the HTML required for the header of your marketing variant. An example is provided in the boilerplate file provided.
_property.liquid File
This file should contain the main HTML required for your marketing variant.
default.liquid File
This file will always include any files that are present in the includes folder. An example of how to do this is present in the boilerplate file as well as below:
{% include 'header' %}
{% include 'property' %}
{% include 'footer' %}logo.jpg
Is a thumbnail representation of the marketing variant. This file is visible to the end user and is what they click on to select the variant to generate. We recommend that the dimensions of this image be 210px wide x 296px high for portrait style material, and 296px wide x 210px high for landscape style material.
about.yml
Contains the configuration options and settings for each marketing variant in the bundle. More information on the about.yml file can be found here.