Skip to content

Commit

Permalink
Code Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
srenon committed Feb 23, 2021
1 parent 8247649 commit 55ec91d
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 82 deletions.
103 changes: 54 additions & 49 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,51 @@
<a href="http://www.magepal.com" title="Magento Modules Marketplace" ><img src="https://image.ibb.co/dHBkYH/Magepal_logo.png" width="100" align="right" alt="Best Magento Extensions Provider" /></a>
<a href="https://www.magepal.com" title="Magento Modules Marketplace" ><img src="https://image.ibb.co/dHBkYH/Magepal_logo.png" width="100" align="right" alt="Best Magento Extensions" /></a>

# Customer Account Links Manager for Magento2

[![Total Downloads](https://poser.pugx.org/magepal/magento2-customeraccountlinksmanager/downloads)](https://www.magepal.com/magento2/extensions/customer-dashboard-links-manager-for-magento-2.html)
[![Latest Stable Version](https://poser.pugx.org/magepal/magento2-customeraccountlinksmanager/v/stable)](https://www.magepal.com/magento2/extensions/customer-dashboard-links-manager-for-magento-2.html)

<a href="https://www.magepal.com/customer-dashboard-links-manager-for-magento-2.html" title="Magento Plug-in Marketplace" ><img src="https://user-images.githubusercontent.com/1415141/108905663-f8fd9780-75ed-11eb-9410-a03db9ae49eb.png" alt="Best Magento Extensions" /></a>

Our Account Links Manager extension allows you to quickly and easily remove unwanted links from your customer navigation dashboard sidebar in Magento. This extension can be used to remove the default Magento links such as "My Product Review", "My Downloadable Products", "My Credit Cards" or "Billing Agreements", as well as links added by other third-party extensions to your customer dashboard sidebar.

No coding or template modification necessary, all links are removable by updating the configurable within your Magento admin. Removing any link from your customer account page is as simple as clicking on the link you want to remove and save the configuration in admin.

Admin Configuration
![Customer Account Links Manager for Magento2](https://image.ibb.co/cSJeAH/customer_accoundt_links_manager.png)
<a href="https://www.magepal.com/customer-dashboard-links-manager-for-magento-2.html" title="Magento Extension Marketplace" >![Customer Account Links Manager for Magento2](https://image.ibb.co/cSJeAH/customer_accoundt_links_manager.png)</a>

Frontend
![Magento Dashboard Links](https://image.ibb.co/b8PfYH/Customer_Account_Links_Manager_for_Magento2.gif?1546)
<a href="https://www.magepal.com/customer-dashboard-links-manager-for-magento-2.html" title="Magento Modules Marketplace" >![Magento Dashboard Links](https://image.ibb.co/b8PfYH/Customer_Account_Links_Manager_for_Magento2.gif?1546)</a>

### Features
- Remove navigation links from account dashboard sidebar added by:
- default Magento
- third party extensions
- No code or template modification
- Switch on/off menu dashboard links easily via Magento backend.
#### Remove Customer Account Links
- NewsLetter Subscriptions
- Billing Agreements / Subscription
- My Product Reviews
- Stored Payment Methods
- My wish List
- My Downloadable Products
- Customer Balance
- My Credit Cards
- Gift Card
- Gift Registry
- Reward points
- Order by SKU
### Documentation
- [How to Install Dashboard Links Manager for Magento2](https://www.magepal.com/help/docs/magento2-dashboard-links-manager/#installation)
- [How to setup Customer Account Links Manager for Magento2](https://www.magepal.com/help/docs/magento2-dashboard-links-manager/#configuration)
- Remove navigation links from account dashboard sidebar added by:
- default Magento
- third party extensions

- No code or template modification

- Switch on/off menu dashboard links easily via Magento backend.

#### Remove Customer Account Links
- NewsLetter Subscriptions
- Billing Agreements / Subscription
- My Product Reviews
- Stored Payment Methods
- My wish List
- My Downloadable Products
- Customer Balance
- My Credit Cards
- Gift Card
- Gift Registry
- Reward points
- Order by SKU


### Documentation

- [How to Install Dashboard Links Manager for Magento2](https://www.magepal.com/help/docs/magento2-dashboard-links-manager/#installation)

- [How to setup Customer Account Links Manager for Magento2](https://www.magepal.com/help/docs/magento2-dashboard-links-manager/#configuration)

## Installation Using Composer

Expand All @@ -49,14 +54,14 @@ composer require magepal/magento2-customeraccountlinksmanager
```

##### Manually
* Download the extension
* Unzip the file
* Create a folder {Magento 2 root}/app/code/MagePal/CustomerAccountLinksManager
* Copy the content from the unzip folder
* Download the extension
* Unzip the file
* Create a folder {Magento 2 root}/app/code/MagePal/CustomerAccountLinksManager
* Copy the content from the unzip folder

#### Step 2 - Enable Customer Account Links Manager (from {Magento root} folder)
* php -f bin/magento module:enable --clear-static-content MagePal_CustomerAccountLinksManager
* php -f bin/magento setup:upgrade
* php -f bin/magento module:enable --clear-static-content MagePal_CustomerAccountLinksManager
* php -f bin/magento setup:upgrade

#### Step 3 - Configure Customer Account Links Manager

Expand All @@ -76,20 +81,20 @@ Need help setting up or want to customize this extension to meet your business n

Magento 2 Extensions
---
- [Custom SMTP](https://www.magepal.com/magento2/extensions/custom-smtp.html)
- [Magento Custom SMTP](https://www.magepal.com/magento2/extensions/custom-smtp.html)
- [Catalog Hover Image for Magento](https://www.magepal.com/magento2/extensions/catalog-hover-image-for-magento.html)
- [Enhanced Success Page for Magento 2](https://www.magepal.com/magento2/extensions/enhanced-success-page.html)
- [Enhanced Transactional Emails for Magento 2](https://www.magepal.com/magento2/extensions/enhanced-transactional-emails.html)
- [Google Tag Manager](https://www.magepal.com/magento2/extensions/google-tag-manager.html)
- [Enhanced E-commerce](https://www.magepal.com/magento2/extensions/enhanced-ecommerce-for-google-tag-manager.html)
- [Reindex](https://www.magepal.com/magento2/extensions/reindex.html)
- [Custom Shipping Method](https://www.magepal.com/magento2/extensions/custom-shipping-rates-for-magento-2.html)
- [Preview Order Confirmation](https://www.magepal.com/magento2/extensions/preview-order-confirmation-page-for-magento-2.html)
- [Guest to Customer](https://www.magepal.com/magento2/extensions/guest-to-customer.html)
- [Admin Form Fields Manager](https://www.magepal.com/magento2/extensions/admin-form-fields-manager-for-magento-2.html)
- [Customer Dashboard Links Manager](https://www.magepal.com/magento2/extensions/customer-dashboard-links-manager-for-magento-2.html)
- [Lazy Loader](https://www.magepal.com/magento2/extensions/lazy-load.html)
- [Order Confirmation Page Miscellaneous Scripts](https://www.magepal.com/magento2/extensions/order-confirmation-miscellaneous-scripts-for-magento-2.html)
- [HTML Minifier for Magento2](https://www.magepal.com/magento2/extensions/html-minifier.html)
- [Google Tag Manager](https://www.magepal.com/magento2/extensions/google-tag-manager.html)
- [Enhanced E-commerce](https://www.magepal.com/magento2/extensions/enhanced-ecommerce-for-google-tag-manager.html)
- [Magento Reindex](https://www.magepal.com/magento2/extensions/reindex.html)
- [Magento Custom Shipping Method](https://www.magepal.com/magento2/extensions/custom-shipping-rates-for-magento-2.html)
- [Magento Preview Order Confirmation](https://www.magepal.com/magento2/extensions/preview-order-confirmation-page-for-magento-2.html)
- [Magento Guest to Customer](https://www.magepal.com/magento2/extensions/guest-to-customer.html)
- [Magento Admin Form Fields Manager](https://www.magepal.com/magento2/extensions/admin-form-fields-manager-for-magento-2.html)
- [Magento Customer Dashboard Links Manager](https://www.magepal.com/magento2/extensions/customer-dashboard-links-manager-for-magento-2.html)
- [Magento Lazy Loader](https://www.magepal.com/magento2/extensions/lazy-load.html)
- [Magento Order Confirmation Page Miscellaneous Scripts](https://www.magepal.com/magento2/extensions/order-confirmation-miscellaneous-scripts-for-magento-2.html)
- [Magento HTML Minifier for Magento2](https://www.magepal.com/magento2/extensions/html-minifier.html)

© MagePal LLC. | [www.magepal.com](https://www.magepal.com)
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.1.3|~7.2.0|~7.3.0|~7.4.0",
"magento/module-backend": "100.0.*|100.1.*|100.2.*|101.0.*|102.0.*",
"magento/framework": "100.0.*|100.1.*|101.0.*|102.0.*|103.0.*",
"magepal/magento2-core":">1.1.0"
"magepal/magento2-core": ">=1.1.0"
},
"type": "magento2-module",
"version": "1.2.0",
"version": "1.2.1",
"autoload": {
"files": [
"registration.php"
Expand Down
36 changes: 6 additions & 30 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,49 +15,25 @@
<label>Customer Account Links Manager</label>
<tab>magepal</tab>
<resource>MagePal_CustomerAccountLinksManager::customeraccountlinksmanager</resource>
<group id="about" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="0" translate="label">
<group id="about_magepal" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="0" translate="label">
<label>About Account Links Manager</label>
<attribute type="expanded">1</attribute>
<comment>
<![CDATA[
<div id="magepal-info">
Copyright © 2020 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=dashboard-links-manager&utm_medium=admin" target="_blank">MagePal, LLC</a>
<div class="magepal-info">
Copyright © 2021 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=dashboard-links-manager&utm_medium=admin" target="_blank">MagePal, LLC</a>
<a href="https://www.magepal.com/help/docs/magento2-dashboard-links-manager/?utm_source=dashboard-links-manager&utm_medium=admin#documentation" target="_blank">Documentation</a>
<a href="https://www.magepal.com/help/docs/magento2-dashboard-links-manager/?utm_source=dashboard-links-manager&utm_medium=admin#support">Support</a>
<a href="https://www.magepal.com/help/docs/magento2-dashboard-links-manager?utm_source=dashboard-links-manager&utm_medium=admin#current_version" target="_blank">Latest Version</a>
<a href="https://www.magepal.com/customer-dashboard-links-manager-for-magento-2.html?utm_source=dashboard-links-manager&utm_medium=admin" target="_blank">Extension Detail</a>
<a href="https://www.magepal.com/magento2/extensions.html?utm_source=dashboard-links-manager&utm_medium=admin" target="_blank">More Extensions</a>
</div>
<div>
Design beautiful order confirmation page with our new <a href="https://www.magepal.com/enhanced-success-page.html">Enhanced Success Page</a> extension.
Design beautiful order confirmation page with our new <a href="https://www.magepal.com/enhanced-success-page.html">Enhanced Success Page</a> extension.
</div>
<hr style="border-top: 1px solid #e3e3e3" />
<style>
#magepal-info a {
font-weight: bold;
border-left: 2px solid #e3e3e3;
padding-left:10px;
padding-right:10px;
color: #ef7e1e;
}
#magepal-info a:first-child {
padding-left: 5px;
border-left: none;
}
#magepal-info {
padding-bottom: 5px;
}
.section-config.active #customeraccountlinksmanager_about-head {
padding-bottom: 0px;
}
</style>]]>
<hr class="magepal-hr" />
]]>
</comment>
<field id="module_version" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Module Version</label>
<frontend_model>MagePal\CustomerAccountLinksManager\Block\Adminhtml\System\Config\Form\Module\Version</frontend_model>
</field>
<field id="composer_version" translate="label" type="label" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Composer Version</label>
<frontend_model>MagePal\CustomerAccountLinksManager\Block\Adminhtml\System\Config\Form\Composer\Version</frontend_model>
Expand Down
3 changes: 2 additions & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<sequence>
<module name="Magento_Customer"/>
<module name="Magento_Wishlist"/>
<module name="MagePal_Core"/>
</sequence>
</module>
</config>
</config>

0 comments on commit 55ec91d

Please sign in to comment.