cancel
Showing results for 
Search instead for 
Did you mean: 

How to create SKU range filter for Product grid

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

How to create SKU range filter for Product grid

What I need is, magento default SKU search filter on product grid is only support for searching one perticular product SKU, but I need to re-create it to support for search range of SKUs just like Qty filter on product grid (From - To) , anyone has an idea how to do that ?

 

regards

chamal

_______________________________________________
An Expert in Anything Was Once a Beginner
1 REPLY 1

Re: How to create SKU range filter for Product grid

Hi @chamal 

 

If you have numric values you can change the type of a grid column to number:

 

$this->addColumn('sku',
    array(
        'header'=> Mage::helper('catalog')->__('SKU'),
        'width' => '80px',
        'index' => 'sku',
        'type'  => 'number',
));

 

I hope this helps :-)