Files
kikiriki.sklep.pl/modules/x13googlemerchant/upgrade/install-1.5.5.php
Jacek Pyziak 8d14e5d95c Add index.php file to googlemerchant XML module with redirect headers
This commit introduces a new index.php file in the googlemerchant XML module. The file contains headers to prevent caching and redirects users to the parent directory. This is part of the module's structure to ensure proper access control and user experience.
2026-02-16 22:37:27 +01:00

17 lines
372 B
PHP

<?php
if (!defined('_PS_VERSION_')) {
exit;
}
function upgrade_module_1_5_5()
{
Configuration::updateValue('X13_GOOGLEMERCHANT_CURRENCY_URL', 1);
// fix for not set shipping handling method
if (!Configuration::get('X13_GOOGLEMERCHANT_SHIP_BEHAVIOR')) {
Configuration::updateValue('X13_GOOGLEMERCHANT_SHIP_BEHAVIOR', 1);
}
return true;
}