[Skip to main content](#vessel-content)

#   Billing/Shipping Address changes issue

##

- **[tedstrauss](/forum/user/541-tedstrauss "View tedstrauss's Profile")**
- [![tedstrauss's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/541-tedstrauss "View tedstrauss's Profile") Topic Author
- [ Offline](/forum/user/541-tedstrauss)

Less More

- Posts: 35
- Thank you received: 1
-
-

14 years 3 months ago [\#59889](#59889) by [tedstrauss](/forum/user/541-tedstrauss "View tedstrauss's Profile")  *[Billing/Shipping Address changes issue](/forum/3-bug-report/59889-billing-shipping-address-changes-issue#59889 "Hi Nicolas,  I had this issue many many versions ago and I thought it was fixed by now but it doesn't seem to be... so maybe it's a bug.. &#91;as I can't imagine it would be a feature&#93;.  If, from the Administrator backend, you go into an order in Hikashop, and look at editing the Shipping Address and say change it to: 1 Hikashop Place.  and then press OK, the Shipping Address changes AS EXPECTED but &#91;and here's my issue&#93; so does the Billing Address.... ?!?!  Why doesn't it respect my change and only change the Shipping Address?  Can't wait for that to be fixed! Cheers,  Emmanuel Lemor")* was created by *[tedstrauss](/forum/user/541-tedstrauss "View tedstrauss's Profile")*

Hi Nicolas,

I had this issue many many versions ago and I thought it was fixed by now but it doesn't seem to be... so maybe it's a bug..
[as I can't imagine it would be a feature].

If, from the Administrator backend, you go into an order in Hikashop, and look at editing the Shipping Address and say change it to:
1 Hikashop Place.

and then press OK, the Shipping Address changes AS EXPECTED but [and here's my issue] so does the Billing Address.... ?!?!

Why doesn't it respect my change and only change the Shipping Address?

Can't wait for that to be fixed!
Cheers,

Emmanuel Lemor

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81OTg4OS1iaWxsaW5nc2hpcHBpbmctYWRkcmVzcy1jaGFuZ2VzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

14 years 3 months ago [\#59973](#59973) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Billing/Shipping Address changes issue](/forum/3-bug-report/59889-billing-shipping-address-changes-issue#59973 "Hi Nicolas,  I had this issue many many versions ago and I thought it was fixed by now but it doesn't seem to be... so maybe it's a bug.. &#91;as I can't imagine it would be a feature&#93;.  If, from the Administrator backend, you go into an order in Hikashop, and look at editing the Shipping Address and say change it to: 1 Hikashop Place.  and then press OK, the Shipping Address changes AS EXPECTED but &#91;and here's my issue&#93; so does the Billing Address.... ?!?!  Why doesn't it respect my change and only change the Shipping Address?  Can't wait for that to be fixed! Cheers,  Emmanuel Lemor")*

Hi,

It has always been like that. You're the first one reporting that problem I think.

Try to change the code:
$filter .= ' AND (order_id!='.$order_id.' OR order_'.$type.'_address_id='.(int)$address_id.')';

to:
if($type=='shipping'){
$filter .= ' AND (order_id!='.$order_id.' OR order_billing_address_id='.(int)$address_id.')';
}else{
$filter .= ' AND (order_id!='.$order_id.' OR order_shipping_address_id='.(int)$address_id.')';
}

in the file administrator/components/com_hikashop/classes/address.php and that should solve the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81OTg4OS1iaWxsaW5nc2hpcHBpbmctYWRkcmVzcy1jaGFuZ2VzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tedstrauss](/forum/user/541-tedstrauss "View tedstrauss's Profile")**
- [![tedstrauss's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/541-tedstrauss "View tedstrauss's Profile") Topic Author
- [ Offline](/forum/user/541-tedstrauss)

Less More

- Posts: 35
- Thank you received: 1
-
-

14 years 3 months ago -  14 years 3 months ago [\#60000](#60000) by [tedstrauss](/forum/user/541-tedstrauss "View tedstrauss's Profile")  Replied by *[tedstrauss](/forum/user/541-tedstrauss "View tedstrauss's Profile")* on topic *[Re: Billing/Shipping Address changes issue](/forum/3-bug-report/59889-billing-shipping-address-changes-issue#60000 "Hi Nicolas,  I had this issue many many versions ago and I thought it was fixed by now but it doesn't seem to be... so maybe it's a bug.. &#91;as I can't imagine it would be a feature&#93;.  If, from the Administrator backend, you go into an order in Hikashop, and look at editing the Shipping Address and say change it to: 1 Hikashop Place.  and then press OK, the Shipping Address changes AS EXPECTED but &#91;and here's my issue&#93; so does the Billing Address.... ?!?!  Why doesn't it respect my change and only change the Shipping Address?  Can't wait for that to be fixed! Cheers,  Emmanuel Lemor")*

Hi Nicolas,

Thanks for the fix/update but I'm using v1.5.8 and I couldn't find a match in the file:

/administrator/components/com_hikashop/classes/address.php
[I searched via a find feature and visually]

but I found it under
/administrator/components/com_hikashop/classes/order.php

Hopefully that's the right file? [since I updated it ![;)](/media/kunena/emoticons/24.png ";)") ]

Will this be incorporated into the next version [I am trying to avoid making any changes to files that will get overwritten later].

Cheers,

Emmanuel.

Last edit: 14 years 3 months ago by [tedstrauss](/forum/user/541-tedstrauss "View tedstrauss's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81OTg4OS1iaWxsaW5nc2hpcHBpbmctYWRkcmVzcy1jaGFuZ2VzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

14 years 3 months ago [\#60088](#60088) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Billing/Shipping Address changes issue](/forum/3-bug-report/59889-billing-shipping-address-changes-issue#60088 "Hi Nicolas,  I had this issue many many versions ago and I thought it was fixed by now but it doesn't seem to be... so maybe it's a bug.. &#91;as I can't imagine it would be a feature&#93;.  If, from the Administrator backend, you go into an order in Hikashop, and look at editing the Shipping Address and say change it to: 1 Hikashop Place.  and then press OK, the Shipping Address changes AS EXPECTED but &#91;and here's my issue&#93; so does the Billing Address.... ?!?!  Why doesn't it respect my change and only change the Shipping Address?  Can't wait for that to be fixed! Cheers,  Emmanuel Lemor")*

Ah yes, that's the order class not the address class ![:)](/media/kunena/emoticons/3.png ":)")

It will be in next version yes.

The following user(s) said Thank You: [tedstrauss](/forum/user/541-tedstrauss "View tedstrauss's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81OTg4OS1iaWxsaW5nc2hpcHBpbmctYWRkcmVzcy1jaGFuZ2VzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[further](/forum/user/10547-further "View further's Profile")**
- [![further's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/10547-further "View further's Profile")
- [ Offline](/forum/user/10547-further)

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 11 months ago [\#76796](#76796) by [further](/forum/user/10547-further "View further's Profile")  Replied by *[further](/forum/user/10547-further "View further's Profile")* on topic *[Billing/Shipping Address changes issue](/forum/3-bug-report/59889-billing-shipping-address-changes-issue#76796 "Hi Nicolas,  I had this issue many many versions ago and I thought it was fixed by now but it doesn't seem to be... so maybe it's a bug.. &#91;as I can't imagine it would be a feature&#93;.  If, from the Administrator backend, you go into an order in Hikashop, and look at editing the Shipping Address and say change it to: 1 Hikashop Place.  and then press OK, the Shipping Address changes AS EXPECTED but &#91;and here's my issue&#93; so does the Billing Address.... ?!?!  Why doesn't it respect my change and only change the Shipping Address?  Can't wait for that to be fixed! Cheers,  Emmanuel Lemor")*

I am still having this issue. I am able to add another address but it is still updating the billing address. You can test it out by creating an account by putting one of these products in the cart [ on this page](http://70.84.137.56/~geecheeo/home/index.php/gullah-bags-totes/category/13-postale-french-script-collection)

I am running the latest version of hikashop 2.0.0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81OTg4OS1iaWxsaW5nc2hpcHBpbmctYWRkcmVzcy1jaGFuZ2VzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[further](/forum/user/10547-further "View further's Profile")**
- [![further's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/10547-further "View further's Profile")
- [ Offline](/forum/user/10547-further)

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 11 months ago [\#76798](#76798) by [further](/forum/user/10547-further "View further's Profile")  Replied by *[further](/forum/user/10547-further "View further's Profile")* on topic *[Billing/Shipping Address changes issue](/forum/3-bug-report/59889-billing-shipping-address-changes-issue#76798 "Hi Nicolas,  I had this issue many many versions ago and I thought it was fixed by now but it doesn't seem to be... so maybe it's a bug.. &#91;as I can't imagine it would be a feature&#93;.  If, from the Administrator backend, you go into an order in Hikashop, and look at editing the Shipping Address and say change it to: 1 Hikashop Place.  and then press OK, the Shipping Address changes AS EXPECTED but &#91;and here's my issue&#93; so does the Billing Address.... ?!?!  Why doesn't it respect my change and only change the Shipping Address?  Can't wait for that to be fixed! Cheers,  Emmanuel Lemor")*

Sorry ... It is fixed now. Not sure what happened.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81OTg4OS1iaWxsaW5nc2hpcHBpbmctYWRkcmVzcy1jaGFuZ2VzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.055 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
