Master Magento with our step-by-step tutorials. From basic setup to advanced customization, our articles cover everything you need to know to become an expert. Explore now!
When creating forms for Magento, it is helpful to know the different types of built-in fields that can be used while creating a form. The below examples can be used to create an admin form by extending the Mage_Adminhtml_Block_Widget_Form block. Hidden Field Text Time Textarea Submit Select Example 1 Example 2 Radio Example 1 Example…
Grabbing the store code from Magento can be quite easy. The following code has always done the trick for me.
As a developer, sometimes it is essential to check if store code URLs are enabled. Store codes are well known for breaking extensions due to the URL format. If you need to check if store code URLs are enabled you could simply use the following.
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”