Change shipping price & handling fee on the fly in Magento

Problem: How do I change shipping prices and handling fees on the fly? You may want to have different shipping prices for different scenarios. Your scenario could be any of the following: Different shipping price based on the shipping address Different shipping price based on weight Different shipping price based on categories Different shipping price …

Read more

Sending JSON data to the remote server

Sending JSON data to the remote server

JSON: JavaScript Object Notation. JSON is syntax for storing and exchanging text information. Much like XML. JSON is smaller than XML, and faster and easier to parse. You may need to post JSON data to the server for different purposes. If you are wondering about ‘How to send JSON data to the remote server?’ then …

Read more

Backup WordPress project files / DB using a bash script

Backup WordPress Code + Database

WordPress is undoubtedly the most popular blogging platform on the Internet. And when it comes to the maintenance or regular backups, life is not easier unless you have some backup script which works great via SSH & cron daemons. Here is the custom backup script used for taking the backup of WordPress project files & …

Read more

Backup Magento project files / DB using the bash script

Magento 2 Backup with Bash/Shell Script

I have googled for the bash script to backup Magento sites/DB but none of them worked for me the way I wanted. So I decided to create a custom bash script which is simple and does the job perfectly. I have developed the script for my own need. But I thought it would be helpful …

Read more