Post by ratiumihai » Wed Sep 18, 2019 2:10 pm

Good day,

I have a problem when trying to eddit an order from the past, in Admin/Sales/Orders/Edit. I have already tried all the fixes I could find on the Opencart forum, including modifying the files from opencart/catalog/controller/api: customer, payment and shipping.php. On modifying this files (I have cleared all the possible caches, Theme and SASS), I can go all the way to step 3 of modyfing the order, where a strange error occurs that doesn't let me go further. After this, I have restored the original files. My website is at https://thecosmeticbottle.eu, A Journal3 theme is installed.

Thank you very much for your help.

Newbie

Posts

Joined
Mon Mar 13, 2017 4:07 pm

Post by xxvirusxx » Wed Sep 18, 2019 4:19 pm

You use custom fields?

viewtopic.php?t=187052

And you can post a screenshot.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by ratiumihai » Wed Sep 18, 2019 6:50 pm

Hi, thanks for your answer. Yes, I use 2 custom fields, Company name and VAT number, screen shots of the error below. On the custom field setting page, there is a Validation field, Regex, I have left it blank. I have already explored your proposed solution in the topic you are mentioning, that was where new errors started appearing, on the third step of editing the order, I mentioned this in my previous message.

Attachments

error1.JPG

error1.JPG (36.45 KiB) Viewed 1072 times


Newbie

Posts

Joined
Mon Mar 13, 2017 4:07 pm

Post by ratiumihai » Wed Sep 18, 2019 7:13 pm

I am attaching the screenshots with the error generated after modifying the payment and customer file in catalog/controller/api folder as per your new files in the topic you mentioned

Attachments

error4.JPG

error4.JPG (67.68 KiB) Viewed 1060 times

error3.JPG

error3.JPG (69.9 KiB) Viewed 1060 times

error2.JPG

error2.JPG (63.91 KiB) Viewed 1060 times


Newbie

Posts

Joined
Mon Mar 13, 2017 4:07 pm
Who is online

Users browsing this forum: No registered users and 1 guest