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.
17 lines
372 B
PHP
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;
|
|
}
|