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

  • Posts: 578
  • Thank you received: 14
  • Hikamarket Multivendor Hikashop Business
7 months 6 days ago #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

Please Log in or Create an account to join the conversation.

  • Posts: 22261
  • Thank you received: 3465
  • MODERATOR
7 months 6 days ago #278800

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 & 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.

  • Posts: 578
  • Thank you received: 14
  • Hikamarket Multivendor Hikashop Business
7 months 6 days ago #278805

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 or Create an account to join the conversation.

  • Posts: 22261
  • Thank you received: 3465
  • MODERATOR
7 months 6 days ago #278806

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,


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.

  • Posts: 578
  • Thank you received: 14
  • Hikamarket Multivendor Hikashop Business
7 months 1 hour ago #279201

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 or Create an account to join the conversation.

  • Posts: 22261
  • Thank you received: 3465
  • MODERATOR
6 months 4 weeks ago #279226

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

<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>
to make the input checkbox checked by default.

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.

  • Posts: 578
  • Thank you received: 14
  • Hikamarket Multivendor Hikashop Business
6 months 4 weeks ago #279272

GREAT!

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.090 seconds
Powered by Kunena Forum