Search code examples
phpcustomizationprestashopprestashop-1.6

Prestashop default theme customizing method


I am a newbie in Prestashop, but I already worked with CMS during my professional experience.

I don't understand why in each file in the defalut theme, there is a disclaimer asking to do not edit the file if I want to update Prestashop to newer versions.

Does it mean that the default theme is also updated during Prestashop update? In my opinion, it goes against the purpose of the 3-tier architecture

What should I edit so that I can customize the default theme as I like? Can someone point me to a link where I can find the best practices regarding theme development? Thanks


Solution

  • According to the official docs:

    The first step is plain in simple: make a straight copy of PrestaShop's default theme folder.

    So you first make a copy with a new folder name, and then make all the edits you need in that copy. You can enable your new theme from the backend in Preferences -> Themes. I had to reload the page twice for being able to enable my theme.

    In the linked doc you'll find more tips. It is for Prestashop 1.5, the Designer Guide for 1.6 is not out yet, but the idea is the same.