...
- Save and Backup Your Current Store:
- Deactivate your store ("Maintenance" page of the "Preferences" menu).
- Back up your files to your desktop, using your FTP client in a new "prestashop-prod" folder. This will be a complete copy of your production site.
- Back up your database ("Advanced Parameters/DB Backup" page, or using phpMyAdmin).
- Back up your customized translation ("Export a language" section in "Tools/Translations" tab).
- Getting ready for the new version:
- Download and unzip the latest version of PrestaShop: http://www.prestashop.com/en/download, and unpack it in a new "prestashop-prep" folder.
- Copy your personal files (images, logos, photos, translations, modules, etc.) from "prestashop-prod" to "prestashop-prep" on your computer. A detailed list is available further down in this guide.
- Copy the "prestashop-prep" folder to the web folder on your local server (
/htdocs
,/www
, or any other name used by the server package you chose). This is the folder where you will first try to upgrade your PrestaShop, keeping your original backed-up files (prestashop-prod) and the files you prepared (prestashop-prep). - Recreate the production database on your local server: using phpMyAdmin, create a local database in which you will put the data from your production shop, using the SQL files that were backed-up at the start of the process.
- Starting the Local Update:
- Launch the update script on your local server by accessing it with your browser. In version 1.6, that script is located at
/install/upgrade/upgrade.php
. - Verification of all parameters before the update: follow the instructions on screen and make sure your server conforms to the new version technical requirements.
- Finishing the update: once the updater has finished, delete the
/install
folder and access both your front and back-office back office to make sure it works.
- Launch the update script on your local server by accessing it with your browser. In version 1.6, that script is located at
- QA and Testing:
- Import your translations ("Import a language pack manually" section in "Localization/Translations" page).
- Check that your theme is still working as expected. If this is not the case, you will have to edit its files.
- Test your shop thoroughly: create accounts, buy products, cancel orders, check the invoices, etc.
- Start the update on your production web server:
- Using your FTP client, replace the files for your online shop with those from your "prestashop-prep" folder.
- Launch the update script on your production server by accessing it with your browser. In version 1.6, that script is located at
/install/upgrade/upgrade.php
. - Verification of all parameters before the update: follow the instructions on screen and make sure your server conforms to the new version technical requirements.
- Finishing the update: once the updater has finished, delete the
/install
folder and access both your front and back-office back office to make sure it works. - Import your translations ("Import a language pack manually" section in "Localization/Translations" page).
- Check that the main domain name is correct ("Preferences / SEO & URLs" page, "Shop URL" section).
- Regenerate your robots.txt files ("Preferences / SEO & URLs" page, "Generate robots.txt" section).
- Check that your theme still works as expected. If not, you will have to edit its files.
- Test your store thoroughly: create accounts, buy products, cancel orders, check invoices, etc.
- Going live with your up-to-date store
- Activate your store ("Maintenance" page under the "Preferences" menu).
...
Warning | ||
---|---|---|
| ||
Disabling your store is very important. |
Go to your store's back-officeback office, open the "Maintenance" page under the "Preference" menu, then select "No" for the "Enable Shop" option.
...