Magento Themes and Magento Extensions


Posted on November 8th, 2012 | Posted by admin


There are some instances that you want to offer a coupon code or private sales in your site. In order to for you to do that you need to check if the user logged in using the following code:

<?php if(Mage::getSingleton('customer/session')->isLoggedIn()): ?>

 //paste your coupon code or private information here. 

<?php endif; ?>

Also you can use this helper method. It does exactly the same as abov

Adding your custom module to Magento’s Admin Global Search

Posted on November 7th, 2012 | Posted by admin

When creating a custom module in Magento, have you ever wanted to add custom search functionality to the Magento admin area, allowing users to search your module? Today I will attempt to show you in the most simple of terms how you can achieve this and add to Magento’s global search.

For this example I will be using a custom module called Matt_Car, a fictitious module that may contain information on a car and output on the store front. We will be adding functionality to search by car name or brand within Magento’s admin area global search box.

I will assume you’ve already created a custom module, as this will be the module you are searching, but your module declaration should look something like…

Magento Product’s Relative Parent Category Method

Posted on November 6th, 2012 | Posted by admin

In Magento: I want to quickly cover an area that I get asked about at least once a month, and that is “If a product belongs to more than one category.. how do I get the correct parent category while viewing a product through one category or the other?”.

With that said the, the biggest scenario for this need would be to determine the products parent category in order to perform something unique to the product’s page while viewing product’s page through one category or another.

This is a very simple method that assumes you have the product of question loaded up or rather, you are at the product level of your store in order to obtain some information about the products parent categories.

So here we go.

How to import configurable products from CSV File into Magento System

Posted on November 5th, 2012 | Posted by admin

Unlikely the default Magento import module, this fully customizable bulk import module allows you to import configurable products through CSV feed.
Module features:

  • Import from CSV feed
  • Create CSV for import
  • Import configurable products and their associated simple products.
  • Import images / multiple images / gallery images from remote server.
  • Supports cron job
  • Copy the file Productwithconfigurablesandcategories.php located in (file attached to this post) to the folder /app/code/core/Mage/Catalog/Model/Convert/Adapter/.

How to transfer magento to a new host

Posted on November 4th, 2012 | Posted by admin
  • Go to your Cpanel > File Manager and then select all your magento files and then click compress to create a zip file of the magento files.
  • Download the zip file by going to (Replace with your domain name and with the name of your zip file)
  • Then go to phpmyadmin and on your left click on the database name and then click Export. Select Custom Export Method and choose Output “Save output to a file “ and then choose Compression “zipped or gzipped” and click Go. This will download the compressed database/mysql dump file.
  • On your new host, upload the zip file using ftp (Filezilla) and then go to Cpanel > File Manager and select the zip file that you uploaded and click extract.
  • Create a new database on the new host and add the database user to it.