Jump to content

ps_featuredproducts show only in stock products


Recommended Posts

Hello,

Can somebody tell me how to hide out of stock products in ps_featuredproducts module?

Tried to use 

if($rawProduct['quantity'] < 1) continue;


But this way it just skips and instead of showing 20 items it shows 20 - skips. Is there better way around it?

Thank you in advance

Untitled.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...