Files
2024-10-25 14:16:28 +02:00

31 lines
1.1 KiB
PHP

<?php
/**
* 2012-2019 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD CSV Price update on products © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2019 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it) if you want any changes please contact with me at info@prestadev.pl
* @link http://prestadev.pl
* @package PD CSV Price update on products - PrestaShop 1.5.x and 1.6.x Module and 1.7.x Module
* @version 1.0.3
* @date 20-02-2017
*/
if (!defined('_PS_VERSION_')) {
exit;
}
function upgrade_module_1_0_6($module)
{
Configuration::updateValue('PD_CSVPU_PRICES_WITH_TAX', 0);
Db::getInstance(_PS_USE_SQL_SLAVE_)->Execute('ALTER TABLE `'._DB_PREFIX_.'pdcsvpriceupdate_history` ADD `prices_with_tax` tinyint(1) unsigned NOT NULL DEFAULT "0"');
return true;
}