[-] FO : #PSTEST-981 - Minimal quantity not setted correctly on combibination

This commit is contained in:
mDeflotte
2012-03-07 15:13:30 +00:00
parent 4f5df215fe
commit 250ace1f48
5 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ class CartControllerCore extends FrontController
{
// If product has attribute, minimal quantity is set with minimal quantity of attribute
$minimal_quantity = ($this->id_product_attribute) ? Attribute::getAttributeMinimalQty($this->id_product_attribute) : $product->minimal_quantity;
$this->errors[] = Tools::displayError('You must add').' '.$minimal_quantity.' '.Tools::displayError('Minimum quantity');
$this->errors[] = Tools::displayError('You must add', false).' '.$minimal_quantity.' '.Tools::displayError('Minimum quantity', false);
}
else if (!$updateQuantity)
$this->errors[] = Tools::displayError('You already have the maximum quantity available for this product.', false);