Example PrestaShop 1.7 module. Creates a product reference based on the product id.
This repository has been archived on 2025-07-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2021-11-12 15:46:10 +01:00
src/Install Add javascript to block input and for future extensions 2021-11-08 12:18:16 +01:00
views don't use disable but readonly 2021-11-12 15:46:10 +01:00
.gitignore Inital commit 2021-11-03 17:33:20 +01:00
composer.json Add javascript to block input and for future extensions 2021-11-08 12:18:16 +01:00
composer.lock Inital commit 2021-11-03 17:33:20 +01:00
LICENSE.md Inital commit 2021-11-03 17:33:20 +01:00
logo.png Inital commit 2021-11-03 17:33:20 +01:00
productid2reference.php Add javascript to block input and for future extensions 2021-11-08 12:18:16 +01:00
README.md Inital commit 2021-11-03 17:33:20 +01:00

Module ProductId2Reference

About

Example PrestaShop 1.7 displaying how to create a simple module, with no further GUI, using hooks.

Requirements

  1. Composer, see Composer to learn more

How to install:

  1. Open a terminal in this directory
  2. Run composer install to download dependencies into vendor directory
  3. Make sure that the parent folder has the same name as the containing php file
  4. Zip the entire content of this folder, with its parent folder
  5. Install the module from PrestaShops Back Office