Jump to content

Module prestashop crée non visible dans le back office : Prestashop module creates not visible in the back office

Recommended Posts

Bonjour tout le monde,

J'utilise prestashop depuis peu et j'ai encore beaucoup à apprendre. je suis à la version 1.7 et j'ai du mal à voir le module que j'ai crée dans l'espace module du back office. J'ai crée le module dans le dossier module à la racine de prestashop j'ai ensuite nommé le dossier mymodule/ j'ai ensuite créer un fichier principal mymodule.php ce qui donne l'arborescence suivante:


maintenant voici le contenu du fichier:

Hello everyone, I use prestashop recently and I still have a lot to learn. I'm at version 1.7 and I can not see the module I created in the back office space. I created the module in the module folder at the root Prestashop website.  I named the folder mymodule /, I then create a main file mymodule.php which gives the following tree:

<root> /module/mymodule/mymodule.php

now here is the content of the file:


if (!defined('_PS_VERSION_')) {

class MyModule extends Module
    public function __construct()
        $this->name = 'mymodule';
        $this->tab = 'front_office_features';
        $this->version = '1.0.0';
        $this->author = 'Firstname Lastname';
        $this->need_instance = 0;
        $this->ps_versions_compliancy = [
            'min' => '1.6',
            'max' => _PS_VERSION_
        $this->bootstrap = true;


        $this->displayName = $this->l('My module');
        $this->description = $this->l('Description of my module.');

        $this->confirmUninstall = $this->l('Are you sure you want to uninstall?');

        if (!Configuration::get('MYMODULE_NAME')) {
            $this->warning = $this->l('No name provided');

s'il vous plaît aidez moi.

Edited by alain99 (see edit history)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More