I put a lot of time into writing guides that make tech easier to understand.
If you found one useful, consider
buying me a coffee ☕ — it’s a small way to say thanks and it motivates me to keep sharing.
Counting the elements in an array is quite simple. The $counter variable will now contain the value of 3. However, if your array contains empty values like the following array it would still return 3. This of course would be problematic in some situations of your script. In order to get the accurate count, we…
Optimizing Magento Magento is a very popular eCommerce application. It offers a great deal of customization and abilities from the initial installation. Here are a few suggestions for optimizing a Magento installation. Changing The .htaccess File Enabling Output Compression In your .htaccess file for Magento, you will find a section of text starting with the…
Truncating Test Orders SQL Script Tested on Magento 1.8. Simply run the following SQL code. Note: Always make a backup of your database first. “What worked today may not work tomorrow”
This tutorial will show you how to dump your database file using Wamp easily. To get started simply open your command prompt and type in the following: The above command will execute the MySQL dump and create a file called “db.sql” of your database tables directly on your desktop. Be sure to change the path…
Adding custom Magento CMS Static Blocks to your Magento files is very easy. First, navigate to CMS->Static Blocks in your Magento Admin area. Next, you will want to click on the Add New Block button. Next, let’s give it a Block Title. This can be anything you want. The Block Title helps you to identify…