Issue : Screen Recording – Made with FlexClip (15).webm This issue can be resolved by getting the breadcrumbs and set it as active. getBreadcrumbPages: function () { return { text: this.title , href: ‘/promocode’ }; }, getSelectedMenu: function getSelectedMenu() { return ‘promocode’; }
Tag: MenuTree
Extension to Hide Credit card option in Myaccount menu
Scenario:The client wants to hide the Credit card option under the Settings tab and also needs to hide it from the MyAccount Header menu. Solution: We can create an extension for this purpose. We can extend the ‘MenuTree.View’ for hiding from my account page and ‘Header.Menu.MyAccount.View’ from the header menu. Code:
How to change the order of the Menu Tree in My Account section using extension only for mobile devices.
We can change the order of the Menu Tree in My Account using the extension only for mobile devices. Here we are using the index value for sorting.
Remove access to invoices in the webstore.
If we don’t want customers to see invoices in the webstore, we can remove access by modifying the permissions in their user roles. Navigate to Setup > Users/Roles > Manage Roles Edit the role currently assigned to customers. Change the invoice permission from View to None
Rename “my list” to “my order form” in the header and my account menu tree
Project: PAPL
Menu Tree Customization In SCA
SCA Menu Tree Redesign