- 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
287 B
PHP
20 lines
287 B
PHP
<?php
|
|
|
|
use InPost\Izi\Upgrade\CacheClearer;
|
|
|
|
if (!defined('_PS_VERSION_')) {
|
|
exit;
|
|
}
|
|
|
|
require_once __DIR__ . '/CacheClearer.php';
|
|
|
|
/**
|
|
* @param InPostIzi $module
|
|
*/
|
|
function upgrade_module_1_8_0(Module $module): bool
|
|
{
|
|
CacheClearer::getInstance()->clear();
|
|
|
|
return true;
|
|
}
|