[Skip to main content](#vessel-content)

#   HikaShop Product Like Button

##

- **[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")**
- [![verzevoul's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8351-verzevoul "View verzevoul's Profile") Topic Author
- [ Offline](/forum/user/8351-verzevoul)

Less More

- Posts: 1195
- Thank you received: 13
-
-

3 months 2 weeks ago [\#372727](#372727) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[HikaShop Product Like Button](/forum/25-install-update/910695-hikashop-product-like-button#372727 "Hello,  I installed and configured the “HikaShop Product Like Button” plugin version 1.0.1.  The like button works and I created a HikaShop products listing menu item with:  Only liked products: Yes  The liked products are displayed correctly only in the same browser.  Looking at the plugin code, it appears that liked product IDs are stored only in the “liked&#95;products” browser cookie:  $&#95;COOKIE  and:  document.cookie = name + cookieValue.join('|') + expires + '; path=/';  Could you please confirm the following?  1. Are liked products intentionally stored only in the browser cookie? 2. Does this mean that likes are lost when the customer changes browser/device, uses private browsing, or clears cookies? 3. Is there an option to associate liked products with the logged-in Joomla/HikaShop user account? 4. Is there an official solution or extension for persistent favorites synchronized across devices? 5. Could the plugin be extended so that logged-in users save likes in the database, while guests continue using cookies?  For an e-commerce customer account, we need the favorite products to remain available after login from another device.  Thank you.")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

Hello,

I installed and configured the “HikaShop Product Like Button” plugin version 1.0.1.

The like button works and I created a HikaShop products listing menu item with:

Only liked products: Yes

The liked products are displayed correctly only in the same browser.

Looking at the plugin code, it appears that liked product IDs are stored only in the “liked_products” browser cookie:

$_COOKIE

and:

document.cookie = name + cookieValue.join('&#124;') + expires + '; path=/';

Could you please confirm the following?

1. Are liked products intentionally stored only in the browser cookie?
2. Does this mean that likes are lost when the customer changes browser/device, uses private browsing, or clears cookies?
3. Is there an option to associate liked products with the logged-in Joomla/HikaShop user account?
4. Is there an official solution or extension for persistent favorites synchronized across devices?
5. Could the plugin be extended so that logged-in users save likes in the database, while guests continue using cookies?

For an e-commerce customer account, we need the favorite products to remain available after login from another device.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDY5NS1oaWthc2hvcC1wcm9kdWN0LWxpa2UtYnV0dG9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")**
- [![verzevoul's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8351-verzevoul "View verzevoul's Profile") Topic Author
- [ Offline](/forum/user/8351-verzevoul)

Less More

- Posts: 1195
- Thank you received: 13
-
-

3 months 2 weeks ago [\#372728](#372728) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[HikaShop Product Like Button](/forum/25-install-update/910695-hikashop-product-like-button#372728 "Hello,  I installed and configured the “HikaShop Product Like Button” plugin version 1.0.1.  The like button works and I created a HikaShop products listing menu item with:  Only liked products: Yes  The liked products are displayed correctly only in the same browser.  Looking at the plugin code, it appears that liked product IDs are stored only in the “liked&#95;products” browser cookie:  $&#95;COOKIE  and:  document.cookie = name + cookieValue.join('|') + expires + '; path=/';  Could you please confirm the following?  1. Are liked products intentionally stored only in the browser cookie? 2. Does this mean that likes are lost when the customer changes browser/device, uses private browsing, or clears cookies? 3. Is there an option to associate liked products with the logged-in Joomla/HikaShop user account? 4. Is there an official solution or extension for persistent favorites synchronized across devices? 5. Could the plugin be extended so that logged-in users save likes in the database, while guests continue using cookies?  For an e-commerce customer account, we need the favorite products to remain available after login from another device.  Thank you.")*

Hello,

We need to implement a persistent Favorites feature for registered B2B customers.

The business requirement is the following:

- Logged-in B2B customers must be able to mark products as Favorites.
- Their favorite products must be associated with their Joomla/HikaShop account.
- Favorites must remain available on future visits.
- The same favorites must be available when the customer logs in from another browser or device.
- Customers should have a dedicated “Favorites” page from which they can quickly find and reorder frequently purchased products.

We tested the “HikaShop Product Like Button” plugin version 1.0.1.

However, from its code, it appears that the liked product IDs are stored only in the browser cookie:

$_COOKIE

This means that the list is browser-specific and is lost when cookies are cleared or when the customer changes browser/device.

Could you please clarify:

1. Is there an official HikaShop Wishlist/Favorites feature that stores products per registered user in the database?
2. Is this functionality included in a specific HikaShop edition?
3. Can it be restricted to registered/B2B users?
4. Can the customer add products from the Favorites page directly to the cart?
5. Is there an official plugin or recommended implementation for persistent cross-device favorites?

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDY5NS1oaWthc2hvcC1wcm9kdWN0LWxpa2UtYnV0dG9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

3 months 2 weeks ago [\#372730](#372730) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[HikaShop Product Like Button](/forum/25-install-update/910695-hikashop-product-like-button#372730 "Hello,  I installed and configured the “HikaShop Product Like Button” plugin version 1.0.1.  The like button works and I created a HikaShop products listing menu item with:  Only liked products: Yes  The liked products are displayed correctly only in the same browser.  Looking at the plugin code, it appears that liked product IDs are stored only in the “liked&#95;products” browser cookie:  $&#95;COOKIE  and:  document.cookie = name + cookieValue.join('|') + expires + '; path=/';  Could you please confirm the following?  1. Are liked products intentionally stored only in the browser cookie? 2. Does this mean that likes are lost when the customer changes browser/device, uses private browsing, or clears cookies? 3. Is there an option to associate liked products with the logged-in Joomla/HikaShop user account? 4. Is there an official solution or extension for persistent favorites synchronized across devices? 5. Could the plugin be extended so that logged-in users save likes in the database, while guests continue using cookies?  For an e-commerce customer account, we need the favorite products to remain available after login from another device.  Thank you.")*

Hi,

1. Yes, the wishlist feature which is included in HikaShop by default does this. Check the "enable wishlist" setting and the following settings of the HikaShop configuration:
[ www.hikashop.com/support/documentation/5...g.html#features\_main](https://www.hikashop.com/support/documentation/54-hikashop-config.html#features_main)

2. It is included in both HikaShop Essential and HikaShop Business.

3. The wishlist feature is restricted to registered users automatically.

4. Yes. The wishlist page has a button for this.

5. See point 1.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDY5NS1oaWthc2hvcC1wcm9kdWN0LWxpa2UtYnV0dG9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")**
- [![verzevoul's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8351-verzevoul "View verzevoul's Profile") Topic Author
- [ Offline](/forum/user/8351-verzevoul)

Less More

- Posts: 1195
- Thank you received: 13
-
-

3 months 2 weeks ago [\#372759](#372759) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[HikaShop Product Like Button](/forum/25-install-update/910695-hikashop-product-like-button#372759 "Hello,  I installed and configured the “HikaShop Product Like Button” plugin version 1.0.1.  The like button works and I created a HikaShop products listing menu item with:  Only liked products: Yes  The liked products are displayed correctly only in the same browser.  Looking at the plugin code, it appears that liked product IDs are stored only in the “liked&#95;products” browser cookie:  $&#95;COOKIE  and:  document.cookie = name + cookieValue.join('|') + expires + '; path=/';  Could you please confirm the following?  1. Are liked products intentionally stored only in the browser cookie? 2. Does this mean that likes are lost when the customer changes browser/device, uses private browsing, or clears cookies? 3. Is there an option to associate liked products with the logged-in Joomla/HikaShop user account? 4. Is there an official solution or extension for persistent favorites synchronized across devices? 5. Could the plugin be extended so that logged-in users save likes in the database, while guests continue using cookies?  For an e-commerce customer account, we need the favorite products to remain available after login from another device.  Thank you.")*

Thank you for the reply Nicolas.
We made it with the wishlist.
It is useless for us to use this extension.
Is it possible to be credited for this plugin since the description is a little bit misleading

"That plugin allows your customers to "like" your products on your shop.
Plus, it will offer you an new option for your HikaShop content modules and menu items, in order for customers to be able to see a list of their "liked" products."

It is only for the current session.

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDY5NS1oaWthc2hvcC1wcm9kdWN0LWxpa2UtYnV0dG9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

3 months 2 weeks ago [\#372766](#372766) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[HikaShop Product Like Button](/forum/25-install-update/910695-hikashop-product-like-button#372766 "Hello,  I installed and configured the “HikaShop Product Like Button” plugin version 1.0.1.  The like button works and I created a HikaShop products listing menu item with:  Only liked products: Yes  The liked products are displayed correctly only in the same browser.  Looking at the plugin code, it appears that liked product IDs are stored only in the “liked&#95;products” browser cookie:  $&#95;COOKIE  and:  document.cookie = name + cookieValue.join('|') + expires + '; path=/';  Could you please confirm the following?  1. Are liked products intentionally stored only in the browser cookie? 2. Does this mean that likes are lost when the customer changes browser/device, uses private browsing, or clears cookies? 3. Is there an option to associate liked products with the logged-in Joomla/HikaShop user account? 4. Is there an official solution or extension for persistent favorites synchronized across devices? 5. Could the plugin be extended so that logged-in users save likes in the database, while guests continue using cookies?  For an e-commerce customer account, we need the favorite products to remain available after login from another device.  Thank you.")*

Hi,

It is not only for the current session. Writing this would be misleading.
The liked products information is stored in the cookies of the browser, and it will survive changing user sessions.
So I don't think it is misleading.

But yes, you sure can get a refund for the plugin if you purchased it less than 30 days ago by requesting a refund via our contact form as per [ www.hikashop.com/money-back-policy.html](https://www.hikashop.com/money-back-policy.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDY5NS1oaWthc2hvcC1wcm9kdWN0LWxpa2UtYnV0dG9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.064 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
