[Rezolvat] – Get random products only with quantity greater than zero

In the file classes/Category.php, copy the function GetProducts and change the name to getAvailableProducts or so. then add to the its SQL WHERE...

Citește articolul [...]