Edit Custom fields in order details page show error

  • Posts: 567
  • Thank you received: 11
  • Hikashop Business
3 years 1 day ago #337278

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.21
-- PHP version -- : 5.6.40
-- Browser(s) name and version -- : chrome

Hi, I have tried to edit the time on the order details page at the backend. But when I edit the date, it shows an error to fill up another custom field, but this custom field is not included in the backend, because I already set it to show for a specific category.


There are two custom fields:

dateforalacarte and dateforpackage

When customers order from the ala carte category, then it will only show dateforalacarte on the frontend, but when I want to edit the field on the backend, the system wants me to fill up for dateforpackage also. Kindly check on the issue

Attachments:

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
3 years 6 hours ago #337347

Hello,

In order to analyze your current issue can you provide these elements :
- Backend user references (with maximum Acl)
- Url link to backend (administrator)
- A step by step to reproduce your described issue.
- Ftp references (if debug is required)

Note : Use our Contact us form in order to provide these elements, and don't forget to add an Url link to this topic.

Awaiting your returns to progress on your subject.
Regards

Last edit: 3 years 6 hours ago by Philip.

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

  • Posts: 567
  • Thank you received: 11
  • Hikashop Business
2 years 11 months ago #337415

Hi, I have sent the details using the contact form, kindly check on the issue, Thanks.

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

  • Posts: 567
  • Thank you received: 11
  • Hikashop Business
2 years 11 months ago #337522

Hi, any update for the issue ?

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
2 years 11 months ago #337537

Hello,

Sorry for this return but unfortunately your backend access references didn't work, can you double-check it please and provide new references ?
Plus, my IP was blocked, usually when someone should intervene on your site this kind of ip blocker plugin isn't really recommended.
Because the HikaShop team have several person and so several potential Ip that must acceed to your website in order to progress.

Regards

Last edit: 2 years 11 months ago by Philip.

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

  • Posts: 567
  • Thank you received: 11
  • Hikashop Business
2 years 11 months ago #337797

This message contains confidential information


Hi, can you use this information to try again?

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

  • Posts: 567
  • Thank you received: 11
  • Hikashop Business
2 years 11 months ago #337999

Hi, any update for this issue?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 11 months ago #338030

Hi,

Thank you for the access and instructions and sorry for the delay.
I was able to reproduce the issue on your website and do some debugging.
I've also made a patch and successfully confirmed it fixes the problem on your website.
Please check again and it should work.
I've also included this patch on our end for the next version of HikaShop.

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

  • Posts: 567
  • Thank you received: 11
  • Hikashop Business
2 years 11 months ago #338080

Hi, can you show me which file and lines you have implemented the patches? Because I have other websites have the same issue.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 11 months ago #338087

Hi,

I changed the code:

$old = $order;
to:
$old = clone($order); 
$this->loadProducts($old);
in the file administrator/components/com_hikashop/classes/order.php

We've actually released a new version of HikaShop, the 4.4.5, which contains that fix.
So you can just update HikaShop to get the patch.
Note that since we just released it, we didn't activate the auto update. So for now, you would have to manually do the update by first downloading the install package of HikaShop on our website and installing it on your website.

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

  • Posts: 567
  • Thank you received: 11
  • Hikashop Business
2 years 9 months ago #339673

Hi, may I know is just change the code in this file, any other file do you change? because I apply the same fix in another website, also have the issue.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 9 months ago #339676

Hi,

I didn't do any other change.

Do you have the 4.3.0 in your other website ?
Because if you have an older version, it's likely that you're missing some other changes which is necessary for the fix to be complete.

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

Time to create page: 0.081 seconds
Powered by Kunena Forum