Magento Themes and Magento Extensions

How to show products with toolbar and pagination in magento static block

Posted on September 27th, 2012 | Posted by admin

It is common in all Magento sites to show the product list in Home page using CMS feature in admin. Recently i had a requirement to display special products in clearance category. I need to create a static block which calls the custom product list block with special product filtering and include it in a category called clearance.

But in the latest version of  Magneto 1.4 we can’t use XML Layout for static blocks, of course we can use XML Layout in CMS Pages which will include the toolbar and pagination. After doing lot of trial and error i found out a way to show products in static block with toolbar and pagination. The below method will show the product listing with pagination and toolbar in static block.

We can pass the arguments in the block call as shown below.

{{block type=”yourmodule/blockname” name=”product_list” category_id=”6″ column_count=”3″ count=”6″ limit=”4″ mode=”grid” toolbar_block_name=”product_list_toolbar” template=”catalog/product/list.phtml”}}

How to sort products Magento

Posted on April 7th, 2012 | Posted by admin

How to change the product position in the category product listing.

Sounds simple but most of people don’t know how to do it.

Magento allows you to order your products by name or by price when you’re surfing a category.

It also allows you to change the position when you’re sorting by default.

1. Go to: Catalog -> Manage Categories.

2. Select a Category.

3. Select the Category Products tab.

How To Show Most Viewed & Best Selling Products In Magento Store

Posted on February 7th, 2012 | Posted by admin

Lately, we have noticed that many Magento store owners started asking us how to show most viewed

products or best selling products on their store’s home page or some other places in their store.

Unfortunately, there is nothing like these feature pre built in Magento core so you have to tweak

and write some lines of code to make it work.
Display Most Viewed Products
Step 1: Create a file app/code/local/Mage/Catalog/Block/Product/Mostviewed.php

and add the following lines of code in it

class Mage_Catalog_Block_Product_Mostviewed extends Mage_Catalog

Multiple configurable products with options on one page in Magento

Posted on January 20th, 2012 | Posted by admin
Displaying configurable products with options on one page can be problem because Javascript in Magento is setup to work only with one configurable product.
You can write your own Javascript or U can reuse Magento code.To accomplish that we need to modify product Javascript (js/varien/product.js) and configurable (catalog\product\view\type\options\configurable.phtml) select element template.

In configurable.phtml call our new JS class (we will create that class later in article) and add product id to configurable select element class.

Setting Up Featured Products In Magento

Posted on December 27th, 2011 | Posted by admin

ecommerce shops feel the urge to showcase their special products or featured products either on their shop’s home page or category listing pages depending upon the requirement. Various ecommerce scripts have already developed this feature and you will see a dropdown or a radio button to mark a product as featured. Unfortunately, Magento doesn’t provide this option by default. There are numerous Magento extensions available which will do the job including our Featured product slider which creates the custom attribute called “featured” and shows on product catalog page (admin) but if you are looking for a extension free solution then read on.

Creating new custom attribute called “Featured”

First of all you will have to create a custom attribute called “featured”. Go to Catalog => Manage Attribute => Add New and enter “featured” as attribute code. Choose Scope as “Global” or choose as per your website. Under Catalog Input Type choose “Yes/No” (you can not change this once an attribute is created).

[* Click on Image to see large preview]

Page 2 of 6«12345»...Last »