Skip to main content
Version: 1.0

PrestaShop Getting Started

PrestaShop is one of the world's most popular ecommerce platforms, and most successful open source projects. It is a company and a global community.

If you have installed Websoft9 PrestaShop, the following steps is for your quick start

Preparation

  1. Get the Internet IP on your Cloud Platform
  2. Check you Inbound of Security Group Rule of Cloud Console to ensure the TCP:80 is allowed
  3. Get default username and password of PrestaShop
  4. Complete Five steps for Domain if you want to use Domain for PrestaShop

PrestaShop Initialization

Steps for you

  1. Use http://IP to go to your index page.

  2. Using local Chrome or Firefox to visit the URL https://domain/admin or https://Internet IP/admin, access login page

  3. Input email and password(Don's know password?), accesss your administration console

  4. Use Set language to add multiple languages to your site

Refer to PrestaShop Docs to get more details

Having trouble?

Below is for you to solve problem, and you can contact Websoft9 Support or refer to Troubleshoot + FAQ to get more.

After HTTPS is configured successfully, the background can be accessed normally, but the foreground access error occurs
Through http://IP:9090, access phpMyAdmin and modify the table ps_configuration properties PS_SSL_ENABLED_EVERYWHERE and PS_SSL_ENABLED to 1

PrestaShop QuickStart

Let's take Building an online store with PrestaShop as a task to help users get started quickly:

PrestaShop Setup

PrestaShop Modules

Modules is a very import function for PrestaShop to extend the business requirement

  1. Log in PrestaShop console,
  2. Open:【Modules】>【Module Catalog】, find the module you want to install and click the【Install】button
  3. Open:【Modules】>【Module Manager】, find the module you want to upgrade and click the【Upgrade】button

Prestashop connect Marketplace

Completed installation of PrestaShop, suggest you make your PrestaShop system connect PrestaShop's Marketplace. Once you have connected it, you can use many resourses on Marketplace.

  1. Log in PrestaShop Console as administrator
  2. Open 【Modules】>【Module Manager】, click【Connect to Addons marketplace】
  3. Register an account if you don't have it
  4. Connect to Marketplace using your Marketplace's account

PrestaShop language

Prestashop's multi-language support is very mature. The system has a multi-language system built in the background. You only need to select the corresponding language and import it online to your PrestaShop system.

During the setup process, if you prompt 'This functionality has been disabled.', please modify the configuration file in advance: /data/apps/prestashop/data/prestashop/config/defines.inc.php, and modify the configuration item to false:define('PS_MODE_DEMO', false);

Import language
  1. Log in PrestaShop console, open:【International】>【Localization】>【language】, enter the interface of language settings

  2. Select the language you want to use and click【import】 icon to import online

  3. Click 【language】 tab, you can see all language packages been installed successfully

When add new language for PrestaShop, it will add redirects rules in the  .htaccess file of PrestaShop root directory.

Delete language
  1. Log in PrestaShop console, open:【International】>【Localization】>【language】,edit your language
  2. Set the Status to 【No】
  3. Click 【language】 tab, you can delete the language you have disabled

PrestaShop Maintenance mode

Log in PrestaShop console, open:【Shop Parameters】>【General】>【Maintenance】

Configure SMTP

  1. Get SMTP related parameters in the mailbox management console

  2. Log in PrestaShop console as administrator, configure SMTP

    • Open:【Advanced Parameters】>【Email】,selecting 【Set my own SMTP parameters】
    • Fill in your correct SMTP information
  3. Send test mail

Prestashop change domain

If you want to change domain for PrestaShop, these steps you need to do:

  1. Completed domain resolution and domain binding
  2. Enable PrestaShop's Maintenance mode
  3. Log in PrestaShop console, open:【Shop Parameters】>【Traffic&SEO】, modify the shop URL

PrestaShop import

Log in PrestaShop console, open:【Advanced Parameters】>【Import】

Reference sheet

The below items and General parameter sheet is maybe useful for you manage PrestaShop

Run docker ps, view all containers when PrestaShop is running:

CONTAINER ID   IMAGE                          COMMAND                  CREATED          STATUS          PORTS                                                  NAMES
90426aedeca1 prestashop/prestashop:latest "docker-php-entrypoi…" 47 minutes ago Up 47 minutes 0.0.0.0:9001->80/tcp, :::9001->80/tcp prestashop
cac699817c8b mysql:5.7 "docker-entrypoint.s…" 47 minutes ago Up 47 minutes 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp prestashop-db
489469b66647 phpmyadmin:latest "/docker-entrypoint.…" 48 minutes ago Up 48 minutes 0.0.0.0:9090->80/tcp, :::9090->80/tcp phpmyadmin

Path

PrestaShop install directory: /data/apps/prestashop
PrestaShop site directory: /data/apps/prestashop/data/prestashop
PrestaShop configure file: /data/apps/prestashop/data/prestashop/app/config/parameters.php PrestaShop configure file: /data/apps/prestashop/data/prestashop/config/defines.inc.php

Port

In addition to common ports such as 80, 443, etc., the following ports may be used:

No special port

Version

docker exec -i prestashop cat /var/www/html/app/AppKernel.php|grep "const VERSION"|cut -d= -f2

Service

sudo docker start | restart | stop | stats prestashop
sudo docker start | restart | stop | stats prestashop-db
sudo docker start | restart | stop | stats phpmyadmin

CLI

PrestaShop provide a CLI for installing and modifying the configuration, enter the root directory and run:

php index_cli.php --domain=example.com --db_server=sql.example.com --db_name=prestashop --db_user=root --db_password=123456789

API

Webservice API