Using Version 3.0.3.8, have a multistore and just tested adding products to wishlist and then changed to another store and back and the list had cleared. Is this a bug? Any one know a way to fix?
Thanks!
Yes, this is a bug in Opencart 3.0.3.8. Currently, the wishlist is store-specific and does not persist across stores. This means that when you switch to a different store, the wishlist items are not saved or transferred.
Unfortunately, there is no built-in solution to fix this issue. However, you can modify the code to make the wishlist persist across stores. Here is one solution:
Unfortunately, there is no built-in solution to fix this issue. However, you can modify the code to make the wishlist persist across stores. Here is one solution:
- Create a custom module in your Opencart store.
- In the module, you will need to add a new database table to store the wishlist data.
- Modify the wishlist functionality to save the data in the new database table and retrieve it when the user switches between stores.
- Add a new column to the database table to store the store ID, so that the wishlist items can be retrieved correctly for each store.
Purpletree Software LLP
New features launched for Multivendor Marketplace Extension
That is brilliant, thank you very much for such a detailed response and a solution to my issue!
purpletreesoft wrote: ↑Tue Jan 31, 2023 8:37 amYes, this is a bug in Opencart 3.0.3.8. Currently, the wishlist is store-specific and does not persist across stores. This means that when you switch to a different store, the wishlist items are not saved or transferred.
Unfortunately, there is no built-in solution to fix this issue. However, you can modify the code to make the wishlist persist across stores. Here is one solution:
- Create a custom module in your Opencart store.
- In the module, you will need to add a new database table to store the wishlist data.
- Modify the wishlist functionality to save the data in the new database table and retrieve it when the user switches between stores.
This solution will require some technical expertise and may not be suitable for all users. If you are not familiar with Opencart's code, it may be best to hire a developer/agency or contact us to help with the implementation.
- Add a new column to the database table to store the store ID, so that the wishlist items can be retrieved correctly for each store.
Who is online
Users browsing this forum: No registered users and 518 guests