Post by FCWC » Sat Apr 11, 2020 1:53 am

Version 3.0.3.1

First - the forum will not allow the searching of "edit order" and I have through numerous pages of Google searches.
So a note - when an order is made, I don't run credit card authorization automatically. I pull order first. Then process. So order is still "live".
Sometimes customer will order the incorrect part so I need to be able to edit order. Remove and add correct parts.
Looking at the UI in Admin Sales>Order> you have View / Edit /Delete
So Edit = No
View > Edit = No
Both show Customer Details but other tabs aren't accessible.
I then used the Customers > Customers> Customer-Login into Store. To see if I could edit on back end. From there Order History > My Orders I can view an order.
But it only allows for Reorder and Returns. No editing.

I even tried a new API. System > Users > API. And of course set this new one in Systems > Settings > Options > API
No changes.

New member

Posts

Joined
Tue Jul 31, 2012 3:17 am

Post by Johnathan » Sat Apr 11, 2020 9:29 pm

If the built-in OpenCart order editor doesn't work for your situation, Edit Order Line Items might. It lets you quickly add or edit products on the order, and the other line items like Shipping or fees or discounts. You can edit other information on the order as well, though it needs to be done manually for each field in the "order" database table.

Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any further questions.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by FCWC » Wed Apr 15, 2020 1:49 am

So no one had any real thoughts on why it isn't working?

New member

Posts

Joined
Tue Jul 31, 2012 3:17 am

Post by straightlight » Wed Apr 15, 2020 1:55 am

More information might be needed if the solution above may not suit your needs. For instance, do you use any extensions that could reflect order changes?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by FCWC » Wed Apr 15, 2020 4:17 am

If OC was working correctly it would suit my needs perfectly.
As mentioned I have followed the standard procedure in order to edit Orders. (see here for details https://isenselabs.com/posts/how-to-man ... cart-order)
I even created a new API instead of just the default and that did not change anything.
It will not allow me to "Continue" I just see a red circle with line through it.
I have no Errors in my error logs.
Was hoping someone had the same issue to give me some leads.

The Extensions I have isntalled are as follows:
Brand Logo on Manufacturer Page Yasir Malik 1.0.1 Enabled 19/02/2019
Default timezone for PHP and Database Tri Le 5.0.0 Enabled 10/04/2020
Display Specials With Discounts Clear Thinking, LLC v302.1 Enabled 12/04/2019
Export/Import Tool (V3.22) for OpenCart 3.x mhccorp.com 3.x-3.22 Enabled 01/02/2020
ExtendedSearch AlexDW 1.04 Disabled 14/05/2019
Popup Auto Sizer FMK - IP_CAM OC v.3.x Enabled 19/02/2019
Zoom Image Admin Product List xxvirusxx 1.0 Enabled 19/02/2019
[underr] Admin Filter+ Andrii Burkatskyi aka underr 1.0 Enabled 19/02/2019
[underr] Sort By Newest
OptimBlog - admin Dmitriy Khokhlov | optimlab.com 3.0.0.5 Enabled 04/03/2019
OptimBlog - category Dmitriy Khokhlov | optimlab.com 3.0.0.5 Enabled 04/03/2019
OptimBlog - category All Theme Dmitriy Khokhlov | optimlab.com 3.0.0.5 Enabled 04/03/2019
OptimBlog - Seo Url Dmitriy Khokhlov | optimlab.com 3.0.0.1 Enabled 04/03/2019

I setup a new test server today. Everything with it is default and it works so I will be back tracking to see if any of the these extensions causes the issue.

New member

Posts

Joined
Tue Jul 31, 2012 3:17 am

Post by FCWC » Wed Apr 15, 2020 6:20 am

Well - I installed every extension I have on my active site onto my test site and test site still works ...

I assume it has something to due with the session file.
What , when, where, and how ... (Lurch ughhh sound)

New member

Posts

Joined
Tue Jul 31, 2012 3:17 am

Post by straightlight » Wed Apr 15, 2020 8:10 am

FCWC wrote:
Wed Apr 15, 2020 6:20 am
Well - I installed every extension I have on my active site onto my test site and test site still works ...

I assume it has something to due with the session file.
What , when, where, and how ... (Lurch ughhh sound)
Are both sites on the same environment or on different server environment? If different environment, might be a cache issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by FCWC » Thu Apr 16, 2020 1:06 am

No - same server.
Though the demo is not using SSL. I left it as a default install.
It turns out the issue is the API system. Numerous people have had major issues with this over the years (forum research) Most due to their IP changing. I am on a dedicated IP. It is listed in my list of USER IP's for API. But for some reason it still fails.
I am currently trying to get the DisableAPI plugin to work. But so far no luck.

I have no choice but to further my experiments on the demo site.
Make it use SSL and see if the same situation occurs.

New member

Posts

Joined
Tue Jul 31, 2012 3:17 am

Post by straightlight » Thu Apr 16, 2020 1:10 am

FCWC wrote:
Thu Apr 16, 2020 1:06 am
No - same server.
Though the demo is not using SSL. I left it as a default install.
It turns out the issue is the API system. Numerous people have had major issues with this over the years (forum research) Most due to their IP changing. I am on a dedicated IP. It is listed in my list of USER IP's for API. But for some reason it still fails.
I am currently trying to get the DisableAPI plugin to work. But so far no luck.

I have no choice but to further my experiments on the demo site.
Make it use SSL and see if the same situation occurs.
That would be MOD security. I have seen during custom jobs where the session backward compatibility is not propagating the session ID through the catalog-end side. The API ID is working itself, it just depends on the server's configuration.

Another way to test this would be from your admin - > extensions - > extensions - > themes(x) - > <your_theme> - > edit - > dropdown menu at the top. Do you notice and themes showing in the drop-down menu?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by FCWC » Thu Apr 16, 2020 2:46 am

straightlight - yes I do and I can edit. Note I only have 1 theme, which is an edit of the default.

Default Store Theme
- World Conspiracy Disabled
Main Store Theme
- World Conspiracy Enabled

New member

Posts

Joined
Tue Jul 31, 2012 3:17 am

Post by straightlight » Thu Apr 16, 2020 2:50 am

FCWC wrote:
Thu Apr 16, 2020 2:46 am
straightlight - yes I do and I can edit. Note I only have 1 theme, which is an edit of the default.

Default Store Theme
- World Conspiracy Disabled
Main Store Theme
- World Conspiracy Enabled
Then, yes. It is possible that the session propagation does not follow through from your server. To ensure this is the case, please see these fixes:

- viewtopic.php?f=202&t=211613&p=754456#p754454
- viewtopic.php?f=202&t=211613&p=754456#p754456

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by FCWC » Fri Apr 17, 2020 12:54 am

Followed those directions and edited those 2 files.
Cleared cache (though off) 7 refreshed modifications. Nothing. Cleared all Sessions. Restarted browser - nothing.

Side note - hoe many sessions tokens should I have once logged in?

New member

Posts

Joined
Tue Jul 31, 2012 3:17 am

Post by straightlight » Fri Apr 17, 2020 12:58 am

FCWC wrote:
Fri Apr 17, 2020 12:54 am
Followed those directions and edited those 2 files.
Cleared cache (though off) 7 refreshed modifications. Nothing. Cleared all Sessions. Restarted browser - nothing.

Side note - hoe many sessions tokens should I have once logged in?
See this solution regarding Pragma-cache issues: viewtopic.php?f=134&t=215776#p775632 .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 529 guests