[-] BO: Fix product attribute values on product duplication with multishop #PSCFV-5435
This commit is contained in:
1 parent
9499476837
commit
27014e8417
1 file changed
+2
-1
+2
-1
@@ -3251,8 +3251,9 @@ class ProductCore extends ObjectModel
|
|||||||
$combination_images = array();
|
$combination_images = array();
|
||||||
|
|
||||||
$result = Db::getInstance()->executeS('
|
$result = Db::getInstance()->executeS('
|
||||||
SELECT *
|
SELECT pa.*, product_attribute_shop.*
|
||||||
FROM `'._DB_PREFIX_.'product_attribute` pa
|
FROM `'._DB_PREFIX_.'product_attribute` pa
|
||||||
|
'.Shop::addSqlAssociation('product_attribute', 'pa').'
|
||||||
WHERE pa.`id_product` = '.(int)$id_product_old
|
WHERE pa.`id_product` = '.(int)$id_product_old
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user