Articles in the Magento Category
Magento »
Suppose, you have added a new extension to MagentoConnect. You may have situation to delete that extension later on. However, there is no delete option in Manage Extension section in MagentoCommerce (My Account -> Extensions and Languages -> Manage Extensions). You can Edit your extensions yourself but you cannot delete them. To delete you extension, [...]
Magento »
Here is a quick tip to sort/order latest product by both created date and new from date. Created At date is automatically added when you add a new product. However, you have to set New from Date manually while adding or editing product. You may have product with same new from date. And, then you [...]
Magento »
In Magento, Transactional Email Templates can be created from System -> Transactional Emails. This article shows how we can send transactional emails programmatically. There are few necessary things for any transactional email in Magento. They are:-
Magento »
Magento has a default feature of Tell a Friend or Email a Friend (whatsoever we say :)). To enable this feature,
Magento, PHP »
Magento works fine in PHP 5.3 from versions 1.4 and later. But, error is displayed in different pages when we use older versions (prior to 1.4) of Magento in PHP 5.3. This is because some php functions are deprecated in PHP 5.3 and those functions have been used in Magento Older Versions.
Magento »
You have built a custom magento extension (magento module) and you want to package it and submit it to magento connect (magento extension directory). This article shows how to create Magento extension package. I have included images for every step which I followed while creating extension package for my module (Auto Currency Switcher).
Magento »
Problem: I have a payment method which is displayed well in general Magento checkout. But it is not displayed in Multiple Addresses Checkout. Solution:
Magento, Zend »
Here is a quick function code to send email in Magento. I am using the Zend_Mail class. Hope this helps. Thanks.
Magento »
Here, I will show you how you can assign different shipping rate for different country in Magento. Like, there might be different shipping rate for US and Canada. Moreover, there might be different shipping rate for various regions within US as well. Like, there might be different shipping rate for Florida and California. In Magento, [...]
Magento »
This article shows how to add default value to any system configuration option fields. System configuration option fields means those options under System -> Configuration. Suppose, you have the following system.xml file. System.xml file is necessary to add admin configuration options.
Magento »
Scenario:- I am getting the fatal error saying:- Fatal error: Call to a member function getTable() on a non-object in /var/www/magento/app/code/core/Mage/Core/Model/Mysql4/Collection/Abstract.php on line 456 This error occurs when I try to browse Configurable product in frontend. Or, when I try to add Configurable product in backend.
Magento »
Here, I will show you how you can get information about all items in your Magento Shopping Cart. You will see how you can :- – Get products id, name, price, quantity, etc. present in your cart. – Get number of items in cart and total quantity in cart. – Get base total price and [...]
Magento »
Here, I will show you how to track visitor’s data information in Magento. By visitor’s information, I mean information like remote address, http host, user agent (browser), referer url, first visit date time, last visit date time, etc. The following code fetches the vistor data:-
Magento »
I created a module, let’s say, ‘MyModule’. When I go to the Admin -> System -> Configuration section of this module, I get this weird error. Fatal error: Class ‘Mage_MyModule_Helper_Data’ not found
Magento »
Case: Here, I am taking the scenario of a custom Magento module. You are developing a custom Magento module and you don’t want to show the ‘Add New’ button in the Grid. The Add New button is present in top right corner of Grid Page. Rename ‘Add New’ button
