Products not add to cart when user not logged in

This topic has 7 replies, 2 voices, and was last updated 4 years, 7 months ago ago by WAHAB

  • Avatar: WAHAB
    WAHAB
    Participant
    October 6, 2020 at 16:37

    my problem is, when adding products to cart it does not save. The cart will populate, but empty when going to another page. The cart only saves if a user is logged in. kindly fix this issue

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    October 6, 2020 at 17:53

    Hello,

    It looks like a cache problem. Do you use the cache plugin? Try to disable it and check again.

    Regards

    Avatar: WAHAB
    WAHAB
    Participant
    October 6, 2020 at 18:54

    I use Wp Rocket plugin to Minify script but i dont use any other plugin if you login my wp-admin panel you fix better than me kindly login to wp-admin panel and fix issue plz

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    October 7, 2020 at 10:54

    Hello,

    Can you try to disable the cache plugin and check if the issue disappears after that at start?
    Let us know about the results and provide with WP Dashboard access to your site after that testing.

    Regards

    Avatar: WAHAB
    WAHAB
    Participant
    October 7, 2020 at 12:53

    I try to disable it but nothing happen

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    October 7, 2020 at 16:55

    Hello,

    1) Your site is hacked https://prnt.sc/uuv168 Contact your hosting provider to clean your WP installation and prevent hacking in the future.

    2) I see that you use the additional code to hide prices and add to the cart for the product for the unlogged in users but it does not work if you use the single product builder. So, do you want to hide the prices or not?

    3) Product is added to the cart if you change the q-ty https://gyazo.com/f667a90bc7bbd1b70f840104e7cfd30d
    If plugin WooCommerce Advanced Quantity plugin is disabled Add to cart works even if you don’t change the q-ty. So, contact plugin author to find out why add to cart does not work without changing the q-ty.

    Regards

    Avatar: WAHAB
    WAHAB
    Participant
    October 7, 2020 at 18:23

    Ok Thank you

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

The issue related to '‘products not add to cart when user not logged in’' has been successfully resolved, and the topic is now closed for further responses

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.