- Posts: 30
- Thank you received: 0
Override shipping address not fully working
- nathankeenmelb
-
Topic Author
- Offline
Less
More
11 years 11 months ago #175469
by nathankeenmelb
Override shipping address not fully working was created 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?
-- 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.
11 years 11 months ago #175544
by nicolas
Replied by nicolas on topic Override shipping address not fully working
Hi,
Edit the file "show" of the view "order" of the backend via the menu Display>Views and change the code:
to:
and that should fix the problem.
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');
Code:
if(empty($this->order->override_shipping_address)) {
$this->type = 'shipping';
echo $this->loadTemplate('address');
} else {
echo $this->order->override_shipping_address;
}
Please Log in or Create an account to join the conversation.
- nathankeenmelb
-
Topic Author
- Offline
Less
More
- Posts: 30
- Thank you received: 0
11 years 11 months ago #175761
by nathankeenmelb
Replied by nathankeenmelb on topic Override shipping address not fully working
Okay great that's workable.
Please Log in or Create an account to join the conversation.
Time to create page: 0.176 seconds