Have you ever encountered the following kind of error while installing Magento 1.4 ?
Fatal error: Maximum execution time of 120 seconds exceeded in…
To fix it, open your php.ini and replace the value for ‘max_execution_time’ and ‘max_input_time’ as per below.
max_execution_time = 3600
max_input_time = 3600
In: Frontend
11 Dec 2009Adding a CSS body class to Magento layouts seems very easy.
In case you want different CSS body class for different module pages on frontend, what you need to do is to find the syntax: $this->loadLayout(); in module controller files and add some new lines just below it.
Example:
I want to set the ‘my-profile’ class to all the customer pages [...] Continue Reading…
In: HTML
9 Nov 2009Adding a new page layout in Magento is very simple. But why someone need to add a new page layout. Page layputs are already there.
Well, that can be needed specially for a Home page. One of my friend in manging the Home page with existing layout. If we do change in current layout, it would affect the other pages [...] Continue Reading…
In: Cart
3 Oct 2009I want to display the custom price on the Shopping Cart page. By default if you add to cart the product it will take the price & will show that price on the cart page.
The data on the cart page is coming from the table ‘sales_flat_quote_item’. This table is having lot many fields. Some of them are product_id, [...] Continue Reading…
In: Reports
7 Sep 2009Want to create a custom report in Mageto Admin?
After taking help from some forums & all I was able to generate a new Report the way I wanted.
I was looking to generate the Report for the Products sold alog with the name of the Artist to whom the product belongs to.
These are the steps to be followed / I [...] Continue Reading…
In: PHP
20 Aug 2009On one of the Magento based project, I am working on I was facing lot many issues after having SSL on Godaddy hosting. Godaddy hosting is always having issues.
The biggest problem was, one page checkout page was getting infinite redirection loops. So it was not opening anyhow.
The solution was in Magento Admin only:
System -> Configuration -> Web.
Disable everything under [...] Continue Reading…
In: Admin
27 Jul 2009Creating the Associated Products for the configurable products in Magento is very easy, the way it can be in Admin panel.
You just need to fill the values in ‘Quick simple product creation’ box & press ‘Quick create’ button.
However, if you want to create big amount of simple products, its painful to fill the form every time.
In my case, I [...] Continue Reading…
In: Admin
16 Jul 2009Adding a custom input type on the forms on Admin html is very easy.
I used this in the module which I created with Module Creator.
I supposed to show the uploaded image on the edit form on Admin. The images are uploaded by the user from the front end.
For displaying the thumbnail, by default there is no way in Magento.
So [...] Continue Reading…
In: PHP
15 Jul 2009It always take time to get rid of the Magento cache. However cache is needed to execute the request faster. One way of clearing the cache is delete all the directories inside the /var/cache directory. Doing that manually it will take some time if you are connected to the FTP server.
The easiest way of clearing the cache in Magento [...] Continue Reading…
In: PHP
13 Jul 2009Search in large number files is painful & slow for the Magento based projects.
If you are using your editor’s built-in search feature, then also it may take lots of time to search within all directories. In case of you are editing the files on the live server, its very awful to search in even small no. of files for [...] Continue Reading…
Hello, Welcome to the Magento Coder.
I am Jignesh Patel, a Web Developer.
About Jignesh