Category filter on Save to Favorites page.

This topic contains 5 replies, has 2 voices, and was last updated by  Alex Rollin 4 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #6298

    Scott Robins
    Free User
    Post count: 100

    Hi

    We would like to add a category filter to this page, is this possible ?

    https://dev.shoppingonline.ie/profile/scott/favorites/

    Kind Regards

    Scott

    December 18, 2019 at 4:45 pm #522218Reply

    Kor

    ———–

    Hi Scott,

    Thanks for your post. Unfortunately, what you needed there isn’t something that is possible out of the box. Also, please open a topic here https://userswp.io/support/ next time for anything that is related to userswp plugin.

    ———-

    Is it possible for my developer to custom code this ? If so can you point us in the direction of how to do it ?

    #6301

    Alex Rollin
    Moderator
    Post count: 27815

    I don’t know what you mean by category filter, but, we don’t have one. If you want to make one you will need to customize it yourself.

    As a pointer, instead of changing the UsersWP query you can add a custom tab and add your custom code for that tab only.

    UsersWP – Form Builder – Tabs

    #6302

    Scott Robins
    Free User
    Post count: 100

    Hi Alex

    The favorites page, shows a list of all listings that are saved by registered users. This list can grow very large and I am looking to add a filter on the page which would have each category of any listings saved. This way if users had 100 saved shops they can filter then by category for a much better user experience.

    Cheers

    Scott

    #6303

    Alex Rollin
    Moderator
    Post count: 27815

    Sounds good.

    This might be a place to start, a shortcode that will show the current_users’ favorites in one category “6” (Restaurants).

    You could try adding it to a custom tab:

    
    
    
    [gd_listings post_type="gd_place" post_author="current_user" post_limit="1000" show_favorites_only="1" sort_by="az" title_tag="h3" layout="5" view_all_link="1" with_pagination="1" top_pagination="1" bottom_pagination="1" category="6"]
    
    #6635

    Scott Robins
    Free User
    Post count: 100

    Hi Alex

    So just to clarify,

    I believe you mean this would be a separate tab for each category, we have 87 categories so this is not an option.

    What we are looking to do is have a simple dropdown on this page. When you selected a specific category it would display the shops associated with this category.

    Kind Regards

    Scott

    #6636

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks for the clarification, Scott.

    That will require your own customization because it is outside of what we can help with in support.

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket