aktualizacja rozmiaru pliku google-merchant_id-1.xml oraz poprawki w klasach Convertor i Creator
This commit is contained in:
2
.vscode/ftp-kr.sync.cache.json
vendored
2
.vscode/ftp-kr.sync.cache.json
vendored
@@ -98,7 +98,7 @@
|
||||
},
|
||||
"google-merchant_id-1.xml": {
|
||||
"type": "-",
|
||||
"size": 18184009,
|
||||
"size": 17872793,
|
||||
"lmtime": 0,
|
||||
"modified": true
|
||||
},
|
||||
|
||||
@@ -80,7 +80,7 @@ class Convertor
|
||||
|
||||
if (!in_array(Configuration::get('PS_HOME_CATEGORY'), $product_category))
|
||||
{
|
||||
//$product_category[] = Configuration::get('PS_HOME_CATEGORY');
|
||||
$product_category[] = Configuration::get('PS_HOME_CATEGORY');
|
||||
}
|
||||
|
||||
if (!$product_category)
|
||||
@@ -192,7 +192,7 @@ class Convertor
|
||||
$this->creator->addImageToProduct($original_product['cover'], $product->id, true);
|
||||
}
|
||||
|
||||
if ($original_product['feature'] and $original_product['feature_value'])
|
||||
if ( isset( $original_product['feature'] ) and isset( $original_product['feature_value'] ) )
|
||||
{
|
||||
$original_product['features'] = array(
|
||||
array(
|
||||
|
||||
@@ -100,7 +100,6 @@ class Creator
|
||||
public function addImageToProduct($url, $id, $is_cover = false){
|
||||
if (!empty($url)) {
|
||||
$url = str_replace(' ', '%20', $url);
|
||||
|
||||
$image = new Image();
|
||||
$image->id_product = (int)$id;
|
||||
$image->position = Image::getHighestPosition($id) + 1;
|
||||
|
||||
BIN
modules/x13allegro/.DS_Store
vendored
BIN
modules/x13allegro/.DS_Store
vendored
Binary file not shown.
BIN
modules/x13allegro/classes/.DS_Store
vendored
BIN
modules/x13allegro/classes/.DS_Store
vendored
Binary file not shown.
BIN
modules/x13allegro/classes/php5/.DS_Store
vendored
BIN
modules/x13allegro/classes/php5/.DS_Store
vendored
Binary file not shown.
BIN
modules/x13allegro/classes/php5/Api/.DS_Store
vendored
BIN
modules/x13allegro/classes/php5/Api/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
modules/x13allegro/classes/php70/.DS_Store
vendored
BIN
modules/x13allegro/classes/php70/.DS_Store
vendored
Binary file not shown.
BIN
modules/x13allegro/classes/php70/Api/.DS_Store
vendored
BIN
modules/x13allegro/classes/php70/Api/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
modules/x13allegro/classes/php71/.DS_Store
vendored
BIN
modules/x13allegro/classes/php71/.DS_Store
vendored
Binary file not shown.
BIN
modules/x13allegro/classes/php71/Api/.DS_Store
vendored
BIN
modules/x13allegro/classes/php71/Api/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
modules/x13allegro/controllers/.DS_Store
vendored
BIN
modules/x13allegro/controllers/.DS_Store
vendored
Binary file not shown.
BIN
modules/x13allegro/controllers/admin/.DS_Store
vendored
BIN
modules/x13allegro/controllers/admin/.DS_Store
vendored
Binary file not shown.
BIN
modules/x13allegro/img/.DS_Store
vendored
BIN
modules/x13allegro/img/.DS_Store
vendored
Binary file not shown.
BIN
modules/x13allegro/views/.DS_Store
vendored
BIN
modules/x13allegro/views/.DS_Store
vendored
Binary file not shown.
BIN
modules/x13allegro/views/css/.DS_Store
vendored
BIN
modules/x13allegro/views/css/.DS_Store
vendored
Binary file not shown.
BIN
modules/x13allegro/views/js/.DS_Store
vendored
BIN
modules/x13allegro/views/js/.DS_Store
vendored
Binary file not shown.
BIN
modules/x13allegro/views/js/chosen/.DS_Store
vendored
BIN
modules/x13allegro/views/js/chosen/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
BIN
modules/x13allegro/views/js/tinymce/.DS_Store
vendored
BIN
modules/x13allegro/views/js/tinymce/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
BIN
modules/x13allegro/views/templates/.DS_Store
vendored
BIN
modules/x13allegro/views/templates/.DS_Store
vendored
Binary file not shown.
Reference in New Issue
Block a user