Jump to content

Prestashop Sample Module doesn't work


Recommended Posts

Hello, i followed the steps for Order view page new hooks demo tutorial up until the end of https://devdocs.prestashop.com/1.7/modules/sample-modules/order-pages-new-hooks/signature-widget/ but when i try to reset the module all i get is Could not perform action reset for module undefined.

I'll attach some screenshots from the debugger maybe someone can figure out what is wrong since i used the use statement and the start of the main php file for the module.

use PrestaShop\Module\Eprimordial\Collection\OrderCollection;
use PrestaShop\Module\Eprimordial\Install\InstallerFactory;
use PrestaShop\Module\Eprimordial\Presenter\OrderSignaturePresenter;
use PrestaShop\Module\Eprimordial\Repository\OrderRepository;
use PrestaShop\Module\Eprimordial\Repository\OrderSignatureRepository;

And this is the autoload section of the composer.json

    "autoload": {
      "psr-4": {
        "PrestaShop\\Module\\Eprimordial\\": "src/"
      },
      "config": {
        "prepend-autoloader": false
      },
      "type": "prestashop-module"
    }

 

Screenshot_22.png

Screenshot_23.png

Screenshot_24.png

Link to comment
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...