Jump to content

Prestashop 9 create my own module


Recommended Posts

Hello everyone,

I managed to get a module working in PrestaShop 1.7.8.11. Now I want to rebuild it so it works in PrestaShop 9 as well.

I've used Copilot and Gemini for help. However, they say different things, and neither works.

To see what I need to change, I thought I'd create a test module first. I want to get it right the first time.

What I want is a module that I can install to start with. Once that's done, I want the module's name and description to be visible in the language selected in the back office.

I'm calling my module 'testmodule'.
Copilot tells me to place testmodule.php in the root of the module.
But Gemini tells me to create a 'src' folder in the module and place testmodule.php in it.

What's the correct answer, and what's the next step? Because now that I know this, I also want to ensure I can display labels in the back office, but I also want them in the language selected in the back office.

Can anyone help me?

Thanks in advance,

Frits van Leeuwen

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...