Chat Room Article Base Facebook Page Twitter RSS Feed
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 08, 2012, 03:56:26 PM

Login with username, password and session length
Search:     Advanced search
The E-commerce forum, the best place for advice for your Small Business.
12254 Posts in 1447 Topics by 5624 Members
Latest Member: Camlillwamnew
* Home Help Search Login Register
+  E-commerce forum
|-+  E-commerce
| |-+  Shopping cart software
| | |-+  Prestashop
| | | |-+  Removing orders from back office
« previous next »
Pages: [1] Print
Author Topic: Removing orders from back office  (Read 966 times)
dannylbrooke
Settling In
**

Karma: 2
Offline Offline

Gender: Female
Posts: 56



WWW
« on: March 25, 2010, 12:33:36 PM »

Does anybody know how to remove orders from your back office, i have the john doe one which i want to remove and i have done a few test orders myself but my back office says i have sold about £1500 worth of stuff.

Now i am receiving genuine orders i wanted to remove the pretend ones to save confusion, is this possible ????
Logged

JhnStcks
Global Moderator
Part of the Furniture
*****

Karma: 12
Offline Offline

Gender: Male
Posts: 406


WWW
« Reply #1 on: March 25, 2010, 01:07:05 PM »

Yes....

But it has to be done direct from the sql database.

Ask your host (scotserve) to do it for you if your not sure how.

All you need to is note down which order ids you want to delete, then browse to the ps_order table in your database, and delete those orders.
Logged

Snowboarding Goggles For all things Snowboarding and Skiing.  Goggles, Helmets, Gloves and Clothing.
The Fashion Agent We are your fashion agent.  Designer Clothes, sunglasses, headphones from top designer brands.
fivewood
Liking it Here
***

Karma: 6
Offline Offline

Gender: Male
Posts: 102


WWW
« Reply #2 on: March 25, 2010, 02:06:23 PM »

If you dont fancy editing the sql database...



Go to AdminOrders.php class in webroot\admin\tabs\AdminOrders.php

At line 25 look for

global $cookie, $currentIndex;

And add this code below it…

$this->delete = true;

That’s it.. when you click on “Order” main tab you will see the delete button “X” next to each order
Logged

http://www.footballbits.co.uk - huge selection of officially licenced football souvenirs, merchandise, memorabilia and gifts. Perfect for fans of all ages and at affordable prices.
JhnStcks
Global Moderator
Part of the Furniture
*****

Karma: 12
Offline Offline

Gender: Male
Posts: 406


WWW
« Reply #3 on: March 25, 2010, 02:23:05 PM »

Well i didnt know that.....
Logged

Snowboarding Goggles For all things Snowboarding and Skiing.  Goggles, Helmets, Gloves and Clothing.
The Fashion Agent We are your fashion agent.  Designer Clothes, sunglasses, headphones from top designer brands.
gordym75
Part of the Furniture
****

Karma: 7
Offline Offline

Gender: Male
Posts: 165


The Chatroom Ninja!


« Reply #4 on: March 25, 2010, 04:34:51 PM »

I just tried fivewood's method and it worked a treat. You learn something every day.
Logged
fivewood
Liking it Here
***

Karma: 6
Offline Offline

Gender: Male
Posts: 102


WWW
« Reply #5 on: March 25, 2010, 05:17:54 PM »

Well i didnt know that.....

I'd written it down in my notes as I thought it was very useful

And I did think that you'd told me about it     huh
Logged

http://www.footballbits.co.uk - huge selection of officially licenced football souvenirs, merchandise, memorabilia and gifts. Perfect for fans of all ages and at affordable prices.
dannylbrooke
Settling In
**

Karma: 2
Offline Offline

Gender: Female
Posts: 56



WWW
« Reply #6 on: March 25, 2010, 06:02:01 PM »

Excellent, Thanks Fivewood even simple enough for me to do lol and worked perfectly !
Logged

fivewood
Liking it Here
***

Karma: 6
Offline Offline

Gender: Male
Posts: 102


WWW
« Reply #7 on: March 26, 2010, 09:48:11 AM »

Glad to help

You might also find it useful (I did) to use this on the shopping carts as well

Go to AdminCarts.php  in webroot\admin\tabs\AdminCarts.php

Around line 274 look for

global $cookie;

And add this below it:

$this->delete = true;

You should now see the X's beside the individual carts and be able to delete any you need to
Logged

http://www.footballbits.co.uk - huge selection of officially licenced football souvenirs, merchandise, memorabilia and gifts. Perfect for fans of all ages and at affordable prices.
JhnStcks
Global Moderator
Part of the Furniture
*****

Karma: 12
Offline Offline

Gender: Male
Posts: 406


WWW
« Reply #8 on: April 03, 2010, 01:17:14 PM »

By the way I think the code should have inverted commas around the word true.....
Logged

Snowboarding Goggles For all things Snowboarding and Skiing.  Goggles, Helmets, Gloves and Clothing.
The Fashion Agent We are your fashion agent.  Designer Clothes, sunglasses, headphones from top designer brands.
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
SimplePortal 2.2.2 © 2008-2009