How to set multiple currencies in one storefront?

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

Published
Categorized as Magento

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.

Published
Categorized as Magento

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

Published
Categorized as Magento

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

Published
Categorized as Magento

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

Published
Categorized as Magento

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

Published
Categorized as Magento

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

Published
Categorized as Magento