first commit
This commit is contained in:
@@ -0,0 +1,212 @@
|
||||
<?php
|
||||
/**
|
||||
* 2012-2015 Patryk Marek PrestaDev.pl
|
||||
*
|
||||
* Patryk Marek PrestaDev.pl - PD Google Merchant Center Pro © 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-2015 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 Google Merchant Center Pro - PrestaShop 1.5.x and 1.6.x Module
|
||||
* @version 2.2.0
|
||||
* @date 04-03-2016
|
||||
*/
|
||||
|
||||
class GoogleMerchantCenterProModel extends ObjectModel
|
||||
{
|
||||
public $id_shop;
|
||||
public $id_lang;
|
||||
public $id_country;
|
||||
public $id_currency;
|
||||
public $id_carrier = 0;
|
||||
public $id_pdgooglemerchantcenterpro_taxonomy;
|
||||
|
||||
public $id_image_type;
|
||||
|
||||
public $active = 1;
|
||||
|
||||
public $only_available = 1;
|
||||
public $available_for_order = 1;
|
||||
public $only_active = 1;
|
||||
public $selected_categories;
|
||||
public $exclude_products;
|
||||
public $exclude_manufacturers;
|
||||
public $exclude_suppliers;
|
||||
public $products_attributes = 0;
|
||||
public $include_shipping_cost = 1;
|
||||
public $description = 0;
|
||||
public $rewrite_url = 1;
|
||||
|
||||
public $features_enabled = 1;
|
||||
|
||||
public $unit_pricing_measure = 0;
|
||||
|
||||
public $min_product_price;
|
||||
public $gtin;
|
||||
public $mpn = 0;
|
||||
public $adults = 0;
|
||||
public $manu_name;
|
||||
public $mpn_prefix;
|
||||
public $gid_prefix;
|
||||
|
||||
public $image_limit = 2;
|
||||
|
||||
public $sizes_attribute_group;
|
||||
public $color_attribute_group;
|
||||
|
||||
public $date_add = '0000-00-00 00:00:00';
|
||||
public $date_upd = '0000-00-00 00:00:00';
|
||||
public $date_gen = '0000-00-00 00:00:00';
|
||||
public $generating = 0;
|
||||
|
||||
public $ean_validiation;
|
||||
public $html_desc_cleaner;
|
||||
|
||||
|
||||
/**
|
||||
* @see ObjectModel::$definition
|
||||
*/
|
||||
public static $definition = array(
|
||||
'table' => 'pdgooglemerchantcenterpro',
|
||||
'primary' => 'id_pdgooglemerchantcenterpro',
|
||||
'multilang' => false,
|
||||
'fields' => array(
|
||||
'id_shop' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true),
|
||||
'id_lang' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true),
|
||||
'id_country' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true),
|
||||
'id_currency' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true),
|
||||
'id_carrier' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true),
|
||||
'id_pdgooglemerchantcenterpro_taxonomy' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => false),
|
||||
'id_image_type' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true),
|
||||
'image_limit' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true),
|
||||
'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'available_for_order' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'only_available' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'only_active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'features_enabled' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'selected_categories' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'required' => false),
|
||||
'exclude_products' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'required' => false),
|
||||
'exclude_manufacturers' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'required' => false),
|
||||
'exclude_suppliers' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'required' => false),
|
||||
'products_attributes' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'include_shipping_cost' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'description' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => false),
|
||||
'rewrite_url' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'min_product_price' => array('type' => self::TYPE_FLOAT, 'shop' => true, 'validate' => 'isPrice', 'required' => false),
|
||||
'ean_validiation' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'html_desc_cleaner' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'unit_pricing_measure' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'gtin' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => false),
|
||||
'mpn' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => false),
|
||||
'adults' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'manu_name' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'mpn_prefix' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'required' => false),
|
||||
'gid_prefix' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'required' => false),
|
||||
'sizes_attribute_group' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'required' => false),
|
||||
'color_attribute_group' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => false),
|
||||
'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'),
|
||||
'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'),
|
||||
'date_gen' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'),
|
||||
'generating' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false)
|
||||
)
|
||||
);
|
||||
|
||||
public function __construct($id_pdgooglemerchantcenterpro = null, $id_lang = null, $id_shop = null)
|
||||
{
|
||||
parent::__construct($id_pdgooglemerchantcenterpro, $id_lang, $id_shop);
|
||||
}
|
||||
|
||||
public function add($autodate = true, $null_values = false)
|
||||
{
|
||||
return parent::add($autodate, $null_values);
|
||||
}
|
||||
|
||||
public function delete()
|
||||
{
|
||||
if ((int)$this->id === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::delete();
|
||||
}
|
||||
|
||||
public function update($autodate = false, $null_values = false)
|
||||
{
|
||||
if ((int)$this->id === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::update($autodate, $null_values);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates tables
|
||||
*/
|
||||
public static function createTables()
|
||||
{
|
||||
return Db::getInstance()->execute('
|
||||
CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'pdgooglemerchantcenterpro` (
|
||||
`id_pdgooglemerchantcenterpro` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`id_pdgooglemerchantcenterpro_taxonomy` int(10) unsigned NOT NULL,
|
||||
`id_shop` int(11) unsigned NOT NULL DEFAULT \'1\',
|
||||
`id_lang` int(11) unsigned NOT NULL DEFAULT \'1\',
|
||||
`id_country` int(11) unsigned NOT NULL DEFAULT \'1\',
|
||||
`id_currency` int(11) unsigned NOT NULL DEFAULT \'1\',
|
||||
`id_carrier` int(11) unsigned NOT NULL DEFAULT \'1\',
|
||||
`id_image_type` int(11) unsigned NOT NULL DEFAULT \'0\',
|
||||
`image_limit` int(11) unsigned NOT NULL DEFAULT \'2\',
|
||||
|
||||
`active` tinyint(1) unsigned NOT NULL DEFAULT \'1\',
|
||||
`available_for_order` tinyint(1) unsigned NOT NULL DEFAULT \'1\',
|
||||
`only_available` tinyint(1) NOT NULL DEFAULT \'1\',
|
||||
`only_active` tinyint(1) NOT NULL DEFAULT \'1\',
|
||||
`selected_categories` text,
|
||||
`exclude_products` text,
|
||||
`exclude_manufacturers` text,
|
||||
`exclude_suppliers` text,
|
||||
`products_attributes` tinyint(1) NOT NULL DEFAULT \'0\',
|
||||
|
||||
`features_enabled` tinyint(1) unsigned NOT NULL DEFAULT \'1\',
|
||||
|
||||
`include_shipping_cost` tinyint(1) unsigned NOT NULL DEFAULT \'1\',
|
||||
`description` tinyint(1) unsigned NOT NULL DEFAULT \'0\',
|
||||
`rewrite_url` tinyint(1) unsigned NOT NULL DEFAULT \'1\',
|
||||
|
||||
`min_product_price` decimal(20,6) NOT NULL DEFAULT \'0.000000\',
|
||||
|
||||
`unit_pricing_measure` tinyint(1) unsigned NOT NULL DEFAULT \'0\',
|
||||
`gtin` int(11) unsigned NOT NULL DEFAULT \'1\',
|
||||
`mpn` int(11) unsigned NOT NULL DEFAULT \'0\',
|
||||
`adults` tinyint(1) unsigned NOT NULL DEFAULT \'0\',
|
||||
`manu_name` tinyint(1) unsigned NOT NULL DEFAULT \'1\',
|
||||
`mpn_prefix` text,
|
||||
`gid_prefix` text,
|
||||
`sizes_attribute_group` varchar(255) NOT NULL,
|
||||
`color_attribute_group` int(10) unsigned NOT NULL,
|
||||
|
||||
`ean_validiation` tinyint(1) NOT NULL DEFAULT \'0\',
|
||||
`html_desc_cleaner` tinyint(1) NOT NULL DEFAULT \'0\',
|
||||
|
||||
`date_add` datetime,
|
||||
`date_upd` datetime,
|
||||
`date_gen` datetime,
|
||||
`generating` tinyint(1) unsigned NOT NULL DEFAULT \'1\',
|
||||
PRIMARY KEY (`id_pdgooglemerchantcenterpro`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=UTF8;
|
||||
');
|
||||
}
|
||||
|
||||
public static function dropTables()
|
||||
{
|
||||
$sql = 'DROP TABLE IF EXISTS
|
||||
`'._DB_PREFIX_.'pdgooglemerchantcenterpro`';
|
||||
|
||||
return Db::getInstance()->execute($sql);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
<?php
|
||||
/**
|
||||
* 2012-2015 Patryk Marek PrestaDev.pl
|
||||
*
|
||||
* Patryk Marek PrestaDev.pl - PD Google Merchant Center Pro © 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-2015 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 Google Merchant Center Pro - PrestaShop 1.5.x and 1.6.x Module
|
||||
* @version 2.2.0
|
||||
* @date 04-03-2016
|
||||
*/
|
||||
|
||||
class GoogleMerchantCenterProModelDictionary extends ObjectModel
|
||||
{
|
||||
public $active = 1;
|
||||
public $source_word;
|
||||
public $destination_word;
|
||||
public $date_add = '0000-00-00 00:00:00';
|
||||
public $date_upd = '0000-00-00 00:00:00';
|
||||
|
||||
public static $definition = array(
|
||||
'table' => 'pdgooglemerchantcenterpro_dictionary',
|
||||
'primary' => 'id_pdgooglemerchantcenterpro_dictionary',
|
||||
'multilang_shop' => false,
|
||||
'fields' => array(
|
||||
'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'source_word' => array('type' => self::TYPE_STRING, 'validate' => 'isString'),
|
||||
'destination_word' => array('type' => self::TYPE_STRING, 'validate' => 'isString'),
|
||||
'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'),
|
||||
'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'),
|
||||
),
|
||||
);
|
||||
|
||||
public function add($autodate = false, $null_values = false)
|
||||
{
|
||||
return parent::add($autodate, $null_values);
|
||||
}
|
||||
|
||||
public function delete()
|
||||
{
|
||||
if ((int)$this->id === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::delete();
|
||||
}
|
||||
|
||||
public function update($null_values = false)
|
||||
{
|
||||
if ((int)$this->id === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::update($null_values);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates tables
|
||||
*/
|
||||
public static function createTables()
|
||||
{
|
||||
return Db::getInstance()->execute('
|
||||
CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'pdgooglemerchantcenterpro_dictionary` (
|
||||
`id_pdgooglemerchantcenterpro_dictionary` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`source_word` text,
|
||||
`destination_word` text,
|
||||
`active` tinyint(1) unsigned NOT NULL DEFAULT \'1\',
|
||||
`date_add` datetime,
|
||||
`date_upd` datetime,
|
||||
PRIMARY KEY (`id_pdgooglemerchantcenterpro_dictionary`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=UTF8;
|
||||
');
|
||||
}
|
||||
|
||||
public static function dropTables()
|
||||
{
|
||||
$sql = 'DROP TABLE IF EXISTS
|
||||
`'._DB_PREFIX_.'pdgooglemerchantcenterpro_dictionary`';
|
||||
|
||||
return Db::getInstance()->execute($sql);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
<?php
|
||||
/**
|
||||
* 2012-2015 Patryk Marek PrestaDev.pl
|
||||
*
|
||||
* Patryk Marek PrestaDev.pl - PD Google Merchant Center Pro © 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-2015 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 Google Merchant Center Pro - PrestaShop 1.5.x and 1.6.x Module
|
||||
* @version 2.2.0
|
||||
* @date 04-03-2016
|
||||
*/
|
||||
|
||||
class GoogleMerchantCenterProModelTaxonomy extends ObjectModel
|
||||
{
|
||||
public $imported = 0;
|
||||
public $import = 0;
|
||||
|
||||
public $taxonomy_lang;
|
||||
public $languages;
|
||||
public $countries;
|
||||
public $currencies;
|
||||
|
||||
public $date_add = '0000-00-00 00:00:00';
|
||||
|
||||
|
||||
public static $definition = array(
|
||||
'table' => 'pdgooglemerchantcenterpro_taxonomy',
|
||||
'primary' => 'id_pdgooglemerchantcenterpro_taxonomy',
|
||||
'multilang_shop' => false,
|
||||
'fields' => array(
|
||||
'taxonomy_lang' => array('type' => self::TYPE_STRING, 'validate' => 'isString'),
|
||||
'languages' => array('type' => self::TYPE_STRING, 'validate' => 'isString'),
|
||||
'currencies' => array('type' => self::TYPE_STRING, 'validate' => 'isString'),
|
||||
'countries' => array('type' => self::TYPE_STRING, 'validate' => 'isString'),
|
||||
'import' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'imported' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => false),
|
||||
'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'),
|
||||
|
||||
),
|
||||
);
|
||||
|
||||
public function add($autodate = false, $null_values = false)
|
||||
{
|
||||
return parent::add($autodate, $null_values);
|
||||
}
|
||||
|
||||
public function delete()
|
||||
{
|
||||
if ((int)$this->id === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::delete();
|
||||
}
|
||||
|
||||
public function update($autodate = false, $null_values = false)
|
||||
{
|
||||
if ((int)$this->id === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::update($autodate, $null_values);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates tables
|
||||
*/
|
||||
public static function createTables()
|
||||
{
|
||||
return Db::getInstance()->execute('
|
||||
CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'pdgooglemerchantcenterpro_taxonomy` (
|
||||
`id_pdgooglemerchantcenterpro_taxonomy` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`taxonomy_lang` varchar(5) NOT NULL,
|
||||
`languages` text NOT NULL,
|
||||
`currencies` text NOT NULL,
|
||||
`countries` text NOT NULL,
|
||||
`imported` tinyint(1) unsigned NOT NULL DEFAULT \'0\',
|
||||
`import` tinyint(1) unsigned NOT NULL DEFAULT \'0\',
|
||||
`date_add` datetime,
|
||||
PRIMARY KEY (`id_pdgooglemerchantcenterpro_taxonomy`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=UTF8;
|
||||
');
|
||||
}
|
||||
|
||||
public static function dropTables()
|
||||
{
|
||||
$sql = 'DROP TABLE IF EXISTS
|
||||
`'._DB_PREFIX_.'pdgooglemerchantcenterpro_taxonomy`';
|
||||
|
||||
return Db::getInstance()->execute($sql);
|
||||
}
|
||||
|
||||
public static function createTablesTaxonomyData()
|
||||
{
|
||||
return Db::getInstance()->execute('
|
||||
CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'pdgooglemerchantcenterpro_taxonomy_data` (
|
||||
`id_taxonomy_data` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`value` text NOT NULL,
|
||||
`lang` varchar(5) NOT NULL,
|
||||
PRIMARY KEY (`id_taxonomy_data`), KEY `lang` (`lang`), FULLTEXT KEY `fulltext_index` (`value`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=UTF8;
|
||||
');
|
||||
}
|
||||
|
||||
public static function dropTablesTaxonomyData()
|
||||
{
|
||||
$sql = 'DROP TABLE IF EXISTS
|
||||
`'._DB_PREFIX_.'pdgooglemerchantcenterpro_taxonomy_data`';
|
||||
|
||||
return Db::getInstance()->execute($sql);
|
||||
}
|
||||
|
||||
public static function addTaxonomyCorelations()
|
||||
{
|
||||
$return = false;
|
||||
$module = Module::getInstanceByName('pdgooglemerchantcenterpro');
|
||||
foreach ($module->googleTaxonomiesCorelations as $taxonomy_lang => $v) {
|
||||
$data = '(\''.pSQL($taxonomy_lang).'\',\''.pSQL($v['languages']).'\',\''.pSQL($v['currencies']).'\',\''.pSQL($v['countries']).'\',0,0,\''.'0000-00-00 00:00:00'.'\')';
|
||||
|
||||
$return = Db::getInstance()->execute('
|
||||
INSERT INTO `'._DB_PREFIX_.'pdgooglemerchantcenterpro_taxonomy` (`taxonomy_lang`, `languages`, `currencies`, `countries`, `imported`, `import`, `date_add`)
|
||||
VALUES '.$data);
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates tables
|
||||
*/
|
||||
public static function createTablesTaxonomyCategory()
|
||||
{
|
||||
return Db::getInstance()->execute('
|
||||
CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'pdgooglemerchantcenterpro_taxonomy_category` (
|
||||
`id_category` int(11) NOT NULL,
|
||||
`txt_taxonomy` text NOT NULL,
|
||||
`lang` varchar(5) NOT NULL,
|
||||
KEY `id_category` (`id_category`,`lang`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=UTF8;
|
||||
');
|
||||
}
|
||||
|
||||
public static function dropTablesTaxonomyCategory()
|
||||
{
|
||||
$sql = 'DROP TABLE IF EXISTS
|
||||
`'._DB_PREFIX_.'pdgooglemerchantcenterpro_taxonomy_category`';
|
||||
|
||||
return Db::getInstance()->execute($sql);
|
||||
}
|
||||
}
|
||||
29
modules/pdgooglemerchantcenterpro/models/index.php
Normal file
29
modules/pdgooglemerchantcenterpro/models/index.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* 2012-2015 Patryk Marek PrestaDev.pl
|
||||
*
|
||||
* Patryk Marek PrestaDev.pl - PD Google Merchant Center Pro © 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-2015 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 Google Merchant Center Pro - PrestaShop 1.5.x and 1.6.x Module
|
||||
* @version 2.2.0
|
||||
* @date 04-03-2016
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
Reference in New Issue
Block a user