Thursday 11 June 2015

How to configure Prestashop to work with another domain?

Prestashop, like many other applications out there, works based on a domain name. In case you wish to use your Prestashop application with a different domain you should change the PS_SHOP_DOMAIN and

how to add new link/block in navigation bar/

Navigation menu is controlled by top horizontal menu module, there are way of add , remove menu item like page, categories and costume links.

How to On Error reporting of prestashop v1.6 v1.5 v1.4 v1.3

if your website encountering some problems (white page, prestashop internal server error, some other problems) it's necessary to turn on error reporting. With this feature you will see what exactly doesnt work and

Generate the .htaccess file with PrestaShop’s back office, to get Friendly URL

if your website encountering some problems (white page, prestashop internal server error, some other problems) it's necessary to turn on error reporting. With this feature you will see what exactly doesnt work and

Add a link or an image to customize the mails sent to your customers

PrestaShop enables you to automatically send a large number of mails to your customers (order confirmations, site subscriptions, out of stock notifications, etc.). It might be useful to customize these mails: adding images, links to

Issue log in after deleting the English language pack

If you deleted the English language pack from your shop install, you can have issues connecting to your back-office again.

How to Enable Prestashop Error Messages?

Locate on your computer, or directly from your web server’s FTP, the file config/config.inc.php in your store’s directory, and scroll down to line 28:

How to Create a New Page or Template?

You can also create your own .tpl file (located in your theme directory), where you can insert your own HTML tags, and create a .php page (at the root of your shop) which will call the .tpl file.
Here is an example:
First, your_page.php:
<?php
include(dirname(FILE).’/config/config.inc.php’);
include(dirname(FILE).’/header.php’);
$smarty->display(PS_THEME_DIR.’your_page.tpl’);
include(dirname(FILE).’/footer.php’);
?>
With that, your_page.tpl contains your HTML code.

How to change the maximum size of uploaded files in PrestaShop?

To change the maximum size of the uploaded files in your server, you have to edit the php.ini file for your PHP install. This can only be done if you do have access to your server’s PHP configuration files. If not, ask your host.

How to add a link or an image to customize the mails sent to customers?

PrestaShop enables you to automatically send a large number of mails to your customers (order confirmations, site subscriptions, out of stock notifications, etc.). It might be useful to customize these mails: adding images, links to survey forms or information pages (blogs, news, etc.).
Let’s say your company wants to customize the e-mail sent automatically to customers after a purchase, in order to redirect them to a survey form.
To add a link in the mails sent to your English-speaking customers, you have to:
1. Go to the /mails/en directory from your shop root.
2. Edit the HTML template relative to the mail you want to modify: for instance, order_conf.html is the e-mail sent for new orders.
3. Insert the link to the survey right in the HTML code (static):
<a href=”http://www.myshop.com/survey.php”>Click here if you want to participate to our survey !</a>
or a dynamic link with your logo:
<a href=”{shop_url}” title=”{shop_name}”><img alt=”{shop_name}” src=”{shop_logo}” style=”border:none;”></a>
4. (Optional) To change the default color (which is pink: #DB3484), change the hexadecimal value to your preferred color value.
5. Save the file.
Now the link will be added in every new mail sent after a purchase.