To setup multiple currency on Magento 2 follow this step: Setup currency: Move to menu Stores >> Configuration. Under GENERAL tab you will find sub menu Currency Setup. Setup Currency Options with what you need and click Save Config. 2.Setup currency rates: Move menu to Stores >> Currency Rates. Set value for all parameters and hit Saves Currency Rates
Author: Pinky Jacob
How can I move top search div from left to right in header-wrapper in Magento 2?
Update your move tag using below code : app/design/frontend/VendorName/ThemeName/Magento_Theme/layout/default.xml Now, You need to update less code also : Now, Just upgrade & deploy. You can see search will display to left side.
Change Header Minicart container effect from dropdown to slide(right to left) in magento2
override minicart.phtml file from vendor/magento/module-checkout/view/frontend/templates/cart/minicart.phtml to my theme and added below code at thee end of file You can add jQuery UI options “show” to do animate effect:
The multi language management on the store front-end in magento2
Solution: Step 1: Create a i18n folder in app/design. In that create csv files for the languages we need in the website as shown below. Step :2 In order to create a multi-language Magento 2 store: 1. Add a New Store View. Go to Admin Panel > Stores > All Stores and press the Create… Continue reading The multi language management on the store front-end in magento2
To order the dashboard links in the my account page.
Step 1: Create customer_account.xml Step 2: Manage the Custom Links Add a Custom Links Re-order links Delete the link Step 1: Create customer_account.xml Before you can add, delete or re-order the links, the first thing you will have to do is creating customer_account.xml in your theme. Please follow the below instruction: app/design/frontend/mageplaza/mytheme/Magento_Customer/layout/customer_account.xml Step 2: Manage… Continue reading To order the dashboard links in the my account page.
How to change SKU position
First of all, you should find out which file is responsible for displaying the SKU on the product page. The following layout file for the “catalog_product_view.xml” of the Catalog module is responsible for this: /view/frontend/layout/catalog_product_view.xml/view/frontend/layout/catalog_product_view.xml In order to change this file, you need to copy it to the folder with your theme. It is not… Continue reading How to change SKU position
How to Add Custom LESS File in Custom Theme in Magento 2
1) Let’s assume that you have created a custom theme. Now, Create your custom less file at app/design/frontend/VendorName/ThemeName/web/css/source/_custom.less and add your less code inside that file. 2) After that you need to import this _custom.less file at app/design/frontend/VendorName/ThemeName/web/css/source/_sources.less@import ‘_custom.less’; You need to import your _custom. less file using this above line. Just add that line inside _sources. less file. If this _sources. less file does not exist in your… Continue reading How to Add Custom LESS File in Custom Theme in Magento 2
How to Add Custom Tab in Product Detail Page in Magento 2
Let’s assume that you have created custom theme. Then you need to create app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_product_view.xml file and paste the below code : <?xml version=”1.0″?> <page layout=”1column” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body> <referenceBlock name=”product.info.details”> <block class=”Magento\Catalog\Block\Product\View” name=”custom.tab” as=”customtab” template=”Magento_Catalog::product/view/custom.phtml” group=”detailed_info”> <arguments> <argument translate=”true” name=”title” xsi:type=”string”>Custom Tab</argument> <argument name=”sort_order” xsi:type=”string”>10</argument> </arguments> </block> </referenceBlock> </body> </page> After that, You need to create file app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/view/custom.phtml file and… Continue reading How to Add Custom Tab in Product Detail Page in Magento 2
How to Add Placeholder Text to Fields in Checkout in Magento 2
1) First of all, Let’s assume that you have created a simple module. After that, You need to create di.xml to create plugin at app/code/Module/Helloworld/etc/frontend/ and paste the below code : <?xml version=”1.0″ ?> <!– /** */ –> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”Magento\Checkout\Block\Checkout\AttributeMerger”> <plugin name=”add_placeholder_to_checkout” type=”Module\Helloworld\Plugin\Block\Checkout\AttributeMerger” sortOrder=”10″/> </type> </config> 2) Then, You need to create AttributeMerger.php file at app/code/Module/Helloworld/Plugin/Block/Checkout/ to add placeholder code and paste… Continue reading How to Add Placeholder Text to Fields in Checkout in Magento 2
Create a simple module in Magento 2
To develop a custom module. Basically, Magento 2 custom modules are available in the app/code directory with the format of app/code/VendorName/ModuleName. How to create simple module steps are shown below: Directory for the module Configuration for the module Registration for the module Front-end router file Controller file Block file Front-end layout file Front-end template file Install… Continue reading Create a simple module in Magento 2