GX-Bug #49004 » CartDropDownQTYDoubleFix.patch
src/GXMainComponents/Controllers/HttpView/ShopAjax/CartDropdownController.inc.php (revision ) | ||
---|---|---|
74 | 74 |
$productCount = $this->shoppingCart->count_products(); |
75 | 75 |
$cartDropdown = $this->_getCartDropdown(); |
76 | 76 |
|
77 |
$result = $this->_getResponseArray(new StringType($cartSum), new IntType($productCount),
|
|
77 |
$result = $this->_getResponseArray(new StringType($cartSum), new DecimalType($productCount),
|
|
78 | 78 |
new StringType($cartDropdown)); |
79 | 79 |
|
80 | 80 |
return MainFactory::create('JsonHttpControllerResponse', $result); |