Order by out of stock !

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Order by out of stock !

Deepak Agarwal-2
We want to show the products in paging but out of stock at the last. Other
than store inventory lookup flag we have a custom logic for the out of
stock too.

Any idea How can I achieve it ? view_size is 20 , so in 20 records I can
sort but how to do it for over all set of products.

--
Thanks,
Deepak Agarwal,
Reply | Threaded
Open this post in threaded view
|

Re: Order by out of stock !

Deepak Agarwal-2
Ok. I figured it out. Added ExcludeOutOfStock search constraint by
preparing the dynamic view entity conditions.

On Tue, Jun 19, 2012 at 4:00 PM, Deepak Agarwal <[hidden email]>wrote:

> We want to show the products in paging but out of stock at the last. Other
> than store inventory lookup flag we have a custom logic for the out of
> stock too.
>
> Any idea How can I achieve it ? view_size is 20 , so in 20 records I can
> sort but how to do it for over all set of products.
>
> --
> Thanks,
> Deepak Agarwal,
>
>


--
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: [hidden email]
Mobile: +91 9910322604