Wishlist items appear on wishlist page only after ctrl+shift+R reload

This topic has 13 replies, 3 voices, and was last updated 1 months, 2 weeks ago ago by Jack Richardson

  • Avatar: kikjou
    Martin
    Participant
    May 31, 2024 at 13:59

    Hi,

    with W3total cache active, products newly added to the wishlist appear on the wishlist page only after a ctrl+shift+R reload.

    In W3total I have set an exception for the wishlist page in the “browser cache” options, but with no effect.

    The problem does not occur when logged in as admin, problably becaus page cache is disabled for admin. But the wishlist page is excluded for page cache, too.

    Can you recommend how to solve this problem?
    Thank you
    Best regards
    Martin

    Please, contact administrator
    for this information.
    12 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 31, 2024 at 14:30

    Hello, Martin,

    Thank you for reaching out to us.

    Please try adding

    xstore_wishlist_ids
    xstore_wishlist_ids_0

    in Reject Cookies field of cache plugin, for example – https://www.8theme.com/topic/wishlist-removed-items-reappear-after-page-reload-only-when-not-logged-in/#post-345307

    Best Regards,
    8Theme’s Team

    Avatar: kikjou
    Martin
    Participant
    May 31, 2024 at 15:29

    Hello Rose,

    unfortunately, this is not an option, as it disables caching site-wide on every page. I suppose, it is because those cookies are loaded by the header element for the wishlist.

    W3total’s log files reflect that very clearly. I have tried it before, and now I can see the same result again.

    What else could be done?

    Best regards
    Martin

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 31, 2024 at 15:47

    Dear @Martin,

    We recommend that you temporarily deactivate your cache plugin to determine if the issue persists in its absence. Should the problem only occur when W3 Total Cache is active, we advise you to find the similar query or raise own one on their support forum for potential solutions, as the issue may stem from their specific caching techniques.

    Additionally, as mentioned in our previous correspondence, we utilize the cookies [xstore_wishlist_ids, xstore_wishlist_ids_0] provided by @Rose Tyler. For the XStore wishlist code, please refer to the following file: et-core-plugin/packages/xstore-wishlist/xstore-wishlist.php.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: kikjou
    Martin
    Participant
    June 9, 2024 at 12:05

    Hello @Jack,

    in order to find out exactly when/how deleted items are restored, I have gone through several different tests.

    The following scenarios are reliably repeatable and show, that the issue does NOT depend on the caching plugin:

    1st – cache/W3Ttotal ON:
    – delete certain items on the wishlist
    – navigate to another page
    – check in the sidebar if items are still gone from the list > yes
    – navigate back to the wishlist > items still deleted.
    – log out + navigate to wishlist page & Ctrl+shift+R > items are still deleted
    – log in + navigate to wishlist + Crtl+shift+R > DELETED ITEMS REAPPEAR

    disable caching/W3Total
    – log out > deleted items are GONE AGAIN
    – log in > deleted items REAPPEAR

    2nd – with cache/W3 Total OFF
    – navigate to wishlist, delete the same items and some others for comparison
    – log out > items still deleted
    – log in > ALL DELETED ITEMS ARE RESTORED

    The SAME ISSUE can be observed with the COMPARE function!

    I repeated the exact same tests with the same results on the staging site with all PLUGINS DEACTIVATED (except Elementor Pro and Woocommerce).

    Cookies:

    1. The freshly created staging site under a different domain shows the same wishlist content after login.
    2. The staging site displays the same wishlist content in a different browser, history-clean, after login.

    It seems that the wishlist content is saved in the database, not in the cookies.
    What do the cookies do?
    Could you please check, if they are placed correctly?

    – W3Total: please, understand what W3Total does when Cookies are added at “Performance > Page Cache > Advanced > Reject Cookies”: as written there: “Never cache pages that use the specified cookies”. With the header utilizing the wishlist widget, W3Total excludes every page with that header from cache. >> not an option, maybe not even relevant.

    I am aware of that older thread. Let’s finally solve this mystery. Login credentials are still active.

    Thank you!
    Best regards
    Martin

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 10, 2024 at 12:41

    Dear @Martin,

    Thank you for your thorough testing and for providing detailed information. We appreciate your efforts and require some time to methodically test the issue based on the steps you have outlined. We aim to identify and implement a solution promptly.

    In the interim, we have forwarded this matter to our development team for further analysis. As a temporary measure, we suggest you try using the free YITH Wishlist plugin, ensuring that the XStore Wishlist option is disabled. This workaround might serve your immediate needs for a functioning Wishlist feature.

    Thank you for your patience and understanding.

    Kind regards,
    Jack Richardson
    8Theme’s Team

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 12, 2024 at 10:02

    Dear @Martin,

    I hope this message finds you well. We are reaching out to request your assistance with testing our updated wishlist functionality, which you have experience with from previous tests.

    Please note that we recommend clearing your cookies and caches to ensure the test is conducted under fresh conditions. For testing purposes, you may use our staging website if available.

    Additionally, we have attached a file in the private area that needs to be manually reuploaded to the following path:
    et-core-plugin/packages/xstore-wishlist/xstore-wishlist.php

    We would greatly appreciate your feedback on this matter. Thank you in advance for your cooperation and support.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: kikjou
    Martin
    Participant
    June 21, 2024 at 16:32

    Hello @Jack,

    I have tested the new xstore-wishlist.php you gave me (and the latest update which addresses this issue), with cache off, and in a new clean browser. The behavior is still the same: deleted items get restored after logout + re-login.

    Interestingly, I DID manage to permanently remove products that were freshly added. You can recognize them in the screenshot https://snipboard.io/yaSnq1.jpg by the date. Older items never show the date added.

    Old items that are deleted while logged-out also re-appear upon login.

    Some of the old items I have changed from status “published” to “pending review”. However, they still display in the wishlist.

    Here are a few more observations, in case they are important:

    As soon as I logged in, the wishlist was populated with the items from that account, as expected.
    Upon logout those items remain on the wishlist. > Is that the desired behavior?

    Still logged out, I deleted all items on that wishlist. As long as the session remained logged-out, those items did not re-appear, as expected. I added some new products to the wishlist and logged into that same account. Those items were added to the account wishlist, and show up. > Is that the desired behavior?

    Best regards

    Martin

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 24, 2024 at 07:54

    Hello @Martin,

    Thank you for your detailed feedback and for testing the new xstore-wishlist.php and the latest update.

    We appreciate your observations regarding the behavior of deleted items being restored after logout and re-login, as well as the distinction between freshly added products and older ones. We understand that older items do not show the date added and still display in the wishlist even when their status is changed to “pending review.”

    To address your specific questions:

    1. **Wishlist Population on Login:** Yes, it is expected behavior that the wishlist is populated with the items from the account upon login.
    2. **Wishlist Persistence on Logout:** When you log out, it is also expected that the items remain on the wishlist.
    3. **Adding New Products to Wishlist:** New products added while logged out should be saved to the wishlist upon logging into the same account, which is the desired behavior.

    We will have our developers review the issue with items that have a status of “pending review” or are non-published still displaying in the wishlist. We understand that waiting for nearly two weeks for test results can be frustrating, and we assure you that we thoroughly tested the functionality on our end without encountering these issues.

    If you find that our built-in Wishlist is not meeting your needs, we recommend migrating to the YITH Wishlist plugin [https://wordpress.org/plugins/yith-woocommerce-wishlist/], which is fully compatible with our system and may offer the functionality you’re looking for.

    Thank you for your patience and understanding. We are committed to resolving this issue and ensuring the best experience for you.

    Best regards,
    Jack Richardson
    The 8theme’s team

    Avatar: kikjou
    Martin
    Participant
    August 2, 2024 at 15:03

    Hello @Jack

    Is there any news on this topic? Please let me know about the progress.

    Thanks for the recommendation, but I have tried YITH plugins (and the wishlist plugin in particular) before, and they are all a mess that I do not want to go into ever again.

    Best regards
    Martin

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 3, 2024 at 09:08

    Dear @Martin,

    I hope this message finds you well. I am pleased to inform you that our development team has implemented several enhancements in the recent update of Version 9.3.13 / Core Plugin 5.3.13 and next ones, detailed on our update history page: https://xstore.8theme.com/update-history/.

    We have not received any negative feedback from you following these changes, which we hope indicates that the modifications have met your expectations and are functioning correctly. However, should you encounter any issues, we kindly ask you to ensure the following:

    1. You are using the latest versions of the XStore theme and XStore Core plugin.
    2. Please describe the steps to reproduce any issue you are experiencing.
    3. Have you encountered this issue during tests with the separate plugins we recommended?
    4. If feasible, a video illustrating the issue would be greatly appreciated and would assist us in resolving it more efficiently.

    We value your feedback and are here to assist you in ensuring a smooth experience with our products.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: kikjou
    Martin
    Participant
    August 16, 2024 at 07:21

    Hello @Jack

    unfortunately, the issue is still there, unchanged. Since I have already described the issue in much detail, please, refer to my messages from
    June 9, 2024
    June 21, 2024
    The gist: deleted wishlist items reappear after logout + login.

    I am using the latest update.

    Thank you
    Martin

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 17, 2024 at 09:09

    Dear @Martin,

    Thank you for your patience. We are currently managing a high volume of tasks, but please be assured that we are working diligently to address your request as swiftly as possible.

    The analysis and resolution of your issue are expected to require a few hours of our development team’s time. As previously suggested, we recommend using the YITH Wishlist or other free plugins to use as a temporary or even a permanent alternative to our built-in Wishlist functionality during this period.

    We will keep you updated on our progress and notify you as soon as we have more information.

    Best regards,
    Jack Richardson
    The 8Theme Team

  • Viewing 13 results - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.