GX-Bug #51487 » DownloadStockCheckFix.patch
| src/system/classes/checkout/CheckoutProcessProcess.inc.php (revision ) | ||
|---|---|---|
| 1140 | 1140 |
|
| 1141 | 1141 |
$t_stock_values_array = xtc_db_fetch_array($t_stock_result); |
| 1142 | 1142 |
|
| 1143 |
if(!$t_stock_values_array['products_attributes_filename'] |
|
| 1143 |
if(DOWNLOAD_STOCK_CHECK == 'true' || !$t_stock_values_array['products_attributes_filename']
|
|
| 1144 | 1144 |
&& ((empty($p_combis_id) && STOCK_CHECK == 'true') |
| 1145 | 1145 |
|| (!empty($p_combis_id) |
| 1146 | 1146 |
&& (($t_use_combis_quantity == 0 && STOCK_CHECK == 'true') |