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.
If you want get query string params in controller file,...
Create di.xml and add the below code Magemonkey/Redirect/etc/frontend/di.xml [crayon-62837c3ed5140007597686/] Create...
You can try below code to change local date to...
Step 1: First you need to add registration.php file in...
Step1 : Override message.js in current theme file on the...