Adding favourites to the shortlist works fine. But the fabourites functionality is weird: i cannot remove a favourite. But I can add doubles and when logiing back in it does bot show me if a favourite is added already or not.
Can you please check now: hidden link
- Select the shortlist option from the dropdown
- Click on button "Favorite" - favorite will be added and the button will become "Remove Favorite"
- Click on the button "Remove Favorite" - and the favorite item will be removed.
I've updated the code as given under that is added to "Custom Code" section of Toolset:
Hey Minesh, thank you so much for this an sorry for the long delay, I was away for a while.
I've tried it, the favourite/remove mechanism works nice now, but there are still issues: on the main page where you can see the locations as overview, I think the favourites do not update. When I choose a shortlist, the locations should update to their 'favourite' state, otherwise a user does not know if he already favourited it and then adds it twice. you know what I mean?
Also, I have a weird issue since you last worked on the website: when I simply go here: hidden link
What you before ask was already above and beyond the scope of our support policy and now your request is to have help on such custom requirement is pure custom programming and we do not entertain such custom feature/edits.
As a supporter, we need to work within the defined support boundaries and I (we) need to strictly follow that. I can not work for such a custom feature you want which needs such custom programming. I tried my best to show you how you can add/remove favorites by sharing some custom code but I can not be able to offer help further here.
If you need custom programming for your project, please feel free to contact our certified partners:
=> https://toolset.com/contractors/
I hope what I wrote makes sense and clear to you. Thank you for understanding and have a great time.
Hey Minesh, no problem I understand and I greatly appreciate your help. For me as a non-coder it is hard to know what is custom code or hard to do and therefore outside of your support and what is easy or with toolset plugins to do and inside of your support. - so no problem and thank you for getting me in the right direction 🙂
Regarding the question in tte second part of my last post: I think that falls into the support: Could you please quickly check what is going on in that link? F.ex: I cannot pick a toolset image cell anymore? Since this happened after you last worked on the site I would love you to look into that quickly and then we can close this thread. Thx again! Tobi
There should not be any side effects of my code as the code added is applicable on the frontend only for forms. You should remove the code and check. If the issue persists - please open a new ticket will all the required information and feel free to resolve this ticket.