How to sort products Magento

Share
Posted on February 4th, 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.

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

Share
Posted on January 26th, 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

Multiple configurable products with options on one page in Magento

Share
Posted on January 7th, 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

Share
Posted on December 8th, 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]

Displaying New Products in Magento with Pagination

Share
Posted on August 24th, 2011 | Posted by admin

Just recently we ran into an issue where we wanted to display all new products added to a specific category in our Magento site, with pagination. To make things more complicated, we wanted to display this by using a CMS page. The default functionality that Magento provides for new products just didn’t cut it in our case. We had to come up with something different and I am documenting it here for everyone’s benefit. This method will allow you to add new products to a Magento CMS page and pull up new products for any category you choose, or for the entire site. Whether you want to add new products to your CMS page by category or for the entire site, it’s up to you.

Adding New Products with Built in Magento Tools

First, let’s set the record straight. It is possible to display a list of new products in Magento using a default block. You can do this without any coding changes or modifications to Magento itself. This code will allow you to bring up a list of new products on one of your CMS pages. It is also possible to use this to bring new products up within a template file or on your homepage, though we are not covering that here.

Page 1 of 512345»