Author Topic: How to remove Extensions menu option from left Dashboard  (Read 177 times)

Offline potangina

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
How to remove Extensions menu option from left Dashboard
« on: February 04, 2018, 12:39:42 PM »
Hello, pls help me remove the "Extensions" option from the left Dashboard

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 3190
  • Karma: +231/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to remove Extensions menu option from left Dashboard
« Reply #1 on: February 04, 2018, 05:35:29 PM »
Menu is built based on AMenu class. There is a method deleteMenuItem()

https://github.com/abantecart/abantecart-src/blob/acda4b4f1527865ecd1d2e9af0cf4aad3d41371e/public_html/core/lib/menu_control.php#L258

You need to locate menu item ID and pass to this method to delete.

More about menu:
https://abantecart.atlassian.net/wiki/spaces/DOC/pages/17694982/Extending+Menus

We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline potangina

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: How to remove Extensions menu option from left Dashboard
« Reply #2 on: February 05, 2018, 09:18:35 AM »
thanks for your help sir! but how can i "locate menu item ID and pass to this method to delete"?, im sorry, i have little background in programming.
« Last Edit: February 05, 2018, 09:38:34 AM by potangina »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 3190
  • Karma: +231/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to remove Extensions menu option from left Dashboard
« Reply #3 on: February 06, 2018, 04:05:56 PM »
I afraid, that without some technical skills, you will not be able to do this.

You need to know how to access the database, run queries and add code to existing PHP files.
We need your help to build better free open source eCommerce platform for everyone.
See how you can help