Jump to content

[Solved] delete example data


Recommended Posts

How can I delete the order that is part of the sample data?

I see how to delete all the products, categories, and the john doe customer - but the order seems to not be able to be deleted, only cancelled... which if I delete the products, customer ect, seems like it will be a problem record

Link to comment
Share on other sites

Yes.

Go to admin folder>tab>AdminOrders.php
Find

$this->colorOnBackground = true;


And add on the next line

$this->delete = true;



I hope it helps.

EDIT: You can then delete any order in Admin > Orders

Link to comment
Share on other sites

Yes.

Go to admin folder>tab>AdminOrders.php
Find
$this->colorOnBackground = true;


And add on the next line

$this->delete = true;



I hope it helps.

EDIT: You can then delete any order in Admin > Orders






Thanks this worked like a charm :-)
Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...