- Created a new template for the cart rule form with custom label, switch, and choice widgets. - Implemented the InPost Pay block in the order details template for displaying delivery method, APM, and VAT invoice request. - Added legacy support for the order details template to maintain compatibility with older PrestaShop versions.
10 lines
243 B
Smarty
10 lines
243 B
Smarty
<div
|
|
class="inpost-izi-btn-wrapper"
|
|
{if [] !== $styles}
|
|
style="{foreach $styles as $name => $value}{$name|escape:'html'}:{$value|escape:'html'};{/foreach}"
|
|
{/if}
|
|
>
|
|
{$widget|cleanHtml nofilter}
|
|
<div class="clearfix"></div>
|
|
</div>
|