提交 6a095768 编写于 作者: T Terry

stock

上级 553e54ce
...@@ -483,7 +483,7 @@ class Stock extends Service ...@@ -483,7 +483,7 @@ class Stock extends Service
if (!$productFlatQty['qty']) { if (!$productFlatQty['qty']) {
$productName = Yii::$service->store->getStoreAttrVal($product['name'], 'name'); $productName = Yii::$service->store->getStoreAttrVal($product['name'], 'name');
Yii::$service->helper->errors->add( Yii::$service->helper->errors->add(
'Product Name: {product_name}, The product is not in stock', 'Product Name: {product_name} , The product is not in stock',
['product_name' => $productName] ['product_name' => $productName]
); );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册