AbanteCart Community

Shopping Cart Operations => Tips and Tricks => Topic started by: digitalt on September 25, 2016, 05:13:12 PM

Title: Mobile Menu Housekeeping
Post by: digitalt on September 25, 2016, 05:13:12 PM
The one annoying thing with the mobile menu was the "double" menu that would appear when clicking the 3 bar thing in the upper right corner.

There is a simple fix for this but whatever you do make sure you have backed everything up before attempting this.  I installed the dev_tools and cloned the default template before I tried this. 

Anyway, here goes.

1. Find storefront/view/default/javascript/custom.js  or if you cloned the default template go to the extension folder and find the folder that you named your clone.

2. Go to about line 28 where it says // Top Main Menu mobile.

3. A few lines down you will see // Populate dropdown with menu items

4. Delete all lines in between

Also turned off cart block in layout so now the 3 bars do basically nothing. Wish I could get rid of them.  Any ideas?

You can check it out at cbto.us.  I rearranged some blocks to show the search box by default also.

The more I work with Abantecart tha more I like it.

 
Title: Re: Mobile Menu Housekeeping
Post by: eCommerce Core on September 26, 2016, 11:08:13 AM
Thank you for sharing.
Title: Re: Mobile Menu Housekeeping
Post by: ktchost.com on October 06, 2016, 10:13:04 AM
Nice information, thank you for sharing as its useful for other members as well
Title: Re: Mobile Menu Housekeeping
Post by: digitalt on October 06, 2016, 12:19:24 PM
Here's another one I use to clean up the mobile menu further.   http://forum.abantecart.com/index.php/topic,5062.msg21884.html#msg21884