The main menu of your PrestaShop shop, in columns and on mobile
LNK Mega Menu replaces PrestaShop's main menu: categories, pages, products, brands and links, as a dropdown, a column panel or a side drawer panel, with labels, images and a readable mobile version. Once installed, it has already taken over your current menu, in the same order, with the "Sober" style and your theme's font: one click on "Put online" shows it on your shop. As a menu bar, submenus open in HTML and CSS, with no jQuery; the main menu adds only a 0.9 KB script.
- Version 1.1.17 · PrestaShop 1.7.6 to 8.x
- Version 1.9.17 · PrestaShop 9
- PrestaShop 1.7.6 to 9.x
- PHP 8.1 to 8.4
- No override
Screenshots
Key points
- Dropdown or column menu, up to 6 columns
- Takes over the native menu on installation, online in one click, back whenever you want, shop by shop
- No setting to start: "Sober" style and your theme's font, or "Inherit from the theme" for its colours
- Drag-and-drop tree and live preview on desktop and mobile
- 4 layouts: bar, bar and panel, panel only, full page
- Drawer panel one level at a time: search, account links, languages and currencies, highlight card
- Automatic subcategories, depth and number per level can be set
- No jQuery: 2.5 KB of structure CSS; main menu as a bar: 0.9 KB of script; panel: 2.2 KB of script
- As many menus as you want: header, navigation, footer, columns, home page, 11 place choices, including anywhere in the theme with the call ready to copy
- Starting menus delivered by an LNK theme (
seed.json), never overwriting yours - Labels, category images, product card with the customer's price
- Visibility per customer group, per screen and by dates
- Menu as cards on the home page: categories with their image and subcategories as pills
- 8 styles, 5 fonts served by the shop (never Google)
- Readable on mobile, moves into the Classic and Hummingbird drawer
- French, English, Arabic right to left
- PrestaShop 1.7.6 to 8.x (PHP 7.1 to 8.1) and 9.x (PHP 8.1 to 8.4), no override
The native main menu and its limits
PrestaShop's native menu shows your categories and a few links, in a single form. No columns, no "New" label, no featured product, no second menu in the footer, and on PrestaShop 1.7.6 a category reserved to a customer group can stay visible to everyone.
Your menu, rebuilt without retyping anything
On installation, the module takes over your native menu in the same order: categories with their subcategories, pages, products, brands, suppliers, links. The native menu stays on while you prepare the new one; a "Put online" button, at the top of the page of each menu, turns it off (never uninstalled), and another one takes you back. In multistore, takeover and return are done shop by shop.
Nothing needs setting to start: the menu taken over shows as a menu bar, with the "Sober" style and your theme's font. The "Inherit from the theme" style uses your theme's colours. Layout, style and font can then be changed, if you want.
In the back office, the menu tree is rearranged by drag and drop (or with the keyboard), and the live preview, desktop and mobile, shows the shop rendering before you save.
Columns, labels, featured products
- Dropdown or columns: 1 to 6 columns, each sub-entry in its column.
- Automatic subcategories: a "Category" entry shows its subcategories on its own and follows your catalogue. Depth (up to 12 levels) and number per level can be set.
- Coloured labels on an entry ("New", "Sale"), in each language.
- Category images in the columns, loaded only when a panel opens.
- Product card in a panel: image, name and the customer's price (the price is never cached from one customer to another).
- Visibility per customer group, per screen (desktop, mobile) and by dates.
The drawer panel, one level at a time
For a large catalogue, the main menu can open in a side panel: each click goes one level down, with a back button and the title of the level, with no depth limit. Four layouts to choose from: the menu bar only, the menu bar with the panel behind the button, the panel only, or the full page. The panel opens on the side you choose, mirrored automatically in Arabic.
- Click: the name opens the page and the arrow opens the level, or every click opens the level.
- Highlight card: an image and a link at the bottom of a level (a collection, a promotion), the image checked and re-encoded on upload.
- Search in the panel (LNK Advanced Search when it is active, otherwise PrestaShop's) and customer account links.
- On mobile, the panel button takes the place of the theme's menu button: one menu on screen, with the languages and currencies at the bottom of the panel when the shop offers several.
- Without JavaScript, the panel stays usable as an expandable list. Beyond 300 entries, deep levels arrive when they open.
After the update, your shop keeps its menu bar: the panel is turned on in the settings of the main menu.
Several menus: header, footer, columns
A header menu, a footer menu, a menu in a column: each menu has its place, its style and its font. The module offers 11 choices: 10 standard places (home page, header, two navigation bars, full width, footer and around it, left and right columns) and "Placed by the theme, by its code". With the latter, the back office gives you the call ready to copy into your theme. The main menu carries the markers of the Classic and Hummingbird themes: it moves into their mobile drawer with no setting.
A menu as cards for your ranges
A menu can show as cards in a page, for example on the home page: one card per category, with its image, and its subcategories as pills right below. It is the "Our ranges" block of B2B shops, kept up to date by your catalogue. The title above the cards changes in each language.
Styles, fonts and mobile
Eight ready-made styles, or "Inherit from the theme" to keep its colours. Five fonts under a free licence (including Cairo for Arabic), served by your shop, never by Google; the theme's font stays the default setting. On mobile, the word "Menu" next to the icon can be hidden; screen readers still read it.
Mobile tab bar, sticky menu and tiles
- Mobile tab bar: at the bottom of the screen below 768 pixels, like in an app. Home, Menu, Search, Account and Cart tabs to choose from, the tab of the current page marked, a cart counter. The Menu tab opens the panel; the Cart tab opens LNK Cart Drawer when it handles the cart. Mirrored order in Arabic.
- Reserved space: the sticky buy bar of your theme sits above it, with no overlap (variable --lnk-inset-bottom). For a theme that does not follow it yet, the bar can be hidden on product pages.
- Sticky menu on computers: the bar of the main menu stays at the top of the screen when the page scrolls, smaller if you choose. If your theme already has a sticky header, the module lets it do the job: never two sticky headers.
- Image tiles at the first level of the panel: two per row, with the image and the label of each entry.
Each feature loads its stylesheet and script only when it is on: the mobile bar 0.8 KB of CSS (and a 0.4 KB script without LNK Cart Drawer), the sticky menu 0.4 KB of CSS and a 0.5 KB script. The main menu created on installation shows the mobile tab bar as soon as it is online (Home, Search, Account and Cart, plus Menu with a panel layout). After the update, an existing shop stays as it is. These settings are under "Mobile and scrolling", where the tab bar can be turned off.
Léger et rapide
Figures measured on the delivered module, gzip-compressed (level 9). As a menu bar, no jQuery: submenus open on hover, click and keyboard in HTML and CSS. A 2.5 KB structure stylesheet, plus the chosen style only (0.4 to 0.6 KB) and, if you choose one, the chosen font only (0.4 to 0.6 KB of CSS, then the displayed alphabet). The main menu as a bar adds a 0.9 KB script (Escape key and overlay of the mobile drawer) and a 1.1 KB stylesheet. The drawer panel replaces them, only when it is on, with a 2.2 KB script with no dependency and a 2.0 KB stylesheet. A secondary menu as a bar loads no script. Menu images load only when a panel opens, with their dimensions.
For themes and integrators
The template variables have the same shape as those of the native menu, and the
actionMainMenuModifier hook is called as in the native module. A menu is placed by its code:
{hook h='displayLnkMegamenu' code='footer'} or {widget name='lnk_megamenu' code='footer'}.
The --lnk-megamenu-* CSS variables style the menu without touching the template, which can
itself be overridden. A theme can deliver its starting menus (seed.json, documented contract),
or only their shape and let the shop provide the entries ("items": "native"). Seven hooks let
a module or a theme add its content to the drawer panel and the mobile tab bar.
Compatible with PrestaShop 1.7, 8 and 9
| PrestaShop | 1.7.6 → 9.x |
| PHP | 7.1 → 8.1 (bench-tested from 7.2 to 8.1, 7.1 checked by lint) for the 1.1.N archive, 8.1 → 8.4 (bench-tested on 8.4) for the 1.9.N archive |
| Delivery | Two archives: 1.9.N for PrestaShop 9, 1.1.N for 1.7.6 to 8.x |
| Back office | Native Symfony on PrestaShop 9, classic admin controller below |
| Contains an override | No |
| Multistore | Yes: menus of each shop; a new shop takes over the menus of the copied shop |
| Menus | As many as you want, each in its place (11 choices: 10 standard places, or anywhere in the theme by its code); up to 12 levels and 6 columns per mega menu |
| External resources | None |
| Languages | French, English, Arabic (right to left) |
Each version is checked by a real installation: PrestaShop 1.7.6 (PHP 7.2), 1.7.8 (PHP 7.4) and 8.1 (PHP 8.1) for the 1.1.N archive, PrestaShop 9.0 (PHP 8.4) for the 1.9.N archive.
Frequently asked questions
How do I make a mega menu on PrestaShop?
Install LNK Mega Menu: it takes over your current menu, without retyping anything. In Design > LNK Mega Menu, open an entry, choose "Mega (columns)", the number of columns, then place each sub-entry in its column. The live preview shows the panel before you save.
What happens to PrestaShop's native main menu?
On installation, the module takes it over in the same order, and leaves it on while you prepare the new menu. The "Put online" button, at the top of the page of each menu, turns it off, without ever uninstalling or modifying it; "Back to the native menu" turns it back on at any time.
Do I need to modify my theme?
No. The menu shows in place of the native menu, and moves into the mobile drawer of the Classic and Hummingbird themes with no setting. To place a second menu elsewhere, you choose its place in the module (footer, top bar, column); a theme can also place it by its code.
Does the menu slow down my shop?
No. As a menu bar, submenus open in HTML and CSS, with no jQuery. The module adds a 2.5 KB compressed structure stylesheet, plus the chosen style only, and the menu is cached. The main menu as a bar loads a small 0.9 KB script: the Escape key and the overlay of the mobile drawer. The drawer panel, when it is on, replaces it with a 2.2 KB script with no dependency. The mobile tab bar (0.4 KB) and the sticky menu (0.5 KB) each have their own, loaded only when they are on. Menu images load only when a panel opens.
Is the menu readable on mobile?
Yes. On phones, the menu moves into a drawer with expandable submenus, and large images are left out to keep the drawer short. You can hide the word "Menu" next to the icon; screen readers still read it. The main menu created on installation also shows, once online, a tab bar at the bottom of phone screens: Home, Search, Account and Cart, plus Menu with a panel layout. You can turn it off in "Mobile and scrolling".
Is the module compatible with PrestaShop 9?
Yes. The module comes in two archives: 1.9.N for PrestaShop 9, with a native Symfony back office, and 1.1.N for PrestaShop 1.7.6 to 8.x. The features are the same.
Can I have one menu in the header and another one in the footer?
Yes. You create as many menus as you want, each with its place, its style and its font. The module offers 11 place choices: 10 standard places (header, navigation, footer, columns, home page) and "Placed by the theme, by its code", to put it anywhere in the theme with the call the back office gives you ready to copy. A mega menu goes up to 12 levels and 6 columns. Only one is the main menu, the one that replaces the native menu.
Does the module load Google fonts or set cookies?
No. The fonts offered are served by your shop, never by Google, and your theme's font stays the default setting. The menu writes no cookie and calls no external service.
Does it work with multistore and several languages?
Several languages: yes. Labels, badges and links are entered in each language, and the menu follows the writing direction, right to left in Arabic. Multistore: yes. Each shop has its own menus, set shop by shop in the back office; in “All shops”, the page asks you to choose one. A new shop takes over the menus of the copied shop, and a deleted shop takes its own away. The module never turns off the native menu of a shop where it is not enabled.
How do I go back if the module does not suit me?
Click "Back to the native menu", or uninstall the module: your menus are deleted and the native menu that the module had turned off is turned back on. Your shop returns to its state before the installation.
Can I show the menu in a side panel?
Yes, for the main menu. In its settings, the "Drawer panel" section offers four layouts: the menu bar only, the bar with a panel behind the button, the panel only or the full page. The panel can hold the search, the customer account links, and the shop's languages and currencies. Each click goes one level down, with a back button, and a highlight card can show at the bottom of a level. On mobile, the panel button replaces the theme's one: only one menu shows.
How long does it take to set up?
The time to install it and click once. On installation, the module has already taken over your native menu, in the same order, with the "Sober" style and your theme's font. One click on "Put online" shows it on your shop. To use your theme's colours, choose the "Inherit from the theme" style. The rest (columns, labels, panel, styles) is optional and is set with the live preview.
Do subcategories have to be added one by one?
No. A "Category" entry shows its subcategories on its own and follows your catalogue: a category created in PrestaShop appears in the menu. You set the depth, up to 12 levels, and the number of subcategories per level. They respect customer groups.
Can I show a menu as cards on the home page ("Our ranges")?
Yes. Create a menu (or reuse yours), place it on "Home page", and choose the "Cards" display in its Appearance. Each entry becomes a card with its image (tick category images) and its sub-entries as pills. The title above the cards is typed in each language; empty, there is no title. The main menu stays a bar.
Two menus show in the header: what should I do?
The native menu (ps_mainmenu) still shows next to ours. This happens with a theme that lists ps_mainmenu in the hooks of its theme.yml: PrestaShop hooks it again when the theme is enabled. The module flags it at the top of each of its pages, with a "Turn off the native menu" button (our "Back to the native menu" button turns it back on if needed). For the theme author: remove ps_mainmenu from hooks.modules_to_hook and put it in modules.to_disable.
Release history
-
Version 1.9.17 PrestaShop 9
New
- Overall look of the main menu: two shop settings,
LNK_MEGAMENU_STYLE(theme style or one of the eight styles) andLNK_MEGAMENU_LAYOUT(bar, bar and panel, panel, full page), change the look of the main menu on top of its own settings, without modifying the menu. They serve demos and themes; empty, nothing changes.
Fixes
- Language added after installation: menus had no text in the new language (entries without a label). Each menu now receives the texts of its shop's default language, to translate afterwards; menus provided by the theme directly take the theme's texts in that language, when it provides them. A text entered in the shop is never replaced. The "LNK Mega Menu" back-office menu name also gets the new language.
- Keyboard on desktop: the Escape key closes the open submenu of the main menu (opened on hover, with the keyboard or by a click) and brings focus back to its button; it does not reopen while the mouse stays over it. On phones, Escape still closes the menu, with no other effect.
- Header on small screens: below 420 px wide, the main menu button shows only its icon, leaving room for search and the other buttons on the logo line. The word "Menu" is still read by screen readers.
- Documentation (FAQ, product page, compatibility) aligned with the module: the main menu as a bar loads a small script (Escape and drawer overlay, 0.9 KB), plus those of the tab bar and the sticky menu when they are on; the main menu created on installation gets the "Sober" style and the theme's font ("Inherit from the theme" for its colours) and shows the mobile tab bar once online; "Put online" is on the page of each menu; 11 place choices and 7 hooks everywhere; weights updated; PHP 8.1 to 8.4, bench-tested on 8.4 (7.1 to 8.1 for 1.1.17, bench-tested from 7.2 to 8.1, 7.1 checked by lint); product page version 1.9.17. The module description no longer promises « no JavaScript ».
- Overall look of the main menu: two shop settings,
-
Version 1.9.16 PrestaShop 9
Fixes
- With another LNK extension installed (Announcement bar, Product lists, Reassurance, Premium, Total look): importing the theme menus, their update by the theme and uninstalling could fail (error when enabling a theme, uninstall impossible). Each extension now uses its own version of the shared tool. On update, the theme menus are read again once, without duplicates; those changed in the shop are kept.
- Header on every theme: the main menu now takes its place in the header of any theme that lines up the logo, the menu and the icons, not only themes with a Bootstrap row such as Hummingbird: the menu button on phones, the remaining space on desktop. Nothing changes for a theme whose header is made of blocks, such as Classic.
-
Version 1.9.15 PrestaShop 9
Fixes
- Header on phones (Hummingbird theme and themes with the same header): the main menu took a whole line of the header, which stacked over several lines (logo, "Menu" button, then the icons), and the open menu pushed the page down. The menu button now sits on the line of the logo and icons, and the menu opens in a drawer on the side of the screen, closed by its button, the Escape key or a tap outside the drawer. Nothing changes on desktop.
- "Contact us" twice on phones: when the menu already leads to the contact page, the theme's contact link is no longer added to the open menu.
Show the 33 previous versions
-
Version 1.9.14 PrestaShop 9
Fixes
- Menus of the theme installed before their content: when the theme was turned on before its categories, pages, products or brands (content pack imported afterwards), the links without content were left out of the menu and never came back, even once the content was created. The menu now waits: as soon as the content exists in the shop, including through a catalog import, the menu is completed, with no duplicate, unless it was changed in the meantime. A changed or deleted menu is kept as it is. The back office shows how many menus are waiting for their content. A menu of the theme whose links all lack their content is no longer created empty: it is created as soon as its content exists.
- Menus already incomplete: on update, the menus of the theme followed since 1.9.11 are read again once; those still as imported are completed with the content that exists now, with no duplicate. The “Import the menus of the theme” button also reads the theme file again when it was already imported.
- Update from 1.9.10 or earlier: the menus of the theme imported by these versions are kept as they are, with no automatic update by a new version of the theme, since a change made by hand can no longer be told apart.
-
Version 1.9.13 PrestaShop 9
Fixes
- Reinstallation: after an uninstall, the menus provided by the theme were never created again (they were taken for deleted menus). Uninstalling now also clears the tracking of these menus in every shop, and an installation with no menu at all clears the one left by an earlier version.
- All brands, all suppliers: an entry with no active brand (or supplier), or none of the ticked ones active, is no longer shown in the shop; before, its column kept its title, with no link.
-
Version 1.9.12 PrestaShop 9
New
- "All brands" and "All suppliers" entries: choose what shows, "Show all" (as before), "A limited number" (the first N in alphabetical order, 10 offered) or "A selection" (checkboxes, with a filter, "Tick all" and "Untick all", a counter; offline brands are marked). Existing entries do not change.
- Logo of each brand in the menu: a brand entry and each brand of "All brands" carry their logo (small size, otherwise the original logo), taken from a fix made on the showroom.
- Themes: the seed can choose the brands or suppliers of an "All brands" or "All suppliers" entry by their exact name (only field); theme contract completed (brand logos, three modes).
Changes
- Back office redone on the model of the LNK Reassurance editor: summary pills (what the entry shows, place, screens), icon sections in a card with a dot on a changed section, cards with a header, yes / no settings as switches, a wider live preview next to the form from 1200 pixels (menu reduced to its icons from 1200 to 1499 pixels). Same look on the page of a menu.
Fixes
- Live preview, "menu bar and panel behind the button" layout: the open panel now shows in full next to the bar (only its "Menu ×" line was visible, cut off under the bar).
-
Version 1.9.11 PrestaShop 9
New
- Theme menus updated without duplicates: when the theme ships a new version of its menus file, the menus still as imported are updated, those you changed or deleted are kept as they are, new ones are created, nothing is deleted. The main menu keeps its role. The back office says how many of your menus were kept.
- Theme menus already imported: found again by their code at the next import, without being rewritten.
-
Version 1.9.10 PrestaShop 9
New
- Depth "None: the category alone" for a category or page category entry: the entry shows without its subcategories or its pages, for example in a footer menu. A top-level entry set this way, with no child entries, shows as a plain link. In the back office, the number of levels becomes a list: None, All, then 1 to 12.
- Theme seed: "depth": "none" for the same, also in native_defaults. Existing seeds do not change (0: all, N: N levels). The cases are shared with the WordPress version (tests/depth-seed.json).
-
Version 1.9.9 PrestaShop 9
New
- Mobile tab bar of the main menu ("Mobile and scrolling"): at the bottom of the screen below 768 pixels, with Home, Menu, Search, Account and Cart tabs to choose from, the tab of the current page marked, and a cart counter. The Menu tab opens the panel, the Cart tab opens LNK Cart Drawer when it handles the cart. Mirrored order in Arabic. At the bottom by default for a new menu; an existing menu keeps no bar until the merchant chooses.
- Reserved space: when the bar is visible, the page carries the --lnk-inset-bottom variable and keeps the same margin at the bottom; the sticky buy bar of a theme sits above it, with no overlap. Setting "Hide the tab bar on product pages" for a theme that does not follow it yet.
- Menu that stays at the top on computers: the bar of the main menu stays at the top of the screen when the page scrolls, smaller if chosen. Under a sticky announcement bar, it follows --lnk-inset-top.
- Image tiles at the first level of the panel: two per row, with the image and the label of each entry; a tile with sub-entries opens its level.
- Theme seed: keys mobile_bar, tabbar_tabs, tabbar_hide_product, sticky and panel_tiles. "theme" says that the theme already has its bottom bar or its sticky header: the module adds none, and the back office shows "Handled by the theme".
- The displayLnkMegamenuTabBar hook is rendered at the end of the tab bar.
Changes
- Shared layers instead of fixed z-index values: drawer panel on --lnk-z-drawer, fallback 1050 as before to stay above the sticky header of Hummingbird, dropdowns and mega panels on --lnk-z-overlay (30 before). Theme contract: §2, §4 bis, §5 bis and §6.
- Each feature loads its script only when it is on: nothing more on the front when the mobile bar, the sticky menu and the tiles are off.
- Shared LNK back-office styling brought up to date (no setting changes).
-
Version 1.9.8 PrestaShop 9
Changes
- Back office: the state of the shop shows at the top of every page of the module. Main menu in preparation: "your shop still shows the native menu", with the "Put online" button (formerly "Switch to this menu", on the main menu page only). Native menu turned back on while the main menu is online: "Your shop shows two menus", with the "Turn off the native menu" button.
- Entry badges: without --lnk-megamenu-badge-radius, their radius follows the theme's --lnk-badge-radius variable.
Fixes
- Main menu changed in the back office ("Main menu" box of another menu): the new one takes the state of the old one, online only if the old one was (the native menu is then already off), and the old one becomes an inactive menu. Before, an active menu promoted this way showed next to the native menu, and the old main menu stayed visible: two menus in the header.
- LNK theme enabled after the module was installed: its seeded main menu takes the place of the main menu still in preparation (kept, hidden, among the other menus) and turns the native menu off. Before, it was added hidden and the shop kept the native menu.
-
Version 1.9.7 PrestaShop 9
New
- Seed from a theme: the main menu receives its layout and the settings of its panel ("layout": bar, bar_panel, panel, page; "panel_side", "panel_click", "panel_account", "panel_search", "panel_hide"), with the checks of the "Main menu" screen. Missing or unknown value: the default. Theme contract 1 completed (docs/THEME-CONTRACT); an older version ignores these fields.
- Full list of hooks declared in the main file (Lnk_Megamenu::$hooks), for themes that name the module in theme.yml: otherwise PrestaShop would unhook it from all its display hooks.
Fixes
- Panel: the content of the PanelHeader and PanelFooter hooks is wrapped in a block (.lnk-mmp__hook--header, --footer), added only when a module is hooked there.
- Panel: each language shows under its own name ("Français", "English", "العربية") instead of "Français (French)".
-
Version 1.9.6 PrestaShop 9
New
- Menu as cards for a page ("Our ranges" block): menus other than the main one, "Cards" display, one card per entry with its image and its sub-entries as pills, title above the cards in each language. New "Home page" placement (displayHome). Seed: "display": "cards", "title", place "home". Separate stylesheet (0.7 KB), loaded only if a menu is shown as cards.
- FAQ: what to do if two menus show (theme that hooks ps_mainmenu again).
-
Version 1.9.5 PrestaShop 9
Fixes
- Theme that installs the module and ships its menus (seed, LNK_MEGAMENU_THEME key in theme.yml): on the theme's first activation, its menus now replace the default menu. PrestaShop installs the theme's modules before switching the shop to that theme: the module only looked at shops already on the theme, and the theme's menu stayed hidden behind the copy of the native menu.
- Theme contract: the suggested {widget} calls are wrapped in the Module::isEnabled guard (module missing or disabled: the page no longer fails).
-
Version 1.9.4 PrestaShop 9
New
- Compatibility document (docs/COMPATIBILITY) in French, English and Arabic: versions and packages, matrix checks,
gdextension, themes and overridable templates, multistore, fonts, no override.
Changes
- Product page and FAQ: setup described as it is (native menu taken over on installation, online in one click, nothing to set to start), four layouts, search, account links, languages and currencies in the panel, configurable automatic subcategories, ten places and the call ready to copy, taking over and going back to the native menu shop by shop, starting menus from a theme. Two new questions (setup, subcategories).
- Weights measured again on 1.9.3: panel script 1.9 KB. Number of panel hooks corrected (six). Matrix versions specified (1.7.6, 1.7.8 and 8.1 for the 1.1.N archive).
- Compatibility document (docs/COMPATIBILITY) in French, English and Arabic: versions and packages, matrix checks,
-
Version 1.9.3 PrestaShop 9
New
- Multistore: a new shop takes over the menus of the copied shop (entries, texts and groups included); a deleted shop takes its menus away.
- A shop without a main menu (created without copying data, or before this version) takes over its native menu on update and when the module is first opened, instead of an empty menu or no menu at all.
Changes
- In “All shops” or a group, the page asks you to choose a shop: no more viewing or changing the default shop without knowing it. The edited shop is shown at the top of the page.
- The native menu is never turned off on a shop where the module is not enabled, and a theme seed only applies to the shops using that theme.
Fixes
- Arabic, Persian and Urdu: no more letter spacing in the bar and the column titles (Luxe and default styles), which split the joined letters.
- Takeover without a native menu: categories start from the root of the shop. Brands, suppliers and CMS categories offered and checked in the edited shop.
-
Version 1.9.2 PrestaShop 9
New
- Drawer panel for the main menu, chosen in its settings: menu bar and panel behind the button, panel only, or full page. Each click goes one level down, with a back button and the title of the level; unlimited depth. Side of the panel to choose (mirrored automatically in Arabic), click on the name to open the page and on the arrow to open the level, or a click that always opens the level. Search (LNK Advanced Search when it is active) and customer account links in the panel.
- Highlight card: an image and a link at the bottom of a level of the panel, and as the last column of a mega submenu. The image is checked and re-encoded on upload.
- Theme seed
"items": "native": a theme gives the shape of the menu, the shop provides its entries (its native menu, otherwise its top-level categories);native_defaultssets submenu, columns and depth. - Seven hooks for modules and themes (docs/HOOKS.md).
Changes
- After the update, a shop keeps its menu bar: the panel is turned on in the settings of the main menu. Its files (under 2 KB each) load only when it is on. Without JavaScript, the panel stays usable as an expandable list.
-
Version 1.9.1 PrestaShop 9
Changes
- Back office on the common look of LNK modules, the same as LNK Hero and LNK Product lists: sections on the left, language of the texts chosen at the top of the page, live preview on the right. Same settings, nothing to redo.
-
Version 1.9.0 PrestaShop 9
First version. Branch 9: PrestaShop 9.0 to 9.x only. PrestaShop 1.7.6 to 8.x use the
prestashop/legacybranch (1.1.0).New
- Main menu in place of ps_mainmenu: categories with their subcategories, pages, page categories, products, brands, suppliers, shops, PrestaShop pages, links.
- Takes over the native menu on installation, in the same order; the native menu stays on, the module's menu is in preparation until you switch. Back to the native menu in one click.
- Submenus as dropdowns or columns, labels, optional category images.
- Visibility per customer group, per device and by dates.
- Several menus, each with its place (10 theme places, or by its code), its style and its font; one main menu, in place of the native one.
- Fonts under the OFL licence served by the shop (never by Google), Latin and Arabic, "Inherit from the theme" by default; cost warning when a font is chosen.
- The word "Menu" of the mobile drawer can be hidden; screen readers still read it.
- Product card in a column panel: image, name and the customer's price, never cached from one customer to another; falls back on the category image when there is no menu thumbnail.
- Theme contract (docs/THEME-CONTRACT.md): a theme delivers its starting menus (seed.json), imported once per version, without ever modifying the merchant's menus.
- 8 ready-made styles, or "Inherit from the theme"; only the chosen style is loaded.
- Live preview in the back office, desktop and mobile, with the full width preview.
- No JavaScript on the shop.
-
Version 1.1.17 PrestaShop 1.7.6 to 8.x
New
- Overall look of the main menu: two shop settings,
LNK_MEGAMENU_STYLE(theme style or one of the eight styles) andLNK_MEGAMENU_LAYOUT(bar, bar and panel, panel, full page), change the look of the main menu on top of its own settings, without modifying the menu. They serve demos and themes; empty, nothing changes.
Fixes
- Language added after installation: menus had no text in the new language (entries without a label). Each menu now receives the texts of its shop's default language, to translate afterwards; menus provided by the theme directly take the theme's texts in that language, when it provides them. A text entered in the shop is never replaced. The "LNK Mega Menu" back-office menu name also gets the new language.
- Keyboard on desktop: the Escape key closes the open submenu of the main menu (opened on hover, with the keyboard or by a click) and brings focus back to its button; it does not reopen while the mouse stays over it. On phones, Escape still closes the menu, with no other effect.
- Header on small screens: below 420 px wide, the main menu button shows only its icon, leaving room for search and the other buttons on the logo line. The word "Menu" is still read by screen readers.
- Documentation (FAQ, product page, compatibility) aligned with the module: the main menu as a bar loads a small script (Escape and drawer overlay, 0.9 KB), plus those of the tab bar and the sticky menu when they are on; the main menu created on installation gets the "Sober" style and the theme's font ("Inherit from the theme" for its colours) and shows the mobile tab bar once online; "Put online" is on the page of each menu; 11 place choices and 7 hooks everywhere; weights updated; PHP 7.1 to 8.1, bench-tested from 7.2 to 8.1, 7.1 checked by lint (8.1 to 8.4 for 1.9.17, bench-tested on 8.4); product page version 1.9.17. The module description no longer promises « no JavaScript ».
- Overall look of the main menu: two shop settings,
-
Version 1.1.16 PrestaShop 1.7.6 to 8.x
Fixes
- With another LNK extension installed (Announcement bar, Product lists, Reassurance, Premium, Total look): importing the theme menus, their update by the theme and uninstalling could fail (error when enabling a theme, uninstall impossible). Each extension now uses its own version of the shared tool. On update, the theme menus are read again once, without duplicates; those changed in the shop are kept.
- Header on every theme: the main menu now takes its place in the header of any theme that lines up the logo, the menu and the icons, not only themes with a Bootstrap row such as Hummingbird: the menu button on phones, the remaining space on desktop. Nothing changes for a theme whose header is made of blocks, such as Classic.
-
Version 1.1.15 PrestaShop 1.7.6 to 8.x
Fixes
- Header on phones (Hummingbird theme and themes with the same header): the main menu took a whole line of the header, which stacked over several lines (logo, "Menu" button, then the icons), and the open menu pushed the page down. The menu button now sits on the line of the logo and icons, and the menu opens in a drawer on the side of the screen, closed by its button, the Escape key or a tap outside the drawer. Nothing changes on desktop.
- "Contact us" twice on phones: when the menu already leads to the contact page, the theme's contact link is no longer added to the open menu.
-
Version 1.1.14 PrestaShop 1.7.6 to 8.x
Fixes
- Menus of the theme installed before their content: when the theme was turned on before its categories, pages, products or brands (content pack imported afterwards), the links without content were left out of the menu and never came back, even once the content was created. The menu now waits: as soon as the content exists in the shop, including through a catalog import, the menu is completed, with no duplicate, unless it was changed in the meantime. A changed or deleted menu is kept as it is. The back office shows how many menus are waiting for their content. A menu of the theme whose links all lack their content is no longer created empty: it is created as soon as its content exists.
- Menus already incomplete: on update, the menus of the theme followed since 1.1.11 are read again once; those still as imported are completed with the content that exists now, with no duplicate. The “Import the menus of the theme” button also reads the theme file again when it was already imported.
- Update from 1.1.10 or earlier: the menus of the theme imported by these versions are kept as they are, with no automatic update by a new version of the theme, since a change made by hand can no longer be told apart.
-
Version 1.1.13 PrestaShop 1.7.6 to 8.x
Fixes
- Reinstallation: after an uninstall, the menus provided by the theme were never created again (they were taken for deleted menus). Uninstalling now also clears the tracking of these menus in every shop, and an installation with no menu at all clears the one left by an earlier version.
- All brands, all suppliers: an entry with no active brand (or supplier), or none of the ticked ones active, is no longer shown in the shop; before, its column kept its title, with no link.
-
Version 1.1.12 PrestaShop 1.7.6 to 8.x
New
- "All brands" and "All suppliers" entries: choose what shows, "Show all" (as before), "A limited number" (the first N in alphabetical order, 10 offered) or "A selection" (checkboxes, with a filter, "Tick all" and "Untick all", a counter; offline brands are marked). Existing entries do not change.
- Logo of each brand in the menu: a brand entry and each brand of "All brands" carry their logo (small size, otherwise the original logo), taken from a fix made on the showroom.
- Themes: the seed can choose the brands or suppliers of an "All brands" or "All suppliers" entry by their exact name (only field); theme contract completed (brand logos, three modes).
Changes
- Back office redone on the model of the LNK Reassurance editor: summary pills (what the entry shows, place, screens), icon sections in a card with a dot on a changed section, cards with a header, yes / no settings as switches, a wider live preview next to the form from 1200 pixels (menu reduced to its icons from 1200 to 1499 pixels). Same look on the page of a menu.
Fixes
- Live preview, "menu bar and panel behind the button" layout: the open panel now shows in full next to the bar (only its "Menu ×" line was visible, cut off under the bar).
-
Version 1.1.11 PrestaShop 1.7.6 to 8.x
New
- Theme menus updated without duplicates: when the theme ships a new version of its menus file, the menus still as imported are updated, those you changed or deleted are kept as they are, new ones are created, nothing is deleted. The main menu keeps its role. The back office says how many of your menus were kept.
- Theme menus already imported: found again by their code at the next import, without being rewritten.
-
Version 1.1.10 PrestaShop 1.7.6 to 8.x
New
- Depth "None: the category alone" for a category or page category entry: the entry shows without its subcategories or its pages, for example in a footer menu. A top-level entry set this way, with no child entries, shows as a plain link. In the back office, the number of levels becomes a list: None, All, then 1 to 12.
- Theme seed: "depth": "none" for the same, also in native_defaults. Existing seeds do not change (0: all, N: N levels). The cases are shared with the WordPress version (tests/depth-seed.json).
-
Version 1.1.9 PrestaShop 1.7.6 to 8.x
New
- Mobile tab bar of the main menu ("Mobile and scrolling"): at the bottom of the screen below 768 pixels, with Home, Menu, Search, Account and Cart tabs to choose from, the tab of the current page marked, and a cart counter. The Menu tab opens the panel, the Cart tab opens LNK Cart Drawer when it handles the cart. Mirrored order in Arabic. At the bottom by default for a new menu; an existing menu keeps no bar until the merchant chooses.
- Reserved space: when the bar is visible, the page carries the --lnk-inset-bottom variable and keeps the same margin at the bottom; the sticky buy bar of a theme sits above it, with no overlap. Setting "Hide the tab bar on product pages" for a theme that does not follow it yet.
- Menu that stays at the top on computers: the bar of the main menu stays at the top of the screen when the page scrolls, smaller if chosen. Under a sticky announcement bar, it follows --lnk-inset-top.
- Image tiles at the first level of the panel: two per row, with the image and the label of each entry; a tile with sub-entries opens its level.
- Theme seed: keys mobile_bar, tabbar_tabs, tabbar_hide_product, sticky and panel_tiles. "theme" says that the theme already has its bottom bar or its sticky header: the module adds none, and the back office shows "Handled by the theme".
- The displayLnkMegamenuTabBar hook is rendered at the end of the tab bar.
Changes
- Shared layers instead of fixed z-index values: drawer panel on --lnk-z-drawer, fallback 1050 as before to stay above the sticky header of Hummingbird, dropdowns and mega panels on --lnk-z-overlay (30 before). Theme contract: §2, §4 bis, §5 bis and §6.
- Each feature loads its script only when it is on: nothing more on the front when the mobile bar, the sticky menu and the tiles are off.
- Shared LNK back-office styling brought up to date (no setting changes).
-
Version 1.1.8 PrestaShop 1.7.6 to 8.x
Changes
- Back office: the state of the shop shows at the top of every page of the module. Main menu in preparation: "your shop still shows the native menu", with the "Put online" button (formerly "Switch to this menu", on the main menu page only). Native menu turned back on while the main menu is online: "Your shop shows two menus", with the "Turn off the native menu" button.
- Entry badges: without --lnk-megamenu-badge-radius, their radius follows the theme's --lnk-badge-radius variable.
Fixes
- Main menu changed in the back office ("Main menu" box of another menu): the new one takes the state of the old one, online only if the old one was (the native menu is then already off), and the old one becomes an inactive menu. Before, an active menu promoted this way showed next to the native menu, and the old main menu stayed visible: two menus in the header.
- LNK theme enabled after the module was installed: its seeded main menu takes the place of the main menu still in preparation (kept, hidden, among the other menus) and turns the native menu off. Before, it was added hidden and the shop kept the native menu.
-
Version 1.1.7 PrestaShop 1.7.6 to 8.x
New
- Seed from a theme: the main menu receives its layout and the settings of its panel ("layout": bar, bar_panel, panel, page; "panel_side", "panel_click", "panel_account", "panel_search", "panel_hide"), with the checks of the "Main menu" screen. Missing or unknown value: the default. Theme contract 1 completed (docs/THEME-CONTRACT); an older version ignores these fields.
- Full list of hooks declared in the main file (Lnk_Megamenu::$hooks), for themes that name the module in theme.yml: otherwise PrestaShop would unhook it from all its display hooks.
Fixes
- Panel: the content of the PanelHeader and PanelFooter hooks is wrapped in a block (.lnk-mmp__hook--header, --footer), added only when a module is hooked there.
- Panel: each language shows under its own name ("Français", "English", "العربية") instead of "Français (French)".
-
Version 1.1.6 PrestaShop 1.7.6 to 8.x
New
- Menu as cards for a page ("Our ranges" block): menus other than the main one, "Cards" display, one card per entry with its image and its sub-entries as pills, title above the cards in each language. New "Home page" placement (displayHome). Seed: "display": "cards", "title", place "home". Separate stylesheet (0.7 KB), loaded only if a menu is shown as cards.
- FAQ: what to do if two menus show (theme that hooks ps_mainmenu again).
-
Version 1.1.5 PrestaShop 1.7.6 to 8.x
Fixes
- Theme that installs the module and ships its menus (seed, LNK_MEGAMENU_THEME key in theme.yml): on the theme's first activation, its menus now replace the default menu. PrestaShop installs the theme's modules before switching the shop to that theme: the module only looked at shops already on the theme, and the theme's menu stayed hidden behind the copy of the native menu.
- Theme contract: the suggested {widget} calls are wrapped in the Module::isEnabled guard (module missing or disabled: the page no longer fails).
-
Version 1.1.4 PrestaShop 1.7.6 to 8.x
New
- Compatibility document (docs/COMPATIBILITY) in French, English and Arabic: versions and packages, matrix checks,
gdextension, themes and overridable templates, multistore, fonts, no override.
Changes
- Product page and FAQ: setup described as it is (native menu taken over on installation, online in one click, nothing to set to start), four layouts, search, account links, languages and currencies in the panel, configurable automatic subcategories, ten places and the call ready to copy, taking over and going back to the native menu shop by shop, starting menus from a theme. Two new questions (setup, subcategories).
- Weights measured again on 1.9.3: panel script 1.9 KB. Number of panel hooks corrected (six). Matrix versions specified (1.7.6, 1.7.8 and 8.1 for the 1.1.N archive).
- Compatibility document (docs/COMPATIBILITY) in French, English and Arabic: versions and packages, matrix checks,
-
Version 1.1.3 PrestaShop 1.7.6 to 8.x
New
- Multistore: a new shop takes over the menus of the copied shop (entries, texts and groups included); a deleted shop takes its menus away.
- A shop without a main menu (created without copying data) takes over its native menu when the module is first opened, instead of an empty menu.
Changes
- In “All shops” or a group, the page asks you to choose a shop: no more viewing or changing the default shop without knowing it. The edited shop is shown at the top of the page.
- The native menu is never turned off on a shop where the module is not enabled, and a theme seed only applies to the shops using that theme.
Fixes
- Arabic, Persian and Urdu: no more letter spacing in the bar and the column titles (Luxe and default styles), which split the joined letters.
- Takeover without a native menu: categories start from the root of the shop. Brands, suppliers and CMS categories offered and checked in the edited shop.
-
Version 1.1.2 PrestaShop 1.7.6 to 8.x
New
- Drawer panel for the main menu, chosen in its settings: menu bar and panel behind the button, panel only, or full page. Each click goes one level down, with a back button and the title of the level; unlimited depth. Side of the panel to choose (mirrored automatically in Arabic), click on the name to open the page and on the arrow to open the level, or a click that always opens the level. Search (LNK Advanced Search when it is active) and customer account links in the panel.
- Highlight card: an image and a link at the bottom of a level of the panel, and as the last column of a mega submenu. The image is checked and re-encoded on upload.
- Theme seed
"items": "native": a theme gives the shape of the menu, the shop provides its entries (its native menu, otherwise its top-level categories);native_defaultssets submenu, columns and depth. - Seven hooks for modules and themes (docs/HOOKS.md).
Changes
- After the update, a shop keeps its menu bar: the panel is turned on in the settings of the main menu. Its files (under 2 KB each) load only when it is on. Without JavaScript, the panel stays usable as an expandable list.
-
Version 1.1.1 PrestaShop 1.7.6 to 8.x
Changes
- Back office on the common look of LNK modules, the same as LNK Hero and LNK Product lists: sections on the left, language of the texts chosen at the top of the page, live preview on the right. Same settings, nothing to redo.
-
Version 1.1.0 PrestaShop 1.7.6 to 8.x
First version.
prestashop/legacybranch: PrestaShop 1.7.6 to 8.x. PrestaShop 9 has its own branch (1.9.0), with the same features.New
- Main menu in place of ps_mainmenu: categories with their subcategories, pages, page categories, products, brands, suppliers, shops, PrestaShop pages, links.
- Takes over the native menu on installation, in the same order; the native menu stays on, the module's menu is in preparation until you switch. Back to the native menu in one click.
- Submenus as dropdowns or columns, labels, optional category images.
- Visibility per customer group, per device and by dates.
- Several menus, each with its place (10 theme places, or by its code), its style and its font; one main menu, in place of the native one.
- Fonts under the OFL licence served by the shop (never by Google), Latin and Arabic, "Inherit from the theme" by default; cost warning when a font is chosen.
- The word "Menu" of the mobile drawer can be hidden; screen readers still read it.
- Product card in a column panel: image, name and the customer's price, never cached from one customer to another; falls back on the category image when there is no menu thumbnail.
- Theme contract (docs/THEME-CONTRACT.md): a theme delivers its starting menus (seed.json), imported once per version, without ever modifying the merchant's menus.
- 8 ready-made styles, or "Inherit from the theme"; only the chosen style is loaded.
- Live preview in the back office, desktop and mobile, with the full width preview.
- No JavaScript on the shop.