Let’s initiate a discussion!!
Today I am going to share that how we can move wishlist icon under product info using xml.
For moving wishlist block you have to create catalog_product_view.xml in your custom theme or custom module.
Create app/design/frontend/[Theme Vendor Name]/[Theme Name]/Magento_Catalog/layout/catalog_product_view.xml and add below code:
1 2 3 4 5 6 |
<?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <move element="product.info.social" destination="product.info.form.content" after="product.info.addtocart" /> </body> </page> |
After doing above process, run the below commands.
1 2 |
php bin/magento cache:clean php bin/magento cache:flush |
There you will find wishlist link shown after add to cart button.
[crayon-641ef9ae6f1dd563200742/] Using above fucntion Images can be imported directly from...
Override view block using di.xml and add the below code...
You can check a list of called layout XML for...
Follow the below steps to install and set up PWA...
If you want to remove all leading zero's from order,...
Let our Magento expert connect to discuss your requirement.
We offer Magento
certified developers.
Our Magento clientele
is 500+.
We sign NDA for the
security of your projects.
We’ve performed 100+
Magento migration projects.
Free quotation
on your project.
Three months warranty on
code developed by us.