GX-Bug #62908 » CartShippingCostsSefPickupFix.patch
| src/system/classes/shopping_cart/CartShippingCostsAjaxHandler.inc.php (date 1561020507000) | ||
|---|---|---|
| 71 | 71 |
$t_cart_shipping_method, |
| 72 | 72 |
true |
| 73 | 73 |
); |
| 74 | ||
| 75 |
$shippingTaxClass = (int)constant('MODULE_SHIPPING_' . strtoupper($t_cart_shipping_module) . '_TAX_CLASS');
|
|
| 74 |
|
|
| 75 |
$shippingTaxClass = 0; |
|
| 76 |
|
|
| 77 |
if(defined('MODULE_SHIPPING_' . strtoupper($t_cart_shipping_module) . '_TAX_CLASS'))
|
|
| 78 |
{
|
|
| 79 |
$shippingTaxClass = (int)constant('MODULE_SHIPPING_' . strtoupper($t_cart_shipping_module) . '_TAX_CLASS');
|
|
| 80 |
} |
|
| 81 |
|
|
| 76 | 82 |
if ($shippingTaxClass > 0 && (int)$_SESSION['customers_status']['customers_status_show_price_tax'] === 1) {
|
| 77 | 83 |
/** @var \xtcPrice_ORIGIN $xtcPrice */ |
| 78 | 84 |
$xtcPrice = $GLOBALS['xtPrice']; |