Skip to main content

Override shipping address not fully working

More
11 years 11 months ago #175469 by nathankeenmelb
-- 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.

More
11 years 11 months ago #175544 by nicolas
Hi,

Edit the file "show" of the view "order" of the backend via the menu Display>Views and change the code:
Code:
$this->type = 'shipping'; echo $this->loadTemplate('address');
to:
Code:
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.

More
11 years 11 months ago #175761 by nathankeenmelb
Okay great that's workable.

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

Time to create page: 0.206 seconds
Powered by Kunena Forum