This topic has 4 replies, 2 voices, and was last updated 3 years, 1 months ago ago by Olga Barlow
Hi there, I am wondering how do I show only products on sale through the filter which simply appends to the url something like ?sale.
I am asking because I do not want to add a sale category to products that are on sale but simply show them with some kind of filter which I am sure your theme has.
Hello,
Try ?sale_status=1
Regards
Hello,
Yes this displays products on sale however if there are no products on sale it still displays all products, is there any way that when you are viewing the url that has ?sale_status=1 does not display anything unless there are products on sale?
Reason I ask is because I will make a button that leads to a url with “?sale_status=1” but if I have nothing on sale and it just displays all random products (not on sale) my clients might think that all of those are on sale.
Hello,
Check now.
Regards
You must be logged in to reply to this topic.Log in/Sign up