Tell us what you are trying to do?
I need to implement a "favorites" function for a real estate site, where a registered user can add or remove a homes from their own "favorites" list.
Is there any documentation that you are following?
I've seen a few threads about similar topics, but all were rather old and I'm wondering which approach would work best for me. I'm currently using a plug-in, but it is a bit cumbersome to work with, and does not integrate well with Views. I would prefer a method that does not require a page refresh after adding or removing a favorite.
Which approach is most efficient, adding a repeating field to the "Homes" post type to store User IDs, or creating an intermediate post type?
I think that many people would find this type of functionality useful. Would you consider creating a tutorial on the Toolset site for others to follow?
Is there a similar example that we can see?
The current site (which uses a plugin) works, but I have limited options on how the user favorites are displayed on the front end (on the "My Favorites" page)
Hello. Thank you for contacting the Toolset support.
As you already know that there is no such feature available with Toolset. Your requirement is a customs requirement and as per our support policy, it may need custom programming which is beyond the scope of our support policy.
=> https://toolset.com/toolset-support-policy/
Howerver, what if you create a another post type "Favorite Posts" and create a one-to-many relationship between your post type and this "Favorite Posts". After that use the Toolset form to create favorites/unfavorite and use post-relationshp API using Toolset form's hook cred_save_data to connect the post so that favorite relationship will be established between your post type and "Favorite Posts".