diff --git a/services/product/Stock.php b/services/product/Stock.php index 3c27ff7a8d53f0c2b360233921b8f99707870075..b51fd7d972c507e726aedf77ad18f76b41b47df5 100644 --- a/services/product/Stock.php +++ b/services/product/Stock.php @@ -483,7 +483,7 @@ class Stock extends Service if (!$productFlatQty['qty']) { $productName = Yii::$service->store->getStoreAttrVal($product['name'], 'name'); 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] );