3.1 Removing all the dummy content from the Prestashop installation

After exploring Prestashop it’s team to remove the dummy content that got with the installation of Prestashop.

I can almost hear you say: “But why did we install it in the first place?”

well the answer to that is quite simple Prestashop may by installing a lot of dummy content but you can always use it as a reference if you are a new user and second of all by doing so Prestashop installs a great set of modules and hangs them in the good hooks.

How to remove the dummy content in a proper way

Now I did a quick search on this but except from some separate topic’s I think I’m going to be the first who properly tells you how to delete the dummy content:

  1. Go to your back-end;
  2. Go to the catalog tab;
  3. Delete all the categories as following: (note: if there are products in categories they will be deleted recursively);
  4. how to delete dummy content prestashopDo the same for the products in the home category (note: you can always keep one as a reference, I’m keeping the iPod touch);
  5. Now go to attributes and groups and delete everything;
  6. Now go to features and delete everything;
  7. Now go to image mapping and delete everything;
  8. Now go to manufacturers and delete everything;
  9. Now go to suppliers and delete everything;
  10. Now go to tags and delete everything;

How to delete Prestashop’s stock movement

  1. Open Filezilla;
  2. Connect to your host; (Think your hosting is cheap? try HostingXs)
  3. Go to the following file: <the name you gave when changing the admin folder>/tabs/AdminStockMvt.php (Changing the name of the admin folder: you can find this step in the following article: 2.2 Installing Prestashop using the automatic installer.)
  4. Open the file using a editor like Notepad or anything else you like to edit PHP files.
  5. Find the following code: $this->delete = false; (line 25)
  6. Change this code to this $this->delete = true;
  7. Go to your Prestashop back-end->catalog->stock movement and delete the stock movement.

How to empty the customer tab in Prestashop

  1. Go to customers in the back-end;
  2. Delete John Doe from the list. (note: you can always keep Joe as a reference, I’m removing him and add a new user later);
  3. When deleting John Doe choose: ” “;
  4. Do not delete the Default group this can give trouble later on;
  5. Do not delete the shopping carts this can give trouble later on;

How to empty the orders tab in Prestashop

  1. Open Filezilla;
  2. Connect to your host; (Think your hosting is cheap? try HostingXs)
  3. Go to the following file: <the name you gave when changing the admin folder>/tabs/AdminOrders.php (Changing the name of the admin folder: you can find this step in the following article: 2.2 Installing Prestashop using the automatic installer.)
  4. Open the file using a editor like Notepad or anything else you like to edit PHP files.
  5. Find the following code: $this->colorOnBackground = true; (line 25)
  6. After this add this line: $this->delete = true;
  7. Go to the back-end;
  8. Go to the orders tab and delete the order;
  9. Go to order messages and delete everything;

How to delete or change the text on the front page

The text on the front page is a module called Home text editor and it contains the text as well as the image on the front page. So if you just want to get rid of it or change it follow these steps:

  1. Go to the back-end;
  2. Select the modules tab;
  3. You will find the module under front office features or just do a search saying “home text…” and so on.
  4. Do as you wish you can either disable or configure it.

I might have forgotten something so help me out

I might have forgotten something but this is how I do it. I hope by doing this you have also explored Prestashop.

First of all I want to point out that after deleting the dummy content you should never remove customers, orders and so on. And second you can also do this in phpMyAdmin with one long MySQL query but I prefer this way.

 

 

Tags: , , , , , , ,

5 Responses to “3.1 Removing all the dummy content from the Prestashop installation”

  1. close April 25, 2013 at 3:23 pm #

    Hey there! I’m at work browsing your blog from my new iphone! Just wanted to say I love reading your blog and look forward to all your posts! Keep up the excellent work!

  2. microsoft points generator 2013 download August 16, 2013 at 11:13 am #

    Asking questions are really nice thing if you are not understanding anything totally, except this
    post provides nice understanding yet.

  3. 24hurt.eu February 21, 2014 at 9:41 am #

    Thank you for useful tutorial

  4. Rake June 13, 2014 at 7:59 am #

    Hi,
    You you know how to massive delete products from id 1000-3000 and their images to free some space because I think images of deleted products will store somewhere in /img on server
    And how to clean their records in database ?
    Thanks

  5. Deena August 2, 2015 at 6:04 am #

    Well done to think of somihteng like that

Leave a Reply