Forum Login
Shipping address is not preserved
- MiCHi
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
5 years 6 months ago - 5 years 6 months ago #220
by MiCHi
Shipping address is not preserved was created by MiCHi
Hello, another problem found, shipping address is not preserved and is overwritten with billing address, my fixes:
controllers\checkout.php@59to
@61to
models\checkout.php@90to
models\checkout.php@96to
@98 added this line
controllers\checkout.php@59
$disableShip = easyshop('disable_shipping_address', 0);
$disableShip = easyshop('config', 'disable_shipping_address', 0);
@61
if (empty($jform['address_different']) || $disableShip)
if (!isset($data["address_different"]) || $disableShip)
models\checkout.php@90
if (empty($data['shipping_address']))
if (empty($data['shipping_address']) && isset($data['address_different']))
models\checkout.php@96
if (empty($data['address_different']))
if (!isset($data['address_different']))
@98 added this line
$data['address_different'] = 0;
Last edit: 5 years 6 months ago by MiCHi.
Please Log in or Create an account to join the conversation.
Moderators: Rainy