Magento Themes and Magento Extensions

Auto Populate Cross Sell with Products from Current Category Magento

Posted on July 11th, 2014 | Posted by admin

eCommerce Data is clear – you need to have cross sell items for every product in your catalog to help conversion.  The usual process consists of manually associating items in the Magento Admin interface.  This process works fine if you have hundreds or even a few thousand items – OR – you have this data in back end systems.

What happens if you don’t have the data and you have 15,000+ items in your catalog?

  • Hire someone to associate all products?
  • Randomly apply products in your data feed?
  • Develop custom code?

Magento: Adding Images to recently viewed products

Posted on May 20th, 2013 | Posted by admin

Recently viewed products on any store can be handy thing to have as they let your customers quickly go back to products they have been looking at. Having this facility can be a great selling tool, but Magento by default, only shows the product names which can be missed easily by the customer. The solution we have is to make recently viewed products better for your customers and it is to create image thumbnails along with the product name so that it is more prominent on your site.

The file that generates the recently viewed products block is in app/design/frontend/base/default/template/reports/product_viewed.phtml. You will want to open that file in a text editor, and save it in your theme’s templates file app/design/frontend/default/your_theme/template/reports/product_viewed.phtml. This will prevent you from overwriting any base theme template files, which is recommended.

You will be looking around line 36, which is what generates the ordered list of recently viewed products.

Magento Configurable Products – Setting Default Value for Options

Posted on May 17th, 2013 | Posted by admin

Magento Configurable Products – Setting Default Value for Options
Add the javascript hack at the bottom into template\catalog\product\view\type\options\configurable.phtml and automatically load the first option. copy below code under the var spConfig line:

function fireEvent(element,event)
if (document.createEventObject)
// dispatch for IE
var evt = document.createEventObject();
return element.fireEvent(‘on’+event,evt);

Magento : Get Upsell products list using Product Id

Posted on May 14th, 2013 | Posted by admin

Magento : Get Upsell products list using Product Id

In some situation when you need to show procuct in custom location file and in that file you also wanna show list of upsel product then this is example which will explain you.
For Example : Suppose you have Product ID and using that ID you want to accees upsell procust list then you can use following code :

1. Assume that you have product ID is : $product_id

2. Using that ID you can get list of Upsell product. Copy following code and place it in you custom file.

Magento – Display Root Category Products With Filters

Posted on May 11th, 2013 | Posted by admin

I had to display all the child categories products of the root category on a page with filtered navigation on the left column, but by default Magento does not display the root category products.

After some search and research I find the solution for this. It can be accomplished using Layout Update XML inside the CMS page. Not only layered nav but toolbar will also be displayed. For this we need to create a new CMS page or we can use any existing page where we want to display the products of the root category with filtered nav.

Follow steps:

  1. Open Manage Category page in admin and choose the root category you want to display. Make sure that the category is Active and Is Anchor yes. Note down the category id.
  2. Create a new CMS page, CMS > Pages > Add New Page or Edit any existing one where you want to display the products.
  3. Fill the proper information in the required fields.
Page 1 of 3123»