Override shipping address not fully working

  • Posts: 30
  • Thank you received: 0
10 years 1 month ago #175469

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.3

I've setup a 'pick up' option for one of my products which utilises the option "override shipping address".

The order notification email is fine - the overridden shipping address is set to the option I chose (our office).
The shipping invoice is fine.
But the order page in the back-end of Joomla does not show the "shipping address" to be the overridden shipping address. I assume it's coming from the billing address.

This is confusing for the administration of the orders.

The order page should show the overridden shipping address, should it not?

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
10 years 1 month ago #175544

Hi,

Edit the file "show" of the view "order" of the backend via the menu Display>Views and change the code:

$this->type = 'shipping';
		echo $this->loadTemplate('address');
to:
if(empty($this->order->override_shipping_address)) {
		$this->type = 'shipping';
		echo $this->loadTemplate('address');
	} else {
		echo $this->order->override_shipping_address;
	}
and that should fix the problem.

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

  • Posts: 30
  • Thank you received: 0
10 years 1 month ago #175761

Okay great that's workable.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum