// Unit changed for product pictures, I set it up to a usable minimum #PSCFV-6597

This commit is contained in:
Damien Metzger
2013-02-21 11:52:42 +01:00
parent 3460821e51
commit dc027cb3cf
3 changed files with 15 additions and 18 deletions
+11 -12
View File
@@ -3474,18 +3474,17 @@ class AdminProductsControllerCore extends AdminController
$current_shop_id = 0;
$data->assign(array(
'countImages' => $count_images,
'id_product' => (int)Tools::getValue('id_product'),
'id_category_default' => (int)$this->_category->id,
'images' => $images,
'token' => $this->token,
'table' => $this->table,
'max_image_size' => $this->max_image_size / 1024 / 1024,
'up_filename' => (string)Tools::getValue('virtual_product_filename_attribute'),
'currency' => $this->context->currency,
'current_shop_id' => $current_shop_id
)
);
'countImages' => $count_images,
'id_product' => (int)Tools::getValue('id_product'),
'id_category_default' => (int)$this->_category->id,
'images' => $images,
'token' => $this->token,
'table' => $this->table,
'max_image_size' => $this->max_image_size / 1024 / 1024,
'up_filename' => (string)Tools::getValue('virtual_product_filename_attribute'),
'currency' => $this->context->currency,
'current_shop_id' => $current_shop_id
));
}
else
$this->displayWarning($this->l('You must save the product in this shop before adding images.'));