0

I found this code in a xml file:

<action method="setAvailableProducts">
      <value helper="mmartinovic_productlist/getAvailableOrders"></value>
</action>

Is there a similar way to filter products that are out of stock (by default I have to show all the products, regarding if in stocks or not)

0

You are using a custom extension (looks like this one: Mmartinovic_Productlist). As far as I can see, this extension does not provide this functionality (look into app/code/community/Mmartinovic/Productlist/Helper/Data.php).

You can use a collection for this, as described in this answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.