Sort or filter by Out of stock on collection page

zackzack Member Posts: 12
edited March 3 in General

Hi,

Is there any option on collection page where I can show product listing sort by availability like "out of stock" or "in stock" products?

If it's not possible in sorting then any way I can show these within filters or sidebar?

I tried to find in docs however didn't find anything.

Please suggest.

Thanks,

Zack

3 comments

  • bfodbfod Member Posts: 9

    Not on the collection page, unfortunately. You're only option is to choose whether the item(s) is; "hidden", "always show", or "show when in stock" via the backend.

  • AzTAzT Member Posts: 74 ✭

    I believe that some themes allow this and if you have a developer it can be coded regardless of theme I believe.

  • DonnyDonny Member, Partner Posts: 46 partner

    Hi @zack, little bit late that I’ve seen your message! It can be done with some custom works. Also it’s possible to automatically apply filters based on color, clothing size or any other other which has a pattern. Feel free to reach out by email, maybe I can be at service.

    @AzT its very tricky if you do it in the theme itself. The pagination won’t work properly anymore. Beside that, if your settings are not properly configured, the “active variant” won’t switch to another variant when it’s out of stock.

    CodeTech
    Lightspeed eCom partner
    Telefoon: + 31 (0) 85 - 047 80 88
    E-mail: [email protected]

    Met vriendelijke groet,

    Donny van Grondelle



Sign In or Register to comment.