Closed ignaciosm closed 5 years ago
Hello,
Is there a way to filter products by 'on_sale?'. Meaning, get the list of the products that have a special price && that price is active now.
I've been trying something like: Spree::Product.where(on_sale?: true) but it doesn't work
Thanks!
We handle this by doing it in our product exports via another column in the export. Than do the work in excel
Hello,
Is there a way to filter products by 'on_sale?'. Meaning, get the list of the products that have a special price && that price is active now.
I've been trying something like: Spree::Product.where(on_sale?: true) but it doesn't work
Thanks!