Add InPost Pay integration to admin templates
- 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.
This commit is contained in:
9
modules/inpostizi/views/templates/front/buttonWidget.tpl
Normal file
9
modules/inpostizi/views/templates/front/buttonWidget.tpl
Normal file
@@ -0,0 +1,9 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user