Magento Blogs Archive

HOW TO Merge CSS and JavaScript in Magento 2

All separated CSS files and JavaScript Files will can be merged into one single or condensed file that helps to optimize your site and reduce page load time. After merging, a merged CSS files or JavaScript Files will be shown without line breaks and disallow to edit the file. Magento 2 provide this type of …

How to Configure Currency in Magento 2

::How to Configure Currency in Magento 2:: Configure Currency Magento 2 to determine that customers are allowed to use when purchasing on your store. The currency symbol will appear in product prices and sales documents such as orders and invoices and especially, store admin can customize its appearance as need. Magento 2 store support all …

Magento 2 Useful Commands List By CLI

Magento 2 Useful Commands List Magento 2 provided many usefull command for reindex, cache clean, setup upgrade, di compilation, etc Find the list of below Command List (1)Setup Upgrade: php bin/magento setup:upgrade (2)Re-Index: php bin/magento indexer:reindex (3)Cache clean: php bin/magento cache:clean php bin/magento cache:flush (4)View cache status Using Command Line php bin/magento cache:status (5) Static …

Best Magento 2 One Step Checkout extensions

Checkout is the cornerstone of any eCommerce store. It can determine if customers continue to purchase your products or not. The fact that many online shoppers abandon their carts at the checkout process makes many Magento 2 eCommerce store owners rack their heads to find the solution. The default checkout with multiple steps is holding …

How to setup CDN for Magento site

Content Delivery Network (CDN) is a great solution nowsaday for every eCommerce store (Specially for Magento). In this guide, I will suggest some really good CDN services, they are almost free. List of CDN Cloudflare Amazon Cloudfront MetaCDN Nexcess CDN How to setup Cloudflare CDN The first CDN I would like to list here is …

How to install Magento 2

Magento is an eCommerce platform built on open source technology that provides online merchants with a flexible shopping cart system, as well as control over the look, content, and functionality of their online store. Magento offers powerful marketing, search engine optimization, and catalog-management tools. Ref. Wikipedia. This installation guide will show you how to install …

How to create Magento 2 module

We create module with Namespace is Magecheckout and Module Name is HelloWorld Step 1 Create registration.php in: app > code > Magecheckout > HelloWorld \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Magecheckout_HelloWorld', __DIR__ ); Step 2 Create module.xml in: app > code > Magecheckout > HelloWorld > etc <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Magecheckout_HelloWorld" setup_version="1.0.0"> </module> </config> Step 3 Declaring a frontend router, create the routes.xml file by the following path: app > code > Magecheckout > HelloWorld > etc > frontend: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd"> <router id="standard"> <route id="helloworld" frontName="helloworld"> <module name="Magecheckout_HelloWorld" /> </route> </router> </config> Step 4 Create our Controller action Index.php in: app > code > Magecheckout > HelloWorld > Controller > HelloWorld: …

How to create Magento 2 facebook login module

We can create the module with Namespace – Magecheckout and Module Name- FacebookLogin First, Need to create registration.php in: app > code > Magecheckout > FacebookLogin \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Magecheckout_FacebookLogin', __DIR__ ); Second, Create module.xml in: app > code > Magecheckout > FacebookLogin > etc <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Magecheckout_FacebookLogin" setup_version="1.0.0"> </module> </config> Third, Let declar a frontend router by creating the routes.xml file as the following path: app > code > Magecheckout > FacebookLogin > etc > frontend: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd"> <router id="standard"> <route id="facebooklogin" frontName="facebooklogin"> <module name="Magecheckout_FacebookLogin" /> </route> </router> …

How to add a new checkout step in Magento 2

Checkout is one of the most important part of online business. To collect more customer information or customize user interface you have to modity the checkout process. In this guide, we will show you how to add a new checkout step Overview By default there are two main steps: Shipping Information Review and Paymetns Information You …