- Posts: 606
- Thank you received: 13
Billing & Shipping Address
- mohairbears
-
Topic Author
- Offline
Less
More
15 years 6 months ago #10517
by mohairbears
Billing & Shipping Address was created by mohairbears
Hi,
When in orders if you make a change to the shipping address this change reflects in the billing address which you may not want. example A customer has emailed me after placing an order and forgot to add the shipping address, when I change the address it also changes the billing address which I do not want to happen?
thanks
When in orders if you make a change to the shipping address this change reflects in the billing address which you may not want. example A customer has emailed me after placing an order and forgot to add the shipping address, when I change the address it also changes the billing address which I do not want to happen?
thanks
Please Log in or Create an account to join the conversation.
15 years 6 months ago #10548
by nicolas
Replied by nicolas on topic Re: Billing & Shipping Address
Hi,
That should indeed not be the case. We have some code to handle such cases so if that doesn't work, there is probably a bug. We are going to look at that problem tomorrow and keep you posted.
That should indeed not be the case. We have some code to handle such cases so if that doesn't work, there is probably a bug. We are going to look at that problem tomorrow and keep you posted.
Please Log in or Create an account to join the conversation.
15 years 6 months ago #10615
by nicolas
Replied by nicolas on topic Re: Billing & Shipping Address
We found the problem. Could you replace the code:
if($oldData->address_published!=0 && !empty($addressData->address_id) && $orderClass->addressUsed($addressData->address_id,$order_id,$type)){
by:
if(!empty($addressData->address_id) && ($oldData->address_published!=0||$order_id) && $orderClass->addressUsed($addressData->address_id,$order_id,$type)){
in the file amdinistrator/components/com_hikashop/classes/address.php and try again ?
if($oldData->address_published!=0 && !empty($addressData->address_id) && $orderClass->addressUsed($addressData->address_id,$order_id,$type)){
by:
if(!empty($addressData->address_id) && ($oldData->address_published!=0||$order_id) && $orderClass->addressUsed($addressData->address_id,$order_id,$type)){
in the file amdinistrator/components/com_hikashop/classes/address.php and try again ?
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
Less
More
- Posts: 606
- Thank you received: 13
15 years 6 months ago #10616
by mohairbears
Replied by mohairbears on topic Re: Billing & Shipping Address
Hi, thanks I will try this, funny thing is that is does not affect all orders? some work as it.
Another small change I would like to achieve is, is it possible to move 'billing address' to where 'shipping address is and 'shipping address' to where 'billing address' is?
thanks
Another small change I would like to achieve is, is it possible to move 'billing address' to where 'shipping address is and 'shipping address' to where 'billing address' is?
thanks
Please Log in or Create an account to join the conversation.
15 years 6 months ago #10638
by nicolas
Replied by nicolas on topic Re: Billing & Shipping Address
Yes, it happened only on some cases because of the way we handle addresses.
You can edit the file form of the view order via the menu Display->Views and switch the code:
<td id="hikashop_billing_address">
<?php $this->type = 'billing'; echo $this->loadTemplate('address');?>
</td>
and the code:
<td id="hikashop_shipping_address">
<?php $this->type = 'shipping'; echo $this->loadTemplate('address');?>
</td>
You can edit the file form of the view order via the menu Display->Views and switch the code:
<td id="hikashop_billing_address">
<?php $this->type = 'billing'; echo $this->loadTemplate('address');?>
</td>
and the code:
<td id="hikashop_shipping_address">
<?php $this->type = 'shipping'; echo $this->loadTemplate('address');?>
</td>
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 1
- Thank you received: 0
15 years 4 months ago #16081
by laneycoletti
Replied by laneycoletti on topic Re: Billing & Shipping Address
Good afternoon,
This suggestion did not help. The billing and shipping addresses both reflect each other when edited/updated.
Please help. Thank you.
Kind regards,
Laney
This suggestion did not help. The billing and shipping addresses both reflect each other when edited/updated.
Please help. Thank you.
Kind regards,
Laney
Please Log in or Create an account to join the conversation.
15 years 4 months ago #16093
by nicolas
Replied by nicolas on topic Re: Billing & Shipping Address
I'm not following you ?
That post is from 2 months ago and the fix we talked about are already implemented in the last few releases of HikaShop. I even just tested it on the back end of our demo website and the edition of addresses in orders works independently without issue.
Are you using the latest version ?
That post is from 2 months ago and the fix we talked about are already implemented in the last few releases of HikaShop. I even just tested it on the back end of our demo website and the edition of addresses in orders works independently without issue.
Are you using the latest version ?
Please Log in or Create an account to join the conversation.
14 years 1 month ago #60681
by IP3
Replied by IP3 on topic Re: Billing & Shipping Address
Joomla 1.5.26 - I know, I know . . .
Hikashop 1.5.7
Same behavior. When updating ship to, bill to is also changed. Can edit the customer and add a new address, but cannot select/assign it to an existing order.
Hikashop 1.5.7
Same behavior. When updating ship to, bill to is also changed. Can edit the customer and add a new address, but cannot select/assign it to an existing order.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #60691
by nicolas
Replied by nicolas on topic Re: Billing & Shipping Address
Here is the solution:
www.hikashop.com/en/forum/3-bug-report/5...ges-issue.html#60000
www.hikashop.com/en/forum/3-bug-report/5...ges-issue.html#60000
Please Log in or Create an account to join the conversation.
Time to create page: 0.176 seconds