Jump to content

$product.availability = $product.quantity


Eutanasio

Recommended Posts

Hi,
I have a problem on PS 1.7. The product filters can't filter available (in stock) products properly because they take the variable $product.availability as a stock reference, when it only means that a product can or cannot be ordered.
I need $product.availability to be related to the $product.quantity, so if the stock is 1 or more it means available, while when 0 or bellow means not available.
Thanks

Link to comment
Share on other sites

  • 1 month later...

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...