// BugFix : empty errors message on adding products
This commit is contained in:
@@ -257,7 +257,7 @@ class CartControllerCore extends FrontController
|
|||||||
public function displayAjax()
|
public function displayAjax()
|
||||||
{
|
{
|
||||||
if ($this->errors)
|
if ($this->errors)
|
||||||
die(Tools::jsonEncode(array('hasError' => true, $this->errors)));
|
die(Tools::jsonEncode(array('hasError' => true, 'errors' => $this->errors)));
|
||||||
|
|
||||||
if (Tools::getIsset('summary'))
|
if (Tools::getIsset('summary'))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user