Promoboxx campaigns can be individually customized by each participating retailer. To enable retailer campaign customizations, create an html file separate from your campaign file. Build a valid html document that contains the Promoboxx JSAPI basic initialization script. The
<body> of the document only needs to contain a standard html
<form> with standard
<textarea> field elements that have unique name attribute values. In the Promoboxx Control Panel, point the customizations url field for the campaign to the hosted location of the file.
The stored customization data can then be used on the consumer-facing campaign page by automatic injection with the
Note: The term “retailer” refers to the currently selected local retailer, dealer, etc.
These special class tokens are available for use in customization forms.
Indicates a campaign retailer customization form. Applies to form elements only.
Indicates that this form element is an array, meaning the user may choose to specify as many versions of this element as desired when filling out the form. This token could be used to create a list or a photo gallery with an unknown number of elements. The controls required to add and remove elements will be automatically applied when the form is rendered.
To indicate that a group of fields should be a repeatable block, group the elements inside of a fieldset with the
Indicates that this element should store an image uploaded by the client. This token should only be applied to an
Contains content that will be displayed when the form data is saved. This section could contain rendered saved content using
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<label>Full inventory url with protocol <small>(include http://)</small></label>
<input type="text" name="inventory_url" class="pbxx-form-validate-url-absolute" title="Full url with protocol" />
<label>Items available at your store:</label>
<input type="text" name="available_items" class="pbxx-form-repeatable" />
<p>Campaign customizations saved!</p>
<button onclick="document.location.reload(true)" class="pbxx-button">Back to Editing</button>
var _pbxx = _pbxx || ;
<a class="pbxx-data-campaign-customization-inventory_url" data-pbxx-target-attr="href">View our Inventory</a>