Answer the question
In order to leave comments, you need to log in
How not to display goods with a zero balance on opencart in ocfilter?
Good afternoon!
The site is on opencart, it costs ocfilter on categories, and in some product there is a minus balance, but ocfilter sees it and filters it when choosing. How can I make sure that ocfilter does not filter products with a minus balance or with a balance equal to zero?
Answer the question
In order to leave comments, you need to log in
in my opinion, you just need to add the quantity > 0 condition to the getProducts method, ocfilter itself simply adds your own conditions to the main standard request
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question