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

#   CRITICAL - User information in order not reseting after changing order's user

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

9 years 2 months ago [\#278798](#278798) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[CRITICAL - User information in order not reseting after changing order's user](/forum/22-market-bug-report/892024-critical-user-information-in-order-not-reseting-after-changing-orders-user#278798 "-- HikaShop version -- : 3.2.0 -- HikaMarket version -- : 1.7.3 -- Joomla version -- : 3.8.0 -- PHP version -- : 5.6.28 -- Browser(s) name and version -- : All  Hi,  I'm testing offline some characteristics of the frontend order control panel of Hikamarket,  and I have observed that if you change the user of an order, this user can have all the old user information.  To my understanding, that should not be possible, shall I set up something extra or it could it be a bug?  Thanks in advance,  -- Victor")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- HikaShop version -- : 3.2.0
-- HikaMarket version -- : 1.7.3
-- Joomla version -- : 3.8.0
-- PHP version -- : 5.6.28
-- Browser(s) name and version -- : All

Hi,

I'm testing offline some characteristics of the frontend order control panel of Hikamarket,

and I have observed that if you change the user of an order, this user can have all the old user information.

To my understanding, that should not be possible, shall I set up something extra or it could it be a bug?

Thanks in advance,

--
Victor

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#278800](#278800) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[CRITICAL - User information in order not reseting after changing order's user](/forum/22-market-bug-report/892024-critical-user-information-in-order-not-reseting-after-changing-orders-user#278800 "-- HikaShop version -- : 3.2.0 -- HikaMarket version -- : 1.7.3 -- Joomla version -- : 3.8.0 -- PHP version -- : 5.6.28 -- Browser(s) name and version -- : All  Hi,  I'm testing offline some characteristics of the frontend order control panel of Hikamarket,  and I have observed that if you change the user of an order, this user can have all the old user information.  To my understanding, that should not be possible, shall I set up something extra or it could it be a bug?  Thanks in advance,  -- Victor")*

Hello,

I'm sorry but I don't understand the kind of "old user information" is available.
Can you please provide us more details about that ; you can use our contact email if you want to provide some private information.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

9 years 1 month ago [\#278805](#278805) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[CRITICAL - User information in order not reseting after changing order's user](/forum/22-market-bug-report/892024-critical-user-information-in-order-not-reseting-after-changing-orders-user#278805 "-- HikaShop version -- : 3.2.0 -- HikaMarket version -- : 1.7.3 -- Joomla version -- : 3.8.0 -- PHP version -- : 5.6.28 -- Browser(s) name and version -- : All  Hi,  I'm testing offline some characteristics of the frontend order control panel of Hikamarket,  and I have observed that if you change the user of an order, this user can have all the old user information.  To my understanding, that should not be possible, shall I set up something extra or it could it be a bug?  Thanks in advance,  -- Victor")*

Hi Jerome,

thanks for your help, I will proceed to re-explain the problem in a different way to try to make it simpler:

We have a test site with a clean install of HikaShop, Hikamarket multivendor and latest Joomla.

I have users A, B and C, all them have their own Hikashop client addresses, one for billing, one for shipping.

I enter the site as a Hikamarket Vendor and get in the order administration area.

There I click an order from the list of orders.

I can see the customer who made the order. The selected Billing address. The selected Shipping address.

Under customer section I am allowed to change the user who made the order.

I do.

There is no save button but I know that after changing the user who made the order this gets changed 'on the fly'.

**But ATTENTION!** Addresses do not get changed!
They are still the former user addresses, so if I proceed with the cart workflow, both the invoice and the shipping label will be emitted to the original user of the order.

––––

I think that after you change the user who owns the order both adresses should get reseted to nothing or to the new user in charge of the order default address.

–––––––––––––

Hope this way is clearer.

Best regards,

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#278806](#278806) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[CRITICAL - User information in order not reseting after changing order's user](/forum/22-market-bug-report/892024-critical-user-information-in-order-not-reseting-after-changing-orders-user#278806 "-- HikaShop version -- : 3.2.0 -- HikaMarket version -- : 1.7.3 -- Joomla version -- : 3.8.0 -- PHP version -- : 5.6.28 -- Browser(s) name and version -- : All  Hi,  I'm testing offline some characteristics of the frontend order control panel of Hikamarket,  and I have observed that if you change the user of an order, this user can have all the old user information.  To my understanding, that should not be possible, shall I set up something extra or it could it be a bug?  Thanks in advance,  -- Victor")*

Hello,

Did you check the box "set user address" ?
[ pasteboard.co/GLgiVwU.png](https://pasteboard.co/GLgiVwU.png)

Because if you don't ; I'm afraid that's logical that the address are not modified and stayed the same (because you asked for it).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

9 years 1 month ago [\#279201](#279201) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[CRITICAL - User information in order not reseting after changing order's user](/forum/22-market-bug-report/892024-critical-user-information-in-order-not-reseting-after-changing-orders-user#279201 "-- HikaShop version -- : 3.2.0 -- HikaMarket version -- : 1.7.3 -- Joomla version -- : 3.8.0 -- PHP version -- : 5.6.28 -- Browser(s) name and version -- : All  Hi,  I'm testing offline some characteristics of the frontend order control panel of Hikamarket,  and I have observed that if you change the user of an order, this user can have all the old user information.  To my understanding, that should not be possible, shall I set up something extra or it could it be a bug?  Thanks in advance,  -- Victor")*

Hi Jerome,

thanks for your answer and sorry for the delay in answering.

I confirm your statement about checking the "set user address" box. Now it works as it runs an on demand AJAX refresh of addresses.

Anyhow,

I don't understand the purpose of making it a requirement to change the address, I understand two different clients will never share their addresses, and if so, is because both of them have entered the same address in their own client profile.

so, MY QUESTION IS:

Is there a setup parameter or something that allows me to put this setting "set user address" checked by default?

or even better, checked by default and non visible to the user?

Thank you.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#279226](#279226) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[CRITICAL - User information in order not reseting after changing order's user](/forum/22-market-bug-report/892024-critical-user-information-in-order-not-reseting-after-changing-orders-user#279226 "-- HikaShop version -- : 3.2.0 -- HikaMarket version -- : 1.7.3 -- Joomla version -- : 3.8.0 -- PHP version -- : 5.6.28 -- Browser(s) name and version -- : All  Hi,  I'm testing offline some characteristics of the frontend order control panel of Hikamarket,  and I have observed that if you change the user of an order, this user can have all the old user information.  To my understanding, that should not be possible, shall I set up something extra or it could it be a bug?  Thanks in advance,  -- Victor")*

Hello,

No there is no setting for that in HikaMarket and the fact that this checkbox is not checked by default is simply because it's the behavior in the HikaShop backend.
And the goal of HikaMarket is to provide the same interfaces but in the front-end ; so changing a behavior would be problematic since you won't do the same thing in the front-end and in the backend.

Now you can still use a view override (ordermarket / show_block_edit_customer) and change the line Code:

&lt;label for="hikamarket_order_edit_customer_addrlink"&gt;&lt;input type="checkbox" value="1" name="order[customer][addrlink]" id="hikamarket_order_edit_customer_addrlink" /&gt;&lt;span&gt;&lt;?php echo JText::_('SET_USER_ADDRESS'); ?&gt;&lt;/span&gt;&lt;/label&gt;

to make the input checkbox checked by default.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

9 years 1 month ago [\#279272](#279272) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[CRITICAL - User information in order not reseting after changing order's user](/forum/22-market-bug-report/892024-critical-user-information-in-order-not-reseting-after-changing-orders-user#279272 "-- HikaShop version -- : 3.2.0 -- HikaMarket version -- : 1.7.3 -- Joomla version -- : 3.8.0 -- PHP version -- : 5.6.28 -- Browser(s) name and version -- : All  Hi,  I'm testing offline some characteristics of the frontend order control panel of Hikamarket,  and I have observed that if you change the user of an order, this user can have all the old user information.  To my understanding, that should not be possible, shall I set up something extra or it could it be a bug?  Thanks in advance,  -- Victor")*

GREAT!

Will try this. Thank you very much!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg5MjAyNC1jcml0aWNhbC11c2VyLWluZm9ybWF0aW9uLWluLW9yZGVyLW5vdC1yZXNldGluZy1hZnRlci1jaGFuZ2luZy1vcmRlcnMtdXNlcj90bXBsPW1hcmtkb3du) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.060 seconds

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