- Posts: 640
- Thank you received: 16
CRITICAL - User information in order not reseting after changing order's user
- PeterChain
-
Topic Author
- Offline
Less
More
9 years 6 days ago #278798
by PeterChain
CRITICAL - User information in order not reseting after changing order's user was created by PeterChain
-- 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
-- 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 or Create an account to join the conversation.
9 years 6 days ago #278800
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic CRITICAL - User information in order not reseting after changing order's user
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,
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 & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- PeterChain
-
Topic Author
- Offline
Less
More
- Posts: 640
- Thank you received: 16
9 years 6 days ago #278805
by PeterChain
Replied by PeterChain on topic CRITICAL - User information in order not reseting after changing order's user
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,
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 or Create an account to join the conversation.
9 years 6 days ago #278806
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic CRITICAL - User information in order not reseting after changing order's user
Hello,
Did you check the box "set user address" ?
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,
Did you check the box "set user address" ?
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 & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: PeterChain
Please Log in or Create an account to join the conversation.
- PeterChain
-
Topic Author
- Offline
Less
More
- Posts: 640
- Thank you received: 16
9 years 2 hours ago #279201
by PeterChain
Replied by PeterChain on topic CRITICAL - User information in order not reseting after changing order's user
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.
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 or Create an account to join the conversation.
8 years 11 months ago #279226
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic CRITICAL - User information in order not reseting after changing order's user
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
to make the input checkbox checked by default.
Regards,
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:
<label for="hikamarket_order_edit_customer_addrlink"><input type="checkbox" value="1" name="order[customer][addrlink]" id="hikamarket_order_edit_customer_addrlink" /><span><?php echo JText::_('SET_USER_ADDRESS'); ?></span></label>
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: PeterChain
Please Log in or Create an account to join the conversation.
- PeterChain
-
Topic Author
- Offline
Less
More
- Posts: 640
- Thank you received: 16
8 years 11 months ago #279272
by PeterChain
Replied by PeterChain on topic CRITICAL - User information in order not reseting after changing order's user
GREAT!
Will try this. Thank you very much!
Will try this. Thank you very much!
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.182 seconds