4

I am wondering if it is possible to show all on sale items with exp:resso store?

{exp:store:search search:on_sale channel="products" sort="asc" limit="12"}
...
{/exp:store:search}

This is what I've been trying to work with, but it's displaying every product ever entered.

Thanks!

1 Answer 1

5

Try setting search:on_sale="yes" instead of search:on_sale.

1
  • You're welcome. Glad that got things working. The docs should be more clear for that setting. It's not obvious. You might want to email them suggesting the change.
    – Anna_MediaGirl
    Jan 8, 2013 at 21:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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