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
What is this business jet?
What do these terms in Caesar's Gallic Wars mean?
The phrase "to the numbers born"?
What does もの mean in this sentence?
Pokemon Turn Based battle (Python)
Falsification in Math vs Science
Ubuntu Server install with full GUI
Can an undergraduate be advised by a professor who is very far away?
Why can I use a list index as an indexing variable in a for loop?
How much of the clove should I use when using big garlic heads?
Why couldn't they take pictures of a closer black hole?
How do PCB vias affect signal quality?
What is the motivation for a law requiring 2 parties to consent for recording a conversation
Why doesn't UInt have a toDouble()?
Can we generate random numbers using irrational numbers like π and e?
writing variables above the numbers in tikz picture
How to quickly solve partial fractions equation?
How come people say “Would of”?
Is it okay to consider publishing in my first year of PhD?
Output the Arecibo Message
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
How to charge AirPods to keep battery healthy?
What do I do when my TA workload is more than expected?
Can there be female White Walkers?
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♦ 6 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♦ 6 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♦ 6 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♦ 6 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