Commit 8864de5a by 王东红

fix temp

parent 4ebfe05b
......@@ -132,12 +132,15 @@ class ProductRepositorySave
foreach ($attributeCodes as $attributeCode) {
if ($variation->getData($attributeCode) === null) {
throw new InputException(
__(
'Product with id "%1" does not contain required attribute "%2".',
$productId,
$attributeCode
)
'Product with id '.$productId.' does not contain required attribute '. $attributeCode
);
// throw new InputException(
// __(
// 'Product with id "%1" does not contain required attribute "%2".',
// $productId,
// $attributeCode
// )
// );
}
$valueKey .= $attributeCode . ':' . $variation->getData($attributeCode) . ';';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment