All Questions
Tagged with customer-account layout
28 questions
0
votes
3
answers
122
views
How to remove and change My Account Navigation
I am trying to remove some tabs
https://prnt.sc/I0JvtmM41ROP
I am using below file path and code
app/design/frontend/vendorname/themename/Magento_Theme/layout/default.xml
<!-- Downloadable ...
0
votes
1
answer
1k
views
Magento 2 | add Terms & Conditions to customer registration
I am currently trying to add Terms & Conditions to the customer registration.
I thought the best would be just to update the layout.
So I simply extended customer_account_create.xml this in my ...
0
votes
1
answer
186
views
Magento Commerce 2.3 remove register-link B2B in layout.xml
In my B2C store I removed the register-link in my theme.
I achieved this removing it in the Magento_Theme default.xml with the following directive: <referenceBlock name="register-link" remove="...
0
votes
1
answer
511
views
Magento:2 To add custom block in layout
I wanted to add a custom block in my account page after account information.
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license ...
1
vote
2
answers
632
views
How to change text in customer dashboard sidebar?
I need to change the Address book text to My Contact Details in customer dashboard sidebar links.
I used this below code but no use.
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
1
vote
2
answers
2k
views
Adding contents to default customer sign up / create account page - Magento 2
I would like to add a banner image and some contents to default create customer account page at www.domain.com/customer/account/create/, how do i do it? Or Can I add a CMS Page or static block to it?
0
votes
1
answer
38
views
Remove all Customer related pages
I would like to remove all customer related pages. I have already removed all links like login / register, but the pages are still accessible via the url (so people with basic Magento 2 knowledge can ...
1
vote
1
answer
1k
views
Custom link in Account dashboard Magento 2 with order history
I am trying to add custom link in account dashboard of customer account navigation.
Used below code to add link on left side in my layout/default.xml
<body>
<referenceBlock name="...
1
vote
7
answers
4k
views
Magento 2 Customer Account Navigation Add Css Class to link not working
XML:
<referenceBlock name="customer_account_navigation">
<block class="Magento\Customer\Block\Account\SortLinkInterface" name="customer-account-navigation-account-link">
<...
1
vote
1
answer
1k
views
Magento 2 Add Custom Dynamic Link in Customer Navigation
I can't figure it out how to add links dynamically to customer navigation.
this is my xml:
<referenceBlock name="customer_account_navigation">
<block class="Vendor\Module\Block\Custom\...
2
votes
1
answer
1k
views
Add phtml to Customer Account Edit in Adminhtml
I tried to add phtml to customer account edit in backend like this:
app/code/Namespace/Module/view/adminhtml/layout/customer_index_edit.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://...
1
vote
2
answers
915
views
Magento 2: Change links html class in customer account navigation
I'm trying to change the html classes for my customer_account_navigation block.
What I actually want to achieve is to display different icons for every single link.
I tried the following in the ...
0
votes
1
answer
566
views
How to reference the customer account navigation container block which doesn't have a "name" or "as" attribute in Magento 2?
As the title says, how can I reference a layout block which doesn't have a "name" or "as" attrbitue?
Specifically, I'm trying to reference the Customer Account menu and add a title argument in ...
1
vote
0
answers
872
views
header my account dropdown not showing magento2.1
I have been trying to add my account drop down menu in my magento website. I found that it is there in luma theme by default. But my base theme is magento/blank. My account links are displayed in a ...
0
votes
1
answer
13
views
layout over riding in account page affecting category page
I am building a custom magento theme in magento 2.1. While developing I noticed that whatever change I am making to app/design/frontend/vendor/theme/Magento_Customer/layout/default.xml is affecting on ...
3
votes
0
answers
43
views
How to insert create customer account form layout to a block as a widget
I want to insert customer_account_create.xml content which containing the create customer account form into one of my block that I created from
backend > content > blocks > add new block
Is there ...
3
votes
2
answers
410
views
Layout handle for all account related pages
I have bookmarked this website to peek at the available layout handles:
http://itpscan.info/blog/magento/layout_handles.php
I saw a few handles regarding the account page. I was wondering, is there ...
1
vote
2
answers
456
views
Customer account navigation link store specific
As the title states, I need to add a link to the customer account navigation menu just for one store view of the website.
I tried doing it in this way, in the customer.xml file, with no luck:
<...
6
votes
5
answers
5k
views
Add CSS class to body if the customer is logged in
I want to add a CSS class to the body when the customer is logged in or not. I thought this would work:
<body>
<customer_logged_in>
<attribute name="class" value="customer-...
1
vote
2
answers
2k
views
Add new block/template to customer account edit page
I'm trying to add one new template to customer account edit page using code below in my layout file
<customer_account_edit>
<reference name="customer_edit">
<block type="...
0
votes
0
answers
1k
views
How to load layout of custom action in customer account controller
I created new action in customer account controller
app/code/core/Mage/Customer/controllers/AccountController.php
public function createotpAction()
{
$this->loadLayout();
$...
25
votes
6
answers
38k
views
How to add/remove links on my account navigation magento2?
How to remove "Billing Agreements" and "My Wishlist" links from the navigation menu on customer account page?
0
votes
2
answers
118
views
Adding my account url to top headers issue
I want to add to top header an url with myaccount if the user is logged in.
This is my xml
<block type="experius_linkmanager/link_list" name="linkmanager.topnav" as="topMenu">
<action ...
1
vote
1
answer
2k
views
how to add a new page like sales/order/history
I want to add a new customer page (sales/order/unpaid-history) like sales/order/history in customer menu, it shows all the unpaid order with status pending_payment. Same template, same data, but has a ...
1
vote
3
answers
969
views
"My Account" page goes blank after user places order
In doing some testing on my site I noticed that for one of my test accounts the "My Account" page was mostly empty. Everything below the top navbar was missing except a couple sentences of text.
But ...
1
vote
2
answers
5k
views
Remove newsletter link from customer account navigation
How do you remove the newsletter link from the customer account navigation in Magento?
We have started using the Advanced Newsletter extension and now have two newsletter links in our customer ...
0
votes
2
answers
895
views
Override default phtml files?
I want to override customer/address/edit.phtml and customer/form/address.phtml files for my module, In my module layout.xml I used the code below for edit.phtml but didn't override:
<...
1
vote
2
answers
728
views
Customer registration form layout update (store view)
I have a multi-store set up on v1.7.0.2.
I'm looking to display the extra address fields (available in base/default/template/persistent/customer/form/register.phtml) for the customer registration ...