Common issues with interaction templates

Prestashop checkbox and radio inputs

On some Prestashop themes, there is an issue transforming input elements and enclosing them in a <span or a <div tab.

To cancel this behaviour you will need to add noUniform class to the input elements (checkboxes and radio buttons)

 

Backgrop element as root element.

For the backdrop element used as a background, a common issue is to make it as root element for the campaign. This will break inside clicks, so it needs to be avoided.

<div class="vtw-bck vtw-close">
... here comes all html for campaign
</div>

Instead, you will need to have it like this (close the backdrop tag immediately):

<div class="vtw-bck vtw-close"></div>
<div id="vtw-form" class="vtw-campaign vtred">
... put here all html
</div>

Related Articles