Magento 2 how to add Register , Wishlist , Login block to header.panel? The 2019 Stack...
How come people say “Would of”?
Correct punctuation for showing a character's confusion
Geography at the pixel level
Can we generate random numbers using irrational numbers like π and e?
Can withdrawing asylum be illegal?
writing variables above the numbers in tikz picture
Can you cast a spell on someone in the Ethereal Plane, if you are on the Material Plane and have the True Seeing spell active?
Deal with toxic manager when you can't quit
Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past
Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?
How to notate time signature switching consistently every measure
Why didn't the Event Horizon Telescope team mention Sagittarius A*?
Does adding complexity mean a more secure cipher?
Is an up-to-date browser secure on an out-of-date OS?
How to add class in ko template in magento2
How did passengers keep warm on sail ships?
Cooking pasta in a water boiler
Why does the nucleus not repel itself?
Can a flute soloist sit?
RequirePermission not working
Why doesn't UInt have a toDouble()?
Does HR tell a hiring manager about salary negotiations?
How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?
How do PCB vias affect signal quality?
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♦ 8 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♦ 8 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♦ 8 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♦ 8 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