GX-Bug #58941 » AttributAjaxCheckStatusFix.patch
| src/GXMainComponents/Controllers/HttpView/ShopAjax/CheckStatusController.inc.php (date 1532597104000) | ||
|---|---|---|
| 367 | 367 |
protected function _getAttributesPrice(AttributesAjaxHandler $ajaxHandler) |
| 368 | 368 |
{
|
| 369 | 369 |
$getArray = array( |
| 370 |
'action' => 'calculate_price', |
|
| 371 |
'products_qty' => str_replace(',', '.', $this->_getQueryParameter('products_qty')),
|
|
| 370 |
'action' => 'calculate_price' |
|
| 371 |
); |
|
| 372 |
|
|
| 373 |
$postArray = array( |
|
| 374 |
'products_qty' => (float)str_replace(',', '.', $this->_getQueryParameter('products_qty')),
|
|
| 372 | 375 |
'products_id' => $this->_getQueryParameter('products_id')
|
| 373 | 376 |
); |
| 374 | 377 |
|
| ... | ... | |
| 388 | 391 |
} |
| 389 | 392 |
|
| 390 | 393 |
$ajaxHandler->set_data('GET', $getArray);
|
| 394 |
$ajaxHandler->set_data('POST', $postArray);
|
|
| 391 | 395 |
$ajaxHandler->proceed(); |
| 392 | 396 |
$price = $ajaxHandler->get_response(); |
| 393 | 397 |
|