[Resolved] How to create category filters like Niche Demo site?

Home Forums Support [Resolved] How to create category filters like Niche Demo site?

Home Forums Support How to create category filters like Niche Demo site?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1571872
    David

    Hi GP team πŸ˜‰

    I want to create a cathegory filters like the “Niche demo site”.

    But only the category filters, not the off canvas filters.

    Is for a restaurant webpage.

    For example: Starters, seconds, desserts, drinks, see all.

    I found this article https://gpsites.co/niche/how-the-shop-was-made/ and I tried the first Hook but is not working. Is correct?

    Thank you so much πŸ˜‰

    #1571916
    Leo
    Staff
    Customer Support

    Hi there,

    Hook #1 should be the solution you are after.

    What isn’t working when you tried it?

    Can you link me to the page in question?

    #1572051
    David

    Hi Leo,

    I send you the URL. Not it works. I made a mistake with a “Display rules”.

    The actual setup in Hook element is:

    Hook: woocommerce_archive_description
    PHP: Execute PHP
    Display rules: Producte archive and Product category archive.

    Last question. Is possible display a quantity of the products en each category?

    For example: desserts (4)

    Thanks πŸ™‚

    #1572139
    Leo
    Staff
    Customer Support
    #1572455
    David

    Yes, it works πŸ™‚

    Thank you

    #1573299
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

    #1573301
    Leo
    Staff
    Customer Support

    Any chance I can get you to share the final code here? It could be helpful for another user.

    Thanks πŸ™‚

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.