- 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.
20 lines
267 B
PHP
20 lines
267 B
PHP
<?php
|
|
|
|
if (!defined('_PS_VERSION_')) {
|
|
exit;
|
|
}
|
|
|
|
/**
|
|
* @param InPostIzi $module
|
|
*
|
|
* @return bool
|
|
*/
|
|
function upgrade_module_1_5_7(Module $module)
|
|
{
|
|
if (Tools::version_compare(_PS_VERSION_, '1.7.5')) {
|
|
Media::clearCache();
|
|
}
|
|
|
|
return true;
|
|
}
|