Saturday, 12 December 2015

how can upgrade prestashop theme

for upgrade your prestashop store
1.first create pre folder and copy public_html all file in pre folder.
2.install latest prestashop theme in public_html folder with new db details
3.now copy files from pre folder to public_html folder
need to copy file
**************************
  • /mails. Has all the mails templates, including those that you have modified.
    If you have never made any mail template modification, do not worry about this folder.
  • /img. Contains your logo and all the pictures of your store (categories, products, etc.). Take good care of these specific files and folders:
    • logo.jpg - your store's logo
    • favicon.ico - your store's favicon
    • logo_stores.gif - your store's logo for the Store Locator's map
    • /c - your categories' images
    • /cms - your CMS page's images
    • /co - your attributes textural colors
    • /m - your manufacturers' logos
    • /p - your products pictures
    • /scenes - your categories' image-maps
    • /st - your physical stores' photos
    • /su - your suppliers' logos
    • ...basically, copy all folders except /img/admin and /img/jquery-ui.
  • /modules. Only copy the modules that you have added since you installed PrestaShop for the first (and which where therefore not part of the default installation).
    • Some of these modules might not be currently enabled or even installed: it is up to you to determine whether they are still useful to you, and thus deserve to be copied to the updated installation.
    • Also, do note that you will most probably have to update the modules that were not built with the new PrestaShop version in mind.
  • /themes/themeName. Only copy your current theme.
    • If you use the default theme from PrestaShop (unchanged), do not copy its folder (/themes/prestashop): you must use the one from the new version (/themes/default).
    • If you have made changes to the default theme, do copy its folder.
  • /download and /upload. Contain all the downloadable products, the attached files and the customizable products. If you do no use any of these functionalities, do not copy these folders.
  • /classes. In case you have added customized classes to this folder, copy them to the new/classesfolder.

******************************************
4.edit /config/settings.inc.php 
only change db name , db user name and db password

******
pre /config/settings.inc.php

<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'grobmtpu_prest18');
define('_DB_USER_', 'grobmtpu_prest18');
define('_DB_PASSWD_', 'SEP4[]18S9');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_COOKIE_KEY_', 'x8nbttofkwdv4geet20vk7s5hah3jmcwhghch7mzvwfyvrd8h01oenfj');
define('_COOKIE_IV_', 'pn91jdjt');
define('_PS_CREATION_DATE_', '2015-02-11');
if (!defined('_PS_VERSION_'))
define('_PS_VERSION_', '1.6.1.0');
define('_RIJNDAEL_KEY_', 'uE0iDEBGYatTIdnQ7DaEmgBHdroqVncO');
define('_RIJNDAEL_IV_', 'BG8/+lu5qVjNoBECefRUcA==');


 /config/settings.inc.php

<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'grobmtpu_prest18');
define('_DB_USER_', 'grobmtpu_prest18');
define('_DB_PASSWD_', 'SEP4[]18S9');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheFs');
define('_PS_CACHE_ENABLED_', '0');
define('_COOKIE_KEY_', '8ghax4pqwvwhctydwqtqri2crq227drsfzkhfzg1sst3dekwteicyta8');
define('_COOKIE_IV_', 'jqp3hi2h');
define('_PS_CREATION_DATE_', '2015-12-22');
define('_PS_VERSION_', '1.6.1.3');
define('_RIJNDAEL_KEY_', 'qaGYhO2WnsuwpxPaL0pkVx5QQwvTaU6G');
define('_RIJNDAEL_IV_', 'FZwXIpGMI+nmrLID1pxypw==');
define('_PS_DIRECTORY_', '/../../');


***************************
5.login your store admin url and reset your admin password after reset password you can login your admin area and generate new sitemap and robots.txt