cancel
Showing results for 
Search instead for 
Did you mean: 

Main Menu Not Displaying - Need to Remove Theme and Associated Extensions

Main Menu Not Displaying - Need to Remove Theme and Associated Extensions

I currently have the Codazon Fastest theme installed on my site which includes a number of extensions. I Would like to remove the theme and all of the  extensions installed by the theme. however, none of these extensions appear in the installed modules list.

One of the extensions included in this theme is a Mega Menu. I suspect that I cannot get the default Magento Menu to show up on my pages due to the installation of this Mega Menu. However, there is no way to disable the MegaMenu extension and there is not a clear way of uninstalling the extension.

2 REPLIES 2

Re: Main Menu Not Displaying - Need to Remove Theme and Associated Extensions

The extension can be installed either through composer or uploaded in the app/code/ folder. Check those two places, it has to be in one of them.

Founder at https://agency418.com

Re: Main Menu Not Displaying - Need to Remove Theme and Associated Extensions

Hello @joe_masciangelo,

If the Codazon theme extensions are not appearing in the installed modules list, they may not have been installed via the usual app/code or vendor directories, or they could have been bundled differently. Here’s how you can locate and remove such extensions

Check vendor Directory for Composer-Installed Packages:

Some themes and extensions might be installed via Composer, which places them in the vendor directory. You can check if the Codazon theme or extensions were installed this way:

  • Navigate to vendor/ and look for any folders related to Codazon.

cd vendor/

ls | grep Codazon

If found, you can remove these packages by running:

composer remove codazon/[module-name]

 

Check the app/design Directory:

Some themes and extensions may have been placed directly in the design folders. Even if they don’t appear as Magento modules, they could be affecting functionality.

  • Navigate to app/design/frontend/ and check for any Codazon directories.
  • If found, you can manually remove the theme by deleting its directory:
rm -rf app/design/frontend/Codazon/

Check for Custom Module Registration:

  • Codazon may have used custom paths or registration mechanisms. You can search for any occurrences of Codazon occurrences of Codazon in the app/code, app/etc, and vendor directories:

grep -r "Codazon"  app/code  app/etc  vendor

If found, follow the paths to locate the modules or extensions and manually disable or remove them.

Search for Installed Database Tables:

Sometimes, extensions leave database tables behind. You can search for Codazon-related tables in your database:

Access your database using a MySQL client, then run the following query to find tables related to Codazon:

SHOW  TABLES  LIKE '%codazon%';

Remove Unused Layout and Template Files:

If you have removed the Codazon theme but are still facing issues like the Mega Menu blocking the default menu, there may be layout XML files or templates left behind. Search for overrides related to the Mega Menu:

  • Check for Codazon customizations in the following directories:
    • app/design/frontend/[YourTheme]/Magento_Theme/layout/
    • app/design/frontend/[YourTheme]/Magento_Catalog/layout/
  • Look for references to MegaMenu or similar in the layout.xml files and remove or revert them to Magento’s default state.

 Fallback to the Default Magento Theme:

After removing Codazon, you can switch back to Magento's default theme (Luma or Blank) to test if the menu issue persists. Set the theme using the following CLI command:

php bin/magento config:set design/theme/theme_id 2

By following these steps, you can manually locate and remove Codazon’s theme and associated extensions even if they do not appear in the installed module list. If needed, you can also restore Magento's default theme and menu functionality.

 

If the issue will be resolved, Click Kudos & Accept as a Solution.