Monday, September 10, 2012

Magento Create Own Log files

Magento comes with a built-in logging facility which can be enabled and configured in the back-end under System > Configuration > Developer. Alternatively you can enable the Developer Mode for the site to enable the log (on how to do this have a look at the index.php file). The exception log is always on.

Magento Comes with a built-in Logging Facility Which can be enabled and configured

Friday, September 7, 2012

Magento Add new input type in custom options

By Default Magento Product Custom options has following field which have radio,checkbox,Multiple select,Select....so if we need to add new input type in that custom options so here is the code

Note : Make sure that Don't disturb the Core Files always use Magento Standard

Use Magento Outside of Install Directory

One of the coolest parts of using Magento is that it can be accessed from different parts of the server even if you’re not within the Magento root Directory then also you can access it's functionlity

The main important or you can say life of magento is Mage.php, we need to access Mage.php because It holds the Mage class and defines some of the root functionality of Magento like retrieving the model, setting up the BaseUrl path and calling the rest of the

Magento Add attribute Filter

Magento has filterable condition which help to sort out the result.Let Look How it works

addAttributeToFilter is a function that can be called on a product collection in Magento. it adds a condition to the WHERE part of the MySQL query used to extract a product collection from the database

Sunday, September 2, 2012

Magento 1.3 and Magento 1.4 Fix "call to member function toHtml()"

One of the errors you will usually encounter when you use a theme made for Magento 1.3 on Magento 1.4.1 0 version is that

"call to a member function toHtml()". There is a very easy fix for this error.

The Error comes like line number may differ

Magento Local.xml for updating and Overriding XMl Structure

As Magento had important role of XML.while chnaging themes or Removing any block or layout chnages we are going in the each xml file of our theme and changing but there is one more solution that each time we don't need to update the each  xml

The idea behind is the local.xml, placed inside your theme layout folder to override or update all xml references for that theme.

Every change to the local.xml file is evident so there is no need to search for changes inside xml files

LinkWithin

Blog has moved, searching new blog...