Articles in the Magento Category
I have created a new custom module. Now, I need to edit a default template file.
This article shows how to add system configuration (System -> Configuration) menu with menu tab for your custom module.
Let us suppose, you have already created a local module.
Varien_Object and Varien_Collection are the parent/super class for most of the Magento Models and Collections respectively.
The path for Varien_Object is lib/Varien/Object & for Varien_Collection is lib/Varien/Data/Collection.php.
Auto Currency Switcher is a currency switcher extension which automatically switches store currency based on visitor’s IP address.
This module is compatible with Magento version 1.3 and later (Magento 1.3, 1.4, 1.5, 1.6, 1.7).
I am using Magento verion 220.127.116.11 and I had this issue. I had enabled Paypal Express Checkout payment method. When I choose this method on checkout, I was redirected to Paypal website but order data was not displayed there.
The main reason in my case was due to applied discount to the cart. I had created a shopping cart price rule and applied it to the cart. And, when I choose Paypal Express Checkout as payment method, the paypal website would show empty order data.
I have a downloadable product. After I order the product and when my order is complete, I am able to download the product links from ‘My Downloadable Products’ menu in Customer Account section.
I go to ‘My Downloadable Products’ section and I click on the links to download. However, the PDF file opens in the browser itself. I would like to have the feature that asks to download / save as instead of directly opening in the browser.
This article shows how you can override the default language texts.
For example, you want to change the following texts:-
- Customer ‘Account Information’ to ‘Your Account Info’
- Checkout ‘Billing Information’ to ‘Your Billing Information’
This article shows how you can create and use custom language translation csv file for your custom module. Suppose, I have created a new module and I want language translation file particularly for my newly made module. Here is how we do it:-
In this example,
While upgrading Magento, I got this error when I go to product list page. It says:
Invalid method Mage_Catalog_Block_Product_List_Toolbar::isLastPage(Array())
While upgrading Magento, I am getting this error when I go to product list page.
Warning: Invalid argument supplied for foreach() in …/template/catalog/product/list/toolbar.phtml
Cron Job is used to perform any action in a certain interval of time. In a Magento webshop, there are certain tasks that needs cron jobs to be run, i.e. these tasks/actions need to be performed periodically.
Here are some of them:-
Here is a quick code to get product information with SKU value.
Get product information by sku
I had an old version of Magento. I had enabled google analytics tracking from Magento admin. But, google analytics was not tracking my webshop.
The main reason behind this was that Google had modified its analytics tracking code and the GoogleAnalytics core module of Magento had old tracking code.
Here is a quick code to get all attributes and their name and value associated with any particular product.
First of all we have to load the product by it’s ID. And then get all it’s attributes. Here is the code:-
This article shows step-by-step guide to setup Moneybookers (Skrill) Payment Method on Magento.
I will be dealing with the developer perspective (creating and testing with a Test account).