:::: MENU ::::
Browsing posts in: Prestashop

PrestaShop Canvas Module

This tutorial is about PrestaShop Canvas Module . This is a quite useful piece of code and a very important one too. let’s move forward and have a look.

First Step:

Create a directory as the same name as your module name in the following directory.


In my case, my module name is helloworld so directory name will be helloworld. The directory structure will look like.


Second Step

Now we create file name helloworld.php in the following location. You module directory name and file name must be same.


The file contains following code.


if (!defined('_PS_VERSION_'))

class Helloworld extends Module
  private $errors = null;
  public function __construct()
    // Author of the module
    $this->author = 'qaisarsatti';
    // Name of the module ; the same that the directory and the module ClassName
    $this->name = 'helloworld';
    // Tab where it's the module (administration, front_office_features, ...)
    $this->tab = 'others';
    // Current version of the module
    $this->version = '1.0.0';
    //  Min version of PrestaShop wich the module can be install
    $this->ps_versions_compliancy['min'] = '1.5';
    // Max version of PrestaShop wich the module can be install
    $this->ps_versions_compliancy['max'] = '1.7';
    // OR $this->ps_versions_compliancy = array('min' => '1.5', 'max' => '1.6');
    //  The need_instance flag indicates whether to load the module's class when displaying the "Modules" page
    //  in the back-office. If set at 0, the module will not be loaded, and therefore will spend less resources
    //  to generate the page module. If your modules needs to display a warning message in the "Modules" page,
    //  then you must set this attribute to 1.
    $this->need_instance = 0;
    // Modules needed for install
    $this->dependencies = array();
    // e.g. $this->dependencies = array('blockcart', 'blockcms');
    // Limited country
    $this->limited_countries = array();
    // e.g. $this->limited_countries = array('fr', 'us');
    // Name in the modules list
    $this->displayName = $this->l('Example');
    // A little description of the module
    $this->description = $this->l('Module Example');
    // Message show when you wan to delete the module
    $this->confirmUninstall = $this->l('Are you sure you want to delete this module ?');
    if ($this->active && Configuration::get('EXAMPLE_CONF') == '')
      $this->warning = $this->l('You have to configure your module');
    $this->errors = array();

So, that’s it from this tutorial. I strongly believe there is always room for improvement. So I am open for any suggestion and feedback. Please feel free to leave hat you are thinking in the comments section below. Cheers.

Author: Qaisar Satti
Category: Prestashop
Last Modified: July 26, 2019

PrestaShop introduction – Know PrestaShop

This tutorial is about PrestaShop introduction.I will try to share the basic knowledge here.Prestashop is an open source e-commerce solution. It comes with a variety of tools necessary for building a successful online shop. 

I am not going to go in detail but I will share the steps which you can follow to have the knowledge and know how of prestatshop. Also will briefly explain one or two steps here.

 How to install PrestaShop

  • Manage Products and Categories
  • Configuring PrestaShop
  • Managing your store in PrestaShop
  • Additional PrestaShop tutorials


The purpose of this tutorial is to show you how to install a PrestaShop e-commerce platform on your site via the Softaculous auto installer. One of the great things about Softaculous is that it allows you to setup applications really fast. You don’t need to go through all steps manually and with just several clicks you will have a fully functional PrestaShop on your account.
First, you need to access your cPanel account and find the Softaculous icon which is under the Software/Services section.

The next step is to click on the Softaculous icon. You will be redirected to a new page which is the auto installer’s control panel. From here you can install new apps, create backups, import existing websites, etc. On the left side of the screen is the categories menu. To proceed with the PrestaShop installation find the E-Commerce section and click on it to expand. You will see a list of applications that you can install. Find the PrestaShop link and click on it, so that Softaculous will open the installation screen.

The newly loaded page provides a brief description of the PrestaShop application and its features. You can also read a review of the platform and rate it. Click on the blue Install button.

This is the most important step at which you need to provide more details about the new PrestaShop website. Some of the fields are automatically filled by Softaculous for your convenience. However, we strongly advise you to review the values of the following crucial configuration parameters:

In Directory – please note that by default Softaculous will install the PrestaShop application in the root web folder and you will be able to access the website via your domain name. If you prefer to install it in a subfolder, for example, shop, enter its name in the In Directory field.

Store Name – this is the name of your website and by default, it is set to My Store. You can change it to something that better describes the main purpose of your new website.

Admin Folder – you can change it to a random string. Adding it to the web site’s URL will load the admin section.

Admin Email – by default, this field is set to admin@yourdomainname.com, where instead of yourdomainname.com your actual domain is entered. If you want, you can change it to a different e-mail account.
Admin Password – Softaculous automatically generates a unique password for your new website. Still, you can change the string in the field and type a new password which you can remember more easily.

The last step is to scroll down to the end of the page and click on the Install button.
That’s it! Your PrestaShop application is installed and ready to use. The installer will redirect you to a new page where you will see the details for the completed installation. You can now login and create your PrestaShop website.

Key Features:

The key features provided by the platform are structured in two major groups.
The first one is the “Front Office” which is the place where your customers will find all of the available products and where they will be interacting with your Online Store purchasing your products. The features included in this group are:

Featured Products

  • Product – image zoom
  • Customer subscriptions and the creation of customer accounts
  • Large amount of supported payment methods
  • Google Checkout integration
  • RSS feeds
  • Newsletters

The second major group is more important for the Store Owners as it is related to the backend (Back-Office) of their Online Stores as there is the place where all of the adjustments and store modifications are made. The features included in that group are:

  • WYSIWIG text editor for basically all of the text fields related to your products
  • Unlimited amount of product categories and subcategories
  • Large amount of supported currencies and taxes which you can configure all on your own
  • SMS/Text Message module
  • Customizable notifications for the delivery status of the product
  • SEO Friendly URL configuration
  • Full SSL support
  • Smarty templating engine

Certainly, these are only a few of the unlimited amount of features offered by the platform which means that you will be able to find every type of feature you will need for the successful start and development of your Online Store.

That’s it from this tutorial. I hope it serves the purpose. Furthermore please feel free to drop any suggestions or queries in the comments section. That will definitely be highly appreciated.

Author: Qaisar Satti
Category: Prestashop
Last Modified: July 26, 2019

PrestaShop reset admin password

This tutorial is about Prestashop-Reset admin password.In this article, we will learn how to install a reset admin password in prestaShop.Often people forget their passwords and find it difficult to reset them. It is quite a simple process. So let’s move forward and have a look.

Please note that this method will be useful only when you have access to the database.

First of all check your ”config/settings.inc.php ” file for the _COOKIE_KEY_ value.

Run the following SQL and replace the <> variables with your information:

UPDATE employee SET passwd = md5(“<_COOKIE_KEY_ value>”) WHERE email = “youremailaddress”;

Let’s have an example for more clarification.

UPDATE `ps_employee` SET `passwd` = MD5(‘<_COOKIE_>password’) WHERE `email` = ‘info@qaisarsatti.com’;

That’s it from this simple method. That’s it from this tutorial. I strongly believe there is always room for improvement. So I am open to any suggestion and feedback. Please feel free to leave what you are thinking in the comments section below. Cheers.

Author: Qaisar Satti
Category: Prestashop
Last Modified: July 26, 2019

PrestaShop Installation

This tutorial is about Prestashop Installation . Often people face little bit of trouble while installing Prestashop.In this article we will learn how to install prestashop. So here, we will discuss particularly about prestashop installation on any system. It is quite a simple process.We will discuss one or two methods here.So lets move forward and have a look.

We will follow the simple steps,discussed below.

Installation Steps

1) Download prestashop from

2) extract zip file and you get a folder with name “prestashop”

3) After extracting zip file
a) If you are using wamp then copy the “prestashop” and paste in to www folder.
b) If you are using xampp then put into “htdocs” folder.
c) If you use filezilla then upload “prestashop” into “public_html” folder.

Now start wamp or xamp

and open the browser and type “localhost/prestashop”, After opening installation page, follow these steps:

Below are the Five steps needed for installation.

1st) choose your language and accept the conditions.

2nd ) PrestaShop will check system Compatibility

If system Compatibility is valid then click on next button, after clicking on next button prestaShop will check system configurations.

3rd)Fill in your database details and then click on verify.

Similarly, if all the information is correct then a message showing database connected will be shown.

Furthermore click on next button.

4th)Fill in the information like user name(use for admin login) , password(use for admin login) etc and click on next button.

The progress bar will show the installation status and after finishing installation, go to “prestashop” folder saved in www folder in wamp and delete installation file and rename admin folder according to your needs.These are the simple steps to install PrestaShop.

That’s it from this tutorial. I strongly believe there is always room for improvement.So i am open for any suggestion and feed back. Please feel free to leave what you are thinking in the comments section below. Cheers.

Author: Qaisar Satti
Category: Prestashop
Last Modified: July 26, 2019