Your cart
0

Shipping address is not preserved

More
2 months 3 weeks ago - 2 months 2 weeks 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\[email protected]
		$disableShip = easyshop('disable_shipping_address', 0);
to
		$disableShip = easyshop('config', 'disable_shipping_address', 0);

@61
		if (empty($jform['address_different']) || $disableShip)
to
		if (!isset($data["address_different"]) || $disableShip)

models\[email protected]
			if (empty($data['shipping_address']))
to
			if (empty($data['shipping_address']) && isset($data['address_different']))

models\[email protected]
				if (empty($data['address_different']))
to
				if (!isset($data['address_different']))

@98 added this line
                    $data['address_different'] = 0;
Last edit: 2 months 2 weeks ago by MiCHi.

Please Log in or Create an account to join the conversation.

Moderators: Rainy

wWw.joomtech.net. All rights reserved.

CONTACT US
  • This email address is being protected from spambots. You need JavaScript enabled to view it.
HIRE US to develop your store.

© 2015 - 2019 wWw.joomtech.net. All rights reserved. JoomTech.net is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla!® name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.