Magento 2 how to add Register , Wishlist , Login block to header.panel? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Is there a way to inject an extra hidden parameter to the customer login/register forms?Magento2 How to get login, Register and whishlist linksMagento 2 add content on the product pageAdd facebook pixel code into magento 2Layout Update XML doesn't properly work for the home pageMagento 2 - how to redirect to popup login form while add a product to wishlistHow to combine Register and Login forms (Magento 1.9)Magento 2 - How do I track login/register/subscribe with JavaScript?Add To WishlistHow to add a register form inside the login popup during the checkout
Difference between "generating set" and free product?
How does ice melt when immersed in water?
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
The variadic template constructor of my class cannot modify my class members, why is that so?
How did passengers keep warm on sail ships?
rotate text in posterbox
Do working physicists consider Newtonian mechanics to be "falsified"?
Derivation tree not rendering
What can I do if neighbor is blocking my solar panels intentionally?
Can withdrawing asylum be illegal?
What aspect of planet Earth must be changed to prevent the industrial revolution?
Typeface like Times New Roman but with "tied" percent sign
Am I ethically obligated to go into work on an off day if the reason is sudden?
Can the prologue be the backstory of your main character?
When did F become S in typeography, and why?
Was credit for the black hole image misattributed?
Why can't devices on different VLANs, but on the same subnet, communicate?
How to pronounce 1ターン?
University's motivation for having tenure-track positions
How are presidential pardons supposed to be used?
How long does the line of fire that you can create as an action using the Investiture of Flame spell last?
Sort a list of pairs representing an acyclic, partial automorphism
Magento 2 how to add Register , Wishlist , Login block to header.panel?
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Is there a way to inject an extra hidden parameter to the customer login/register forms?Magento2 How to get login, Register and whishlist linksMagento 2 add content on the product pageAdd facebook pixel code into magento 2Layout Update XML doesn't properly work for the home pageMagento 2 - how to redirect to popup login form while add a product to wishlistHow to combine Register and Login forms (Magento 1.9)Magento 2 - How do I track login/register/subscribe with JavaScript?Add To WishlistHow to add a register form inside the login popup during the checkout
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm using magento 2 and I'm trying to add the Register , Wishlist, Login links to my tob bar, into header.panel , what's the properly code to add that from xml, or any other way ?
magento2 register
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'm using magento 2 and I'm trying to add the Register , Wishlist, Login links to my tob bar, into header.panel , what's the properly code to add that from xml, or any other way ?
magento2 register
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
This is comes inside panel header class at which place you want to display it
– Rakesh Jesadiya
May 6 '16 at 12:10
I've just did it by adding this in my defaul.xml file <move element="register-link" destination="header.panel" after="minicart.topnav"/> now I'm just trying to find the element for wishlist , how do I find the right element names ?
– alexcr
May 6 '16 at 12:15
add a comment |
I'm using magento 2 and I'm trying to add the Register , Wishlist, Login links to my tob bar, into header.panel , what's the properly code to add that from xml, or any other way ?
magento2 register
I'm using magento 2 and I'm trying to add the Register , Wishlist, Login links to my tob bar, into header.panel , what's the properly code to add that from xml, or any other way ?
magento2 register
magento2 register
asked May 6 '16 at 11:26
alexcralexcr
63262148
63262148
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
This is comes inside panel header class at which place you want to display it
– Rakesh Jesadiya
May 6 '16 at 12:10
I've just did it by adding this in my defaul.xml file <move element="register-link" destination="header.panel" after="minicart.topnav"/> now I'm just trying to find the element for wishlist , how do I find the right element names ?
– alexcr
May 6 '16 at 12:15
add a comment |
This is comes inside panel header class at which place you want to display it
– Rakesh Jesadiya
May 6 '16 at 12:10
I've just did it by adding this in my defaul.xml file <move element="register-link" destination="header.panel" after="minicart.topnav"/> now I'm just trying to find the element for wishlist , how do I find the right element names ?
– alexcr
May 6 '16 at 12:15
This is comes inside panel header class at which place you want to display it
– Rakesh Jesadiya
May 6 '16 at 12:10
This is comes inside panel header class at which place you want to display it
– Rakesh Jesadiya
May 6 '16 at 12:10
I've just did it by adding this in my defaul.xml file <move element="register-link" destination="header.panel" after="minicart.topnav"/> now I'm just trying to find the element for wishlist , how do I find the right element names ?
– alexcr
May 6 '16 at 12:15
I've just did it by adding this in my defaul.xml file <move element="register-link" destination="header.panel" after="minicart.topnav"/> now I'm just trying to find the element for wishlist , how do I find the right element names ?
– alexcr
May 6 '16 at 12:15
add a comment |
1 Answer
1
active
oldest
votes
Please use follow code in your file default.xml:
<body>
<referenceBlock name="header.links">
<block class="MagentoFrameworkViewElementHtmlLink" name="wishlist-link" before="-" ifconfig="guestwishlist/general/addlink">
<arguments>
<argument name="label" xsi:type="string" translate="true">My Wishlist</argument>
<argument name="path" xsi:type="string" translate="false">wishlist</argument>
</arguments>
</block>
</referenceBlock>
</body>
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f114267%2fmagento-2-how-to-add-register-wishlist-login-block-to-header-panel%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Please use follow code in your file default.xml:
<body>
<referenceBlock name="header.links">
<block class="MagentoFrameworkViewElementHtmlLink" name="wishlist-link" before="-" ifconfig="guestwishlist/general/addlink">
<arguments>
<argument name="label" xsi:type="string" translate="true">My Wishlist</argument>
<argument name="path" xsi:type="string" translate="false">wishlist</argument>
</arguments>
</block>
</referenceBlock>
</body>
add a comment |
Please use follow code in your file default.xml:
<body>
<referenceBlock name="header.links">
<block class="MagentoFrameworkViewElementHtmlLink" name="wishlist-link" before="-" ifconfig="guestwishlist/general/addlink">
<arguments>
<argument name="label" xsi:type="string" translate="true">My Wishlist</argument>
<argument name="path" xsi:type="string" translate="false">wishlist</argument>
</arguments>
</block>
</referenceBlock>
</body>
add a comment |
Please use follow code in your file default.xml:
<body>
<referenceBlock name="header.links">
<block class="MagentoFrameworkViewElementHtmlLink" name="wishlist-link" before="-" ifconfig="guestwishlist/general/addlink">
<arguments>
<argument name="label" xsi:type="string" translate="true">My Wishlist</argument>
<argument name="path" xsi:type="string" translate="false">wishlist</argument>
</arguments>
</block>
</referenceBlock>
</body>
Please use follow code in your file default.xml:
<body>
<referenceBlock name="header.links">
<block class="MagentoFrameworkViewElementHtmlLink" name="wishlist-link" before="-" ifconfig="guestwishlist/general/addlink">
<arguments>
<argument name="label" xsi:type="string" translate="true">My Wishlist</argument>
<argument name="path" xsi:type="string" translate="false">wishlist</argument>
</arguments>
</block>
</referenceBlock>
</body>
edited Jan 24 '17 at 11:44
Marius♦
168k28324692
168k28324692
answered Oct 12 '16 at 5:00
Dan NguyenDan Nguyen
742
742
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f114267%2fmagento-2-how-to-add-register-wishlist-login-block-to-header-panel%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
This is comes inside panel header class at which place you want to display it
– Rakesh Jesadiya
May 6 '16 at 12:10
I've just did it by adding this in my defaul.xml file <move element="register-link" destination="header.panel" after="minicart.topnav"/> now I'm just trying to find the element for wishlist , how do I find the right element names ?
– alexcr
May 6 '16 at 12:15