Problems editing customer address

  • Posts: 64
  • Thank you received: 4
  • Hikamarket Frontedition Hikashop Business
9 hours 50 minutes ago #366780

-- HikaShop version -- : 5.1.5
-- HikaMarket version -- : 5.0.0
-- Joomla version -- : 4.4.12
-- PHP version -- : 8.2.28
-- Browser(s) name and version -- : Firefox 137.0.2

I'm trying to edit the customer shipping address using Hikamarket frontend management, on clicking save it displays 0 in the address details section, screenshot is attached

I have done some debugging and found these lines (321 to 323) in the the save function of the Hikamarket address class:

if(!hikashop_isClient('administrator') && (!in_array($oldData->address_user_id, $allowed) || !$oldData->address_published)) {
   $do = false;
}
I think this is disabling the action of editing the customer address on frontend. if yes, why can I see the edit option?

Thanks,

Dave

Attachments:
Last edit: 5 hours 37 minutes ago by Jerome. Reason: fixing code

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

Moderators: Obsidev
Time to create page: 0.051 seconds
Powered by Kunena Forum