Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Mobile Menu Housekeeping  (Read 1874 times)

Offline digitalt

  • Full Member
  • ***
  • Posts: 116
  • Karma: +20/-0
    • View Profile
Mobile Menu Housekeeping
« 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.

 

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1581
  • Karma: +89/-1
    • View Profile
Re: Mobile Menu Housekeeping
« Reply #1 on: September 26, 2016, 11:08:13 AM »
Thank you for sharing.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline ktchost.com

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
    • KTCHost - Reliable Web Hosting Provider
Re: Mobile Menu Housekeeping
« Reply #2 on: October 06, 2016, 10:13:04 AM »
Nice information, thank you for sharing as its useful for other members as well
█ ktchost.com - Reliable Web Hosting Provider
█ E-commerce Ready Hosting | Pure SSD Cloud/VPS | Offshore Dedicated Server
█ 24/7 Reliable Tech Support | Monitoring Service | R1Soft Backup

Offline digitalt

  • Full Member
  • ***
  • Posts: 116
  • Karma: +20/-0
    • View Profile
Re: Mobile Menu Housekeeping
« Reply #3 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

 

LoliPromDress.com Prom dresses 2018