A
A
Andrey2019-01-15 17:19:46
opencart
Andrey, 2019-01-15 17:19:46

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

1 answer(s)
W
web-mechanic, 2019-01-26
@Andrey_Tech

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 question

Ask a Question

731 491 924 answers to any question