Site icon PrestaShop | General Knowledge

Prestashop how to add a new module, uninstall module & change position

Sure ๐Ÿ™‚ Hereโ€™s a clear, step-by-step PrestaShop guide covering adding a new module, uninstalling a module, and changing a moduleโ€™s position (works for PrestaShop 1.7 & 8.x).


๐Ÿ”น 1. How to Add / Install a New Module

โœ… Method 1: From PrestaShop Back Office (Recommended)

  1. Go to Back Office โ†’ Modules โ†’ Module Manager
  2. Click โ€œUpload a moduleโ€
  3. Upload the module .zip file
  4. PrestaShop will:
    • Upload
    • Install
    • Enable the module automatically

๐Ÿ‘‰ Done ๐ŸŽ‰


โœ… Method 2: Manual Upload (FTP)

  1. Extract the module ZIP
  2. Upload the folder to:
    /modules/
    
  3. Go to Back Office โ†’ Modules โ†’ Module Manager
  4. Find the module โ†’ Click Install

โš ๏ธ Folder name must match the moduleโ€™s internal name.


๐Ÿ”น 2. How to Uninstall a Module

โœ… Normal Uninstall (Keeps files)

  1. Go to Modules โ†’ Module Manager
  2. Find the module
  3. Click Disable (optional)
  4. Click Uninstall

๐Ÿ“Œ This removes:

But files stay in /modules/


๐Ÿ”ฅ Complete Removal (Clean uninstall)

After uninstalling:

  1. Delete module folder via FTP:
    /modules/module_name/
    
  2. Clear cache:
    • Advanced Parameters โ†’ Performance
    • Clear cache

๐Ÿ”น 3. How to Change Module Position (Hooks)

โœ… Method 1: Using Positions (Classic Way)

  1. Go to Design โ†’ Positions
  2. Search for the module name
  3. Click โ€œTransplant a moduleโ€
  4. Choose:
    • Module
    • Hook (e.g. displayHome, displayHeader)
  5. Save

๐Ÿ“Œ You can also:


โœ… Method 2: From Module Configuration

  1. Go to Modules โ†’ Module Manager
  2. Click Configure on the module
  3. Some modules allow selecting hooks directly

๐Ÿง  Common Useful Hooks

HookLocation
displayHeaderPage header
displayTopTop bar
displayHomeHomepage
displayFooterFooter
displayLeftColumnLeft sidebar
displayRightColumnRight sidebar
displayProductExtraContentProduct page

๐Ÿ”น 4. Disable Module Without Uninstalling

If you just want to temporarily stop it:

No data loss ๐Ÿ‘


๐Ÿ”น 5. Troubleshooting Tips


ย 

Exit mobile version