Magento 2 how to add Register , Wishlist , Login block to header.panel? The 2019 Stack Overflow Developer Survey Results Are InIs 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
Short story: child made less intelligent and less attractive
Falsification in Math vs Science
The difference between dialogue marks
I am an eight letter word. What am I?
Why not take a picture of a closer black hole?
Are spiders unable to hurt humans, especially very small spiders?
Why didn't the Event Horizon Telescope team mention Sagittarius A*?
Dropping list elements from nested list after evaluation
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
Can a flute soloist sit?
What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?
Worn-tile Scrabble
How to charge AirPods to keep battery healthy?
Is it safe to harvest rainwater that fell on solar panels?
Is an up-to-date browser secure on an out-of-date OS?
Keeping a retro style to sci-fi spaceships?
Why couldn't they take pictures of a closer black hole?
What is the motivation for a law requiring 2 parties to consent for recording a conversation
How can I have a shield and a way of attacking with a ranged weapon at the same time?
Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?
Why doesn't shell automatically fix "useless use of cat"?
Can withdrawing asylum be illegal?
Did any laptop computers have a built-in 5 1/4 inch floppy drive?
Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?
Magento 2 how to add Register , Wishlist , Login block to header.panel?
The 2019 Stack Overflow Developer Survey Results Are InIs 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♦ 4 mins 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♦ 4 mins 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
62262148
62262148
bumped to the homepage by Community♦ 4 mins 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♦ 4 mins 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♦
168k28324690
168k28324690
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