Zen Cart Logo
Forums / General Questions / How to delete a comment in order?

How to delete a comment in order?

Locked

Views: 909

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
18 Nov 2008, 7:03 PM
#1
toussi avatar

toussi

New Zenner

Join Date:
Aug 2008
Posts:
45
Plugin Contributions:
0

How to delete a comment in order?

I need to delete a comment that was put into an order. How do i do this without destroying everything?

How do i edit it or delete it?

19 Nov 2008, 2:31 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,805
Plugin Contributions:
15

Re: How to delete a comment in order?

You'll need to edit the database, and unless you're skilled in that area, it's highly unrecommended to mess around there.

3 Dec 2010, 3:05 AM
#3
ningyotan avatar

ningyotan

New Zenner

Join Date:
Nov 2009
Posts:
56
Plugin Contributions:
0

Re: How to delete a comment in order?

dbltoe:

You'll need to edit the database, and unless you're skilled in that area, it's highly unrecommended to mess around there.

I'd like to do this also, I'm happy to alter the database but I'm a complete newbie at playing with that, could you send me in the right direction? Thanks in advance.

3 Dec 2010, 5:24 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How to delete a comment in order?

Very carefully, go into phpMyAdmin and in your database you will see the table for:
orders_status_history

browse it for the orders_id that matches the Order you want to remove a comment from ...

Then you can delete the text you want to remove, or the entire record ...

Be careful not to delete something that you may regret ...

NOTE: backups are your friend ...

13 Dec 2010, 10:17 AM
#5
ningyotan avatar

ningyotan

New Zenner

Join Date:
Nov 2009
Posts:
56
Plugin Contributions:
0

Re: How to delete a comment in order?

Legend, thanks. I've gone in and deleted the records containing the comments that were wrong. I backed up first and checked each individual order to make sure the entries disappeared, which they did.

Thank you very much! :bigups:

Ajeh:

Very carefully, go into phpMyAdmin and in your database you will see the table for:
orders_status_history

browse it for the orders_id that matches the Order you want to remove a comment from ...

Then you can delete the text you want to remove, or the entire record ...

Be careful not to delete something that you may regret ...

NOTE: backups are your friend ...