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!

5

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

|improve this answer|||||
  • 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 '13 at 21:31

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.