In PrestaShop, “Transplant a module” means hooking or unhooking a module to a position (hook) from the Back Office.
Below is the correct way (works for PrestaShop 1.7 / 8.x).
✅ Method 1: Hook / Unhook from Positions Page (Recommended)
📍 Go to:
Back Office → Design → Positions
(Older versions: Modules → Positions)
🔹 🔵 To Hook (Transplant) a Module
- Click “Transplant a module” (top-right button)
- Fill the form:
- Module: Select module name
- Hook: Select position (example:
displayHeader,displayFooter) - Exceptions: (Optional – exclude pages)
- Click Save
Done ✅
🔹 🔴 To Unhook a Module
- In Design → Positions
- Use search filter:
- Filter by module name
- Find the hook where it is attached
- Click Unhook
Done ✅
✅ Method 2: Manage Hooks from Module Page
📍 Go to:
Modules → Module Manager
- Find your module
- Click ▼ (dropdown arrow)
- Click “Manage hooks”
- Uncheck hook to remove
- Check hook to add
- Save
📌 Common Important Hooks (Frontend)
| Hook Name | Position |
|---|---|
| displayHeader | Head section |
| displayFooter | Footer |
| displayHome | Homepage |
| displayTop | Top header |
| displayLeftColumn | Left sidebar |
| displayRightColumn | Right sidebar |
| displayProductAdditionalInfo | Product page |
🎯 Example
If you want to:
- Remove newsletter from footer
→ Unhook fromdisplayFooter - Add banner on homepage
→ Hook todisplayHome
⚠️ If “Transplant” Button Not Visible
- Enable Debug Mode
- Check employee permissions:
- Advanced Parameters → Team → Permissions
- Make sure you are using full admin profile
🛠️ Pro Tip (For Speed Optimization – Since you’re improving site speed)
Unhook unused modules from:
- displayHeader
- displayFooter
- displayHome
This reduces:
- JS loading
- CSS loading
- TTFB
