Bash Script: Easily Backup your Magento2 Code Files + Database

Magento 2 Backup with Bash/Shell Script

We had created a similar Backup Script for Magento1 in the past. Now we are back with the much-improvised version for Magento2. You must be wondering why we needed a bash script for Magento2 backup even it comes up with inbuilt console command: php /path/to/magento2/bin/magento setup:backup -v –code –media –db Some of the reasons are: …

Read moreBash Script: Easily Backup your Magento2 Code Files + Database

Best Resources to Help You Learn Magento

Learning Magento may seem like a laborious task at first, but when you know the right resources and the right places to head to, it may not be that difficult to master the platform. Magento is one of the biggest e-commerce platforms and it powers some of the biggest websites on the internet. Even small …

Read moreBest Resources to Help You Learn Magento

Magento2: Fastest Way to Import / Update Product Prices in Bulk

Updating product prices in Magento 2

Overview As you know our Magento1 version of the script “Updating product prices in Magento in an easier & faster way” was a massive hit. And we are back with a similar script for Magento 2 which helps you to update the product prices in bulk – probably the easiest and fastest way possible. Let’s …

Read moreMagento2: Fastest Way to Import / Update Product Prices in Bulk

How to Setup Multiple Magento 2 websites/stores with Nginx?

Setup Multiple Magento 2 Stores/Websites with Nginx

Magento is so flexible that one instance of it can have multiple websites/stores with different languages, domain names, categories, etc. You can configure the websites, stores, and store views in the Magento Admin. You use the MAGE_RUN_TYPE and MAGE_RUN_CODE variables in entry point scripts(index.php), .htaccess or Nginx configuration files(depending upon the web server you are …

Read moreHow to Setup Multiple Magento 2 websites/stores with Nginx?

Sandbox script for quick testing in Magento2

What’s your approach for quick & dirty testing in Magento2? Creating a test module with a controller and executing it from the browser to see the output? Creating a Console module and executing via CLI? Obviously, the above two approach takes time. Rather I would create a simple script (a single file) and put it …

Read moreSandbox script for quick testing in Magento2