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

Saturday, August 25, 2012

Magento Accordion Menu for Layered Navigation

One of the Most powerful feature in Magento is layer Navgation for filtering the Result .Based on the Attribute filter get work but some time attributes are more so layer navigation become lengthy and we need to scroll down more which is bad impression on site so we can add accordan menu for that which will allow   accordon for each atribute

Magento Out of Stocks and Back Order

By Default Magento does not allow to add "Out of stock" product n Cart .So we will be using the concept of Backorders which is there in magento by default but it is Disbale in admin.This concept will allow to add the "Out of stock" product in Cart

Magento AOE Scheduler

Magento AOE Scheduler will help to Manage your scheduler/cron tasks including a timeline view also help  to check the cron running on the site

Great Extension nearly work in all magento version.Hope this will help while running cron

Saturday, August 18, 2012

Magento Add Qty Items on Grid or List View

To show the quantity of items left in stock  just add the following code in list.phtml

we have added int as by default magento will show in this manner 10.00

Magento Add Quantity box in List OR Grid

Easy way to Add the Quantity Box in Grid or View list

Just paste the below code in the list.phtml where you required

Tuesday, August 14, 2012

Magento Remove index.php from url

Magento by default added the index,php in url .So,As per the SEO page will not get indexed properly SO here we have try to Remove index.php in url from both End Access Magento URL without index.php
For example:
http://domain.com/index.php/category to
http://domain.com/category

Then Just follow steps
1) Login to admin section by using the URL http://domain.com/index.php/admin
2) then go to “System >> Configuration >>Web >> Search Engines Optimization” Use Web Server Rewrites : YES
 3) Go to “System >> Configuration >>Web >>Secure” Use secure URL Frontend: YES
 4)Then create the .htaccess file under your the magento installed folder.


Friday, August 10, 2012

Magento Adding New Field in the product Custom Options

Magento had limited field in custom Options so if we required the New or To add the New field in the magento product Custom options just follow the steps

Note : Here DEAL is the new field you have to replace by your field name 

Magento Remove "+" from product custom options

AS By default Magento add "+" sign in custom options .In order to Remove we need to edit file which is located in
app\code\core\Mage\Catalog\Block\Product\View\Options\Abstract.php

just copy the file and add in local which will become 
app\code\local\Mage\Catalog\Block\Product\View\Options\Abstract.php

now serach $sign = '+';

just replace $sign = ' ';

Note:just remove the (+) symbol.That's it refresh the page  

Tuesday, August 7, 2012

Magento Add Custom Grid in Admin

Add custom column to admin grid for your module. we will see how to add a banner image column to our grid.
For example our module name will be Magento_Banner.

Adding Banner Image to Grid

LinkWithin

Blog has moved, searching new blog...