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
Geography at the pixel level
Can there be female White Walkers?
How did passengers keep warm on sail ships?
Is an up-to-date browser secure on an out-of-date OS?
If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?
Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?
How do I free up internal storage if I don't have any apps downloaded?
Does adding complexity mean a more secure cipher?
Falsification in Math vs Science
If my opponent casts Ultimate Price on my Phantasmal Bear, can I save it by casting Snap or Curfew?
How to translate "being like"?
Finding the area between two curves with Integrate
Can we generate random numbers using irrational numbers like π and e?
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
Cooking pasta in a water boiler
What to do when moving next to a bird sanctuary with a loosely-domesticated cat?
Are spiders unable to hurt humans, especially very small spiders?
Why didn't the Event Horizon Telescope team mention Sagittarius A*?
What do these terms in Caesar's Gallic Wars mean?
Can an undergraduate be advised by a professor who is very far away?
The difference between dialogue marks
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
How to charge AirPods to keep battery healthy?
A female thief is not sold to make restitution -- so what happens instead?
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♦ 5 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♦ 5 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♦ 5 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♦ 5 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