No image available

[DEPRECATED] PrestaShop Starter Theme

[DEPRECATED] PrestaShop Starter Theme

Developed by PrestaShop

Get This Theme Free on GitHub
License: Unknown Status: Abandoned Health: Dead

Info updated 1 month ago

Sources
Stars: 181 Forks: 151 Last commit: Sep 11, 2019
Type
Theme

Info checked: Mar 2, 2026

DEPRECATED

This project is not maintained anymore by the core team. Theme improvements must be brought instead to the classic theme in the PrestaShop repository.

PrestaShop Starter Theme

Starter Theme is a tool for designer to work efficiently, it includes only what is mandatory:

  • a list of templates
  • a configuration file
  • the development assets with minimal javascripts and stylesheets

Installation

Note the Starter Theme is only available for PrestaShop 1.7+.

Clone this repository and move the <code>StarterTheme</code> into <code>themes</code> folder.

# in PrestaShop folder

$ cd themes $ git clone https://github.com/PrestaShop/StarterTheme.git YOUR_THEME_NAME

How to use the starter theme to create a theme

Step 1: create <code>theme.yml</code>

First of all, you need to rename <code>config/theme.dist.yml</code> to <code>config/theme.yml</code> and edit it according to your theme name.

name: YOUR_THEME_DIRECTORY_NAME

display_name: YOUR THEME NAME version: 1.0.0 author: name: &quot;PrestaShop Team&quot; email: &quot;pub@prestashop.com&quot; url: &quot;http://www.prestashop.com&quot;

meta: compatibility: from: 1.7.0.0 to: ~

See theme.yml description

NOTE: Please note that <code>/config/theme.yml</code> is ignored by git (see .gitignore)

Step 2: Manage assets

The Starter Theme contains the development files in the <code>_dev</code> folder. Install the dependencies using <code>npm</code>:

$ cd _dev && npm install

Now the dependencies are installed and correctly set up, you can customise theses files.

> If you need to add image files, you can create <code>img</code> folder in <code>_dev</code> folder.

As stylesheets and javascript files are compiled and minified, you may wonder how to build new version of theses files after your modifications. You can use npm to check for any update and update the production version used by PrestaShop (localized in <code>assets</code> folder).

$ npm run watch

Note: You should probably start by removing all existing styles.

Theme architecture

Themes architecture has changed a lot since PrestaShop 1.7.

.

├── assets │   ├── css/ │   ├── img/ │   └── js/ ├── config/ │   ├── theme.dist.yml │   └── theme.yml ├── CONTRIBUTING.md ├── _dev/ │   ├── css/ │   ├── js/ │   ├── package.json │   └── webpack.config.js ├── modules/ ├── plugins/ ├── preview.png ├── README.md └── templates/ ├── catalog/ ├── checkout/ ├── cms/ ├── contact.tpl ├── customer/ ├── errors/ ├── index.tpl ├── layouts/ ├── page.tpl ├── _partials/ └── wrapper.tpl

| Folder | Description | |-------:|------------| | <code>assets</code> | Contains all "UI" data of your theme: javascripts, stylesheets and images; | | <code>config</code> | Contains the configuration file of your theme; | | <code>_dev</code> | Contains all the development assets; | | <code>modules</code> | Allow you to override templates for modules, take a look at <code>classic</code> | theme; | | <code>plugins</code> | Contains the Smarty extensions required by the theme, if any; | | <code>templates</code> | Contains the templates of the theme, ordered by domain categories | | <code>preview.png</code> | Should be a thumbnail of your theme homepage, displayed in the back office |

Update Workflow

Understanding the branches

The StarterTheme's branches follow the PrestaShop's branches. That means that if you want to create a theme for PrestaShop <code>1.7.0.x</code> version, choose the latest release for this minor version (or use the <code>1.7.0.x</code> branches).

Update

Every Prestashop release will be attached to a PrestaShop version and we will provide explicit changelogs with new features, fixes and impacted files to help you keep your theme up to date with the lastest improvements.

Since your theme will live its own life, you cannot just cherry-pick a commit. You will have to understand it and decide if that applies to your theme or not.

Contributing

Take a look at our Contributing guide

  • Riferimento
    StarterTheme

  • License
    Unknown
  • Status
    Abandoned

Commenti (0)

Ancora nessuna recensione da parte degli utenti.
Caricamento in corso ...