Wrong wishlist and comparison product count

This topic has 19 replies, 3 voices, and was last updated 1 years ago ago by Rose Tyler

  • Avatar: PS
    PS
    Participant
    April 3, 2024 at 11:17

    Wishlist and Comparison show wrong count for products. If a registered user adds product to wishlist or comparison and the product is deleted afterwards the count will be wrong.
    There should be a check if products should be visible to users (to exclude the deleted/drafted products), and only those should count.
    The Comparison has limit of 5, so if user adds 5 products and they are deleted afterwards, user won’t be able to use the function.
    Even after cleaning the cash the problem persists, because the wishlist for registered users is stored in database.

    Files is visible for topic creator and
    support staff only.
    18 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    April 3, 2024 at 12:14

    Hello, @PS,

    Thank you so much for purchasing our theme and contacting our support center.

    1/ To solve your issue, Please deactivate the cache plugin on your site.

    2/ We invite you to view the instructional video at the following link: https://youtu.be/ZyjZ-vCx0pE -This video will guide you on how to convert the Dynamic Wishlist & Compare page into a static one by utilizing our provided shortcode.

    https://www.8theme.com/documentation/docs/how-to-use-the-built-in-compare-feature/

    After that please clear your browser cache and check again.

    We hope this will solve your issue. Should you require any further assistance, please do not hesitate to reach out.

    Best Regards,
    8Theme’s Team

    Avatar: PS
    PS
    Participant
    April 3, 2024 at 14:19

    We have a plugin that prevents browser caching.
    Even when deactivating the plugin cache stays empty and data gets saved in cookies.

    Please contact administrator
    for this information.
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    April 4, 2024 at 06:09

    Hello, @PS,

    We appreciate your prompt reply.

    We regret to inform you that we are currently experiencing difficulties accessing your website. For your reference, we have attached an image that illustrates the issue. https://imgur.com/UBEmVuu

    Please record a video of the problem for a better understanding. Upload it on a filesharing service, for example – https://wetransfer.com/ , and provide us with URL.

    Furthermore, we would appreciate it if you could create temporary wp-admin access and share the details via the private content area. This will allow us to review your settings and better understand the issue at hand and help you.

    We kindly recommend that you take a complete backup of your site before proceeding.

    Thank you for your cooperation and we look forward to hearing from you soon.

    Kind regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: PS
    PS
    Participant
    April 4, 2024 at 12:24

    Adding link to the video: https://files.fm/u/5t8w3vyv6k
    The problem is not in cashing or anything.
    The product IDs from whishlist and compare lists are saved in DB, then fetched by most likely your theme. This is a problem for registered users, so is there a way to filter put deleted/drafted product IDs when fetching them from DB?

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    April 4, 2024 at 12:34

    Hello, @PS,

    We would like to express our gratitude for sharing the video with us.

    We regret to inform you that we are currently experiencing difficulties accessing your website. For your reference, we have attached an image that illustrates the issue. https://imgur.com/UBEmVuu

    In order to assist you with your inquiry, we request that you provide us with URL and temporary access to the wp-admin of your website. This will enable us to take a closer look at your settings and provide you with a more accurate and specific solution.

    To do this, please follow these steps:
    – Create an account via Dashboard (Users > Add new) with administrator role. Refer to the following image for guidance: http://prntscr.com/s3rc9m
    – Provide us with the username and password for the newly created account via the Private Content area. Refer to the following image for guidance: http://prntscr.com/s5mao7
    – Any email address can be used for the new account, it does not have to be your personal email.

    We kindly recommend that you take a complete backup of your site before proceeding.

    Please let us know once you have completed these steps, and we will promptly review your account information and provide assistance as soon as possible.

    Kind Regards,
    8theme team

    Please contact administrator
    for this information.
    Avatar: PS
    PS
    Participant
    April 4, 2024 at 13:11

    Okay, will send login details

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 4, 2024 at 14:01

    Hello,

    We appreciate your prompt response.

    We can’t open your site – “Access to this site is restricted.” https://prnt.sc/NAQR7QLeHGW3 Please contact your shiting provider and solve this first.

    Kind Regards,
    8theme team

    Avatar: PS
    PS
    Participant
    April 4, 2024 at 14:09

    You have to use the login link

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 4, 2024 at 16:24

    Hello, @PS,

    We appreciate your prompt response.

    Please clear the cache and check now – https://gyazo.com/63bdca73c124d9e390543fd3df147f6e

    Kind Regards,
    8theme team

    Avatar: PS
    PS
    Participant
    April 5, 2024 at 09:27

    Okay, I replicated the problem on your test profile, you should check now. Even if your wishlist is empty, there will be a number indicating that it’s not empty

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 5, 2024 at 11:01

    Hello,

    Could you please provide a detailed description of the steps you have taken to replicate the issue at hand? This information will be invaluable in assisting us with troubleshooting.

    Additionally, we kindly request that you provide FTP access credentials to enable us to conduct a thorough investigation.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    The 8Theme Team

    Avatar: PS
    PS
    Participant
    April 5, 2024 at 12:08

    I copied database data from profile with problems and added to your profile.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 5, 2024 at 12:28

    Hello,

    We would like to inquire whether it implies that none of the clients or users of this site will be able to perceive the issue you have described until you replicate the database data themselves to recreate the problem.
    Could you please elaborate on how a client might encounter this issue without performing such a copy?

    We have added IPs in the Private Content

    Best Regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: PS
    PS
    Participant
    April 5, 2024 at 12:58

    If
    1.) a registered client adds some product to his/her wishlist
    2.) we permanently delete the product,
    3.) products id will still be saved in whishlist
    4.) this will create this “bug” where user sees a bigger count on his whishlist icon than there are products

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 5, 2024 at 13:38

    Hello,

    I would like to inform you that the issue you have reported has been escalated to our development team for further investigation. Rest assured, I will provide you with an update as soon as a response is received.

    Best Regards,
    The 8Theme Team

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 5, 2024 at 15:25

    Hello,

    We are pleased to inform you that the issue has been resolved. Kindly clear your browser cache and verify the changes at your convenience.

    Changes were done in:
    et-core-plugin/packages/xstore-wishlist/xstore-wishlist.php
    et-core-plugin/packages/xstore-wishlist/templates/wishlist.php

    et-core-plugin/packages/xstore-compare/xstore-compare.php
    et-core-plugin/packages/xstore-compare/templates/compare.php

    Best Regards,
    The 8Theme Team

    Avatar: PS
    PS
    Participant
    April 6, 2024 at 11:11

    Yes, everything works now.
    Thanks.
    Will the changes be lost on next update or will you add them to next update?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 7, 2024 at 09:28

    Hello,

    You’re welcome!

    Changes will be added in the next update.

    Best Regards,
    The 8Theme Team

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

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

Helpful Topics

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