Upgrade SOO Magic Menu From 4.x to 5: Checklist
Version 5 of Magic Menu is not a menu update; it is a rebuild. The old menu renderer, the admin screen and the database schema were replaced, and a fresh install and an upgrade end up in the same place. This page covers what the upgrade changes, what it brings over from your 4.x menus by itself, and the five checks that tell you the store came out intact. If you are still choosing a module, start from the PrestaShop mega menu setup guide instead; if you already run the module and only want the settings, the Magic Menu module page lists the current version and the tested PrestaShop releases.
What 5.x replaces
The rewrite is worth understanding before you upgrade, because it explains the checks further down:
- New database schema. Five tables instead of the 4.x structure: menus, menu translations, per-shop rows, items and item translations. Ordering is stored as parent plus position, not as a nested set.
- New admin builder. Drag and drop tree, autosave, a full-width live preview, product search, image upload, schedule and customer-group visibility, JSON import and export.
- New front renderer. No jQuery, no icon fonts and no web fonts: about 20 KB of CSS and 5.7 KB of JS minified (roughly 4.5 KB and 2.3 KB gzip).
- New design layer. Five presets (Aurora, Graphite, Minimal, Glass, Kinetic), a dark or automatic colour scheme, and a mobile panel that can be a side drawer, full screen or hidden.
Before you upgrade
- Back up the database and the
modules/soomagicmenufolder. The 4.x menu data is imported during the upgrade, and a backup is the cheapest way to undo a botched run. - Note the hook the menu is published to. 5.x renders on
displayTop,displayNav1,displayNav2,displayNavFullWidth,displayBannerordisplayFooterBefore; if your theme called the menu somewhere unusual, you will need to re-attach it. - Check that your PrestaShop version is inside the module's supported range: 1.7.0.0 through 9.x. The upgrade script assumes the modern module API and does not run on 1.6.
- Tell your client the menu may look different. Presets and spacing are new; a menu that "worked" in 4.x will render with 5.x styling.
How the upgrade runs
PrestaShop runs the module's upgrade scripts in version order:
- 5.0.0 creates the new schema and imports the 4.x menu data once.
- 5.1.0 adds the Kinetic motion preset. No schema change.
- 5.1.1 fixes the builder UI, adds CSRF tokens to the configuration forms and tightens multishop handling. No schema change.
If any script fails, the module stays at the version PrestaShop recorded and the upgrade can be re-run after the cause is fixed. The import step is written to run once. If a run stops halfway, check whether part of the menu was already imported before running it again.
What the importer carries over
- Menus and items, with their labels and links.
- Icons, mapped from the 4.x icon set to the new one.
- Ordering: the 4.x nested set is converted to parent plus position, so the tree keeps its shape.
It does not try to reproduce 4.x styling. The look after the upgrade comes from the preset you pick, not from the old configuration.
Five checks after the upgrade
- The menu is on the page. Open the front office. If the header is empty, the module is not on a hook — re-hook it, then look again.
- The tree kept its shape. Compare top-level items and one deep branch against the 4.x menu. Positions should match, icons included.
- Mobile still works. Resize below the breakpoint. The panel should open as a drawer or full screen depending on the setting, with focus moving into it and returning when it closes.
- The cache is cold. The module caches rendered fragments per shop, language, currency, customer group, theme and module version, 900 seconds by default. Saving a menu clears that cache; if you changed files by hand, clear the PrestaShop cache as well. The mega menu performance guide explains which parts of a menu cost render time when the cache is cold.
- Nothing 404s. Click two or three items that point to categories, products and a CMS page. The importer copies links as they were; a broken link after the upgrade was usually already broken before it.
If something looks wrong
- Old styles survive. Bump the asset version by saving the menu once, then clear the PrestaShop cache.
- The menu is gone from the header. Re-publish it on one of its six display hooks (
displayTop,displayNav1,displayNav2,displayNavFullWidth,displayBannerordisplayFooterBefore), then check the front office again. The module page lists the hooks the current build supports. - Items are missing. The importer runs once. If a menu was created after the first 5.x run, import it from the configuration screen, which keeps the legacy importer available.
- You want the old menu back. Restore the database and the
modules/soomagicmenufolder from your backup. Nothing in 5.x deletes your data on uninstall: uninstalling keeps menus, items and settings, and a separate Delete all menu data button is the only thing that removes them.
FAQ
Will I lose my 4.x menus when I upgrade? No. The upgrade script imports them automatically the first time 5.x runs, and uninstalling later still keeps the data.
Do I have to rebuild the menu by hand? No. Menus, items, icons and ordering are imported. What changes is the styling, which comes from the new presets.
Does 5.x still load jQuery? No. The storefront assets are plain CSS and JS, about 20 KB of CSS and 5.7 KB of JS minified, with no icon fonts or web fonts.
Is there a schema change in 5.1.0 or 5.1.1? No. Only 5.0.0 changes the database. 5.1.0 adds the Kinetic preset and 5.1.1 fixes the builder and the configuration forms.
Do I need to clear the cache after upgrading? Yes. The module caches rendered fragments for up to 900 seconds and saving a menu clears them. Clear the PrestaShop cache once after the upgrade so the new assets are served.
Does uninstalling the module delete my menu? No. Uninstall keeps menus, items and settings. Removal is a separate action: Delete all menu data in the module configuration.
Was this page helpful?
Countdown x Bar
Xleft
Jump to Checkout
Accessibility Guard
SOO Agent Gateway
SOO Agent Catalog Tools
SOO Agent SEO Tools
GDPR
