Shipping address is not preserved

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

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

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

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

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

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

Moderators: Rainy All rights reserved.

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

© 2015 - 2020 All rights reserved. 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.