How to display products on sale without given those products a specific sale cat

This topic has 4 replies, 2 voices, and was last updated 3 years ago ago by Olga Barlow

  • Avatar: Atdhe
    Atdhe
    Participant
    November 4, 2021 at 12:01

    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.

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 4, 2021 at 14:21

    Hello,

    Try ?sale_status=1

    Regards

    Avatar: Atdhe
    Atdhe
    Participant
    November 4, 2021 at 16:24

    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.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 5, 2021 at 15:51

    Hello,

    Check now.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.