I have one store in Magento 1.9 , There is a listing page with AJAX scroll loading, on first page I am showing 24 products.

We are showing products with label In-Stock and Sold Out, In-stock products have flag "0" in collection and Sold-out have flag "1" in collection. And default sorting order is latest product will show first either it is In-stock or Sold-Out.

Now client wants to show first six products In-Stock only after that regular sorting should work.

So how can I do that in Magento ? I have to merger two collections one of six products and other one is of other products collection ? Or is there any why to do it ?

Any help will be appreciated !

  • ...and what have you tried so far? – mtr.web Mar 28 '19 at 20:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.