Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TIP] Delete Individual Orders
07-10-2009, 03:30 PM
Post: #1
[TIP] Delete Individual Orders
Some times users make some wrong orders or You have some test orders and You want them completely remove from back-end. So here is simple solution, how You can enable this feature, so that you have.

Usually Your orders Tab in Backoffice looks like this:
   
Now
Open tabs/AdminOrders.php in your renamed admin (when Your admin directory is backoffice, then this file is located at backoffice/tabs/AdminOrders.php) directory, then find this line (it should be line 23):
PHP Code:
$this->colorOnBackground true
Then copy the below line on a new line after it:
PHP Code:
$this->delete true
You can then go to the Order tab as usual and a delete button should appear for each order.

Look this picture how its looks:    
Find all posts by this user
Quote this message in a reply
Thank given by somponga, yro
01-21-2010, 06:01 AM
Post: #2
RE: [TIP] Delete Individual Orders
Is it applicapable to Merchantise Returns (RMAs) also?
Visit this user's website Find all posts by this user
Quote this message in a reply
01-22-2010, 04:48 AM
Post: #3
RE: [TIP] Delete Individual Orders
You can try
Find all posts by this user
Quote this message in a reply
01-22-2010, 05:20 AM (This post was last modified: 01-22-2010 05:20 AM by yro.)
Post: #4
RE: [TIP] Delete Individual Orders
I tried but unfortunately i can't find right place for this code. Slips are displayed differently.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-23-2010, 06:49 PM
Post: #5
RE: [TIP] Delete Individual Orders
I checked AdminReturn.php file and beginning is the same. I don't have right now live testing server, so I can't test it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: