Move âAdd to Wishlistâ Button after âAdd to Cartâ in Product View
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
2
down vote
favorite
How to move "Add to wishlist" button after "Add to cart"?
I try using move but it's just working on the configurable products. I want it to work too on the simple products.
Check my catalog_product_view.xml :
...
<move element="product.addto.wishlist" destination="product.info.addtocart.additional" />
...
<container name="product.addto.wishlist" as="product_addto_wishlist" htmlClass="product wishlist" htmlTag="div">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="Magento_Catalog::product/view/addto.phtml"/>
</container>
...
Add to Wishlist button is not showing on simple products.
Configurable Products :
Thanks.
magento2 layout xml
add a comment |Â
up vote
2
down vote
favorite
How to move "Add to wishlist" button after "Add to cart"?
I try using move but it's just working on the configurable products. I want it to work too on the simple products.
Check my catalog_product_view.xml :
...
<move element="product.addto.wishlist" destination="product.info.addtocart.additional" />
...
<container name="product.addto.wishlist" as="product_addto_wishlist" htmlClass="product wishlist" htmlTag="div">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="Magento_Catalog::product/view/addto.phtml"/>
</container>
...
Add to Wishlist button is not showing on simple products.
Configurable Products :
Thanks.
magento2 layout xml
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
How to move "Add to wishlist" button after "Add to cart"?
I try using move but it's just working on the configurable products. I want it to work too on the simple products.
Check my catalog_product_view.xml :
...
<move element="product.addto.wishlist" destination="product.info.addtocart.additional" />
...
<container name="product.addto.wishlist" as="product_addto_wishlist" htmlClass="product wishlist" htmlTag="div">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="Magento_Catalog::product/view/addto.phtml"/>
</container>
...
Add to Wishlist button is not showing on simple products.
Configurable Products :
Thanks.
magento2 layout xml
How to move "Add to wishlist" button after "Add to cart"?
I try using move but it's just working on the configurable products. I want it to work too on the simple products.
Check my catalog_product_view.xml :
...
<move element="product.addto.wishlist" destination="product.info.addtocart.additional" />
...
<container name="product.addto.wishlist" as="product_addto_wishlist" htmlClass="product wishlist" htmlTag="div">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="Magento_Catalog::product/view/addto.phtml"/>
</container>
...
Add to Wishlist button is not showing on simple products.
Configurable Products :
Thanks.
magento2 layout xml
magento2 layout xml
edited Aug 21 at 9:15
Raül
45913
45913
asked Aug 21 at 6:09
Jackrose
19311
19311
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
I got solutions for my problem.
Just create catalog_product_view_type_simple.xml and use this code below:
...
<referenceBlock name="product.info.addtocart">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="Magento_Catalog::product/view/addto.phtml"/>
</referenceBlock>
...
add a comment |Â
up vote
1
down vote
Can you try this
<move element="product.addto.wishlist" destination="product.info.addtocart.additional" after="product.info.addtocart">
Thanks for your answer, but still not working. Add to Wishlist button not showing on simple products.
â Jackrose
Aug 21 at 6:20
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
I got solutions for my problem.
Just create catalog_product_view_type_simple.xml and use this code below:
...
<referenceBlock name="product.info.addtocart">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="Magento_Catalog::product/view/addto.phtml"/>
</referenceBlock>
...
add a comment |Â
up vote
2
down vote
accepted
I got solutions for my problem.
Just create catalog_product_view_type_simple.xml and use this code below:
...
<referenceBlock name="product.info.addtocart">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="Magento_Catalog::product/view/addto.phtml"/>
</referenceBlock>
...
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
I got solutions for my problem.
Just create catalog_product_view_type_simple.xml and use this code below:
...
<referenceBlock name="product.info.addtocart">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="Magento_Catalog::product/view/addto.phtml"/>
</referenceBlock>
...
I got solutions for my problem.
Just create catalog_product_view_type_simple.xml and use this code below:
...
<referenceBlock name="product.info.addtocart">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="Magento_Catalog::product/view/addto.phtml"/>
</referenceBlock>
...
answered Aug 21 at 6:58
Jackrose
19311
19311
add a comment |Â
add a comment |Â
up vote
1
down vote
Can you try this
<move element="product.addto.wishlist" destination="product.info.addtocart.additional" after="product.info.addtocart">
Thanks for your answer, but still not working. Add to Wishlist button not showing on simple products.
â Jackrose
Aug 21 at 6:20
add a comment |Â
up vote
1
down vote
Can you try this
<move element="product.addto.wishlist" destination="product.info.addtocart.additional" after="product.info.addtocart">
Thanks for your answer, but still not working. Add to Wishlist button not showing on simple products.
â Jackrose
Aug 21 at 6:20
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Can you try this
<move element="product.addto.wishlist" destination="product.info.addtocart.additional" after="product.info.addtocart">
Can you try this
<move element="product.addto.wishlist" destination="product.info.addtocart.additional" after="product.info.addtocart">
answered Aug 21 at 6:15
Shorabh
412214
412214
Thanks for your answer, but still not working. Add to Wishlist button not showing on simple products.
â Jackrose
Aug 21 at 6:20
add a comment |Â
Thanks for your answer, but still not working. Add to Wishlist button not showing on simple products.
â Jackrose
Aug 21 at 6:20
Thanks for your answer, but still not working. Add to Wishlist button not showing on simple products.
â Jackrose
Aug 21 at 6:20
Thanks for your answer, but still not working. Add to Wishlist button not showing on simple products.
â Jackrose
Aug 21 at 6:20
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f239014%2fmove-add-to-wishlist-button-after-add-to-cart-in-product-view%23new-answer', 'question_page');
);
Post as a guest
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
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
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