Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 General
 Suggestions - NOT QUESTIONS
 Don't Overwrite Updated Order Admin Variables
Author « Topic »  

Graham Slaughter
Ecommerce Template Expert

821 Posts

Posted - 05/27/2022 :  13:15:54  
This is actually something we have coded in ourselves for an admin page we made. I highly suggest it for adminorders.asp

Between shipping, customer service, email, livechat - there is often more than one person editing the order notes in the order admin for the same order. It isn't all the time, but it happens pretty regularly here. The problem is that one person will overwrite the notes of another person or even worse yet, overwrite an order status change that another person made. More than one order has been shipped out by shipping while customer service is in the process of refunding that order. (yikes!)

Preventing this is pretty easy. It requires a quick database check for any new edits prior to updating with new data.

For example. When an order is opened in adminorders.asp, a copy of the original data in ordStatusInfo is saved as a variable.

When the person editing that order hits update, the page first checks to see if the data in the ordStatusInfo variable still matches the database. If it DOESN'T match, that means someone else edited that data since you first opened the order and your update would effectively erase their update. Naturally, the page instead gives an error notice and shows what changed since the order was opened at your local computer. This allows us to keep from overwriting each other's changes and saves a heck of a lot of confusion.

Creating this doesn't even require any other updates or additions to the database. It just intelligently uses data that already exists.

dbdave
ECT Moderator

USA
10411 Posts

Posted - 05/28/2022 :  07:56:55  
I would love to have this as a feature.
I've asked Vince about this sort of thing before and your solution seems like an easy thing.
Any ect user that have more than one person working on orders in the admin could use this feature.

Thanks,
David

Graham Slaughter
Ecommerce Template Expert

821 Posts

Posted - 06/05/2022 :  10:28:07  
I'm happy to share the code I used with Vince, but the idea is pretty simple as outlined. It would be great to get that incorporated!

Vince
Administrator

42768 Posts

Posted - 06/15/2022 :  11:11:52  
A very good idea, Graham, and I've made the changes for this now. I'll get these changes into the updater asap.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Graham Slaughter
Ecommerce Template Expert

821 Posts

Posted - 06/15/2022 :  11:17:53  
woohoo! Thanks!

Vince
Administrator

42768 Posts

Posted - 06/16/2022 :  03:54:01  
Hi all
The changes are now in the v7.5 updater in the incorders.asp / php file.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.04 seconds. Snitz Forums 2000