// added pack.tpl in AdminProductsController

This commit is contained in:
lLefevre committed 2011-12-16 13:57:27 +00:00
1 parent 6e3da1b627
commit b1a68fd7c8
7 files changed
+495 -589

No files matched your search

@@ -3727,7 +3727,7 @@ class AdminProductsControllerCore extends AdminController
Pack::deleteItems($product->id);
// lines format: QTY x ID-QTY x ID
if (Tools::getValue('ppack'))
if (Tools::getValue('type_product') == 1)
{
$items = Tools::getValue('inputPackItems');
$lines = array_unique(explode('-', $items));