How to implement "LIKES" for an product and display the count

Hi

Could someone please help me on implementing “Likes” functionality. I have an Like icon on my PDP, when I click on it , I need some system counting on the number of likes that products have earned. Any suggestion and code examples please…

Thanks

Hi,

see https://documentation.bloomreach.com/library/concepts/component-development/hst-2-forms.html

You can save the data to a document in the bind method of the bean.