GX-Bug #52264 » PropertiersQuantityCheck.patch
src/GXMainComponents/Controllers/HttpView/ShopAjax/CheckStatusController.inc.php (revision ) | ||
---|---|---|
48 | 48 |
$quantityChecker = ''; |
49 | 49 |
$product = $productReadService->getProductById(new IdType((int)$this->_getQueryParameter('products_id'))); |
50 | 50 |
|
51 |
if($product->getSettings()->getPriceStatus() === 0) |
|
51 |
if($product->getSettings()->getPriceStatus() === 0 && $_SESSION['customers_status']['customers_status_show_price'] == '1')
|
|
52 | 52 |
{ |
53 | 53 |
$ajaxHandler = MainFactory::create('OrderAjaxHandler'); |
54 | 54 |
$ajaxHandler->set_data('GET', array( |
... | ... | |
461 | 461 |
$quantityChecker = ''; |
462 | 462 |
$product = $productReadService->getProductById(new IdType((int)$this->_getQueryParameter('products_id'))); |
463 | 463 |
|
464 |
if($product->getSettings()->getPriceStatus() === 0) |
|
464 |
if($product->getSettings()->getPriceStatus() === 0 && $_SESSION['customers_status']['customers_status_show_price'] == '1')
|
|
465 | 465 |
{ |
466 | 466 |
$ajaxHandler = MainFactory::create('OrderAjaxHandler'); |
467 | 467 |
|