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

Support AbanteCart eCommerce

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

Offline potangina

  • Newbie
  • *
  • Posts: 10
  • 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
"Death is like a wind, always by my side"
- Cancer

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4362
  • Karma: +301/-10
    • 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

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline potangina

  • Newbie
  • *
  • Posts: 10
  • 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 »
"Death is like a wind, always by my side"
- Cancer

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4362
  • Karma: +301/-10
    • 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.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod