Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1434851

    When I am on a single product page and add the first product to the cart, the icon flashes “1” but then it is gone and it says “No product in the cart” even though there is one. Once I add a second item to the cart it seems to fix itself, it shows any new products added immediately.

    I am not using ALB for the product page and I do not have any customizations to woocommerce.

    When I am on a product category page and click “add to cart” it does show the first item in the cart icon count immediately.

    When I am on the cart page and remove all the items from the cart, the cart icon still has the count that loaded on the page originally, even though there are no products left in the cart.

    I deactivated all the plugins that were not woocommerce and the issue still occurs.

    Thanks,
    Renita

    #1435157

    This is happening on more than one of my sites. Any insight as to why?

    #1435244

    Hi,
    Thanks for your patience, I see this on your site, and I note that adding multiple items from the same product page doesn’t show the product count, it will only show if you go to another product or the cart page. I’m not able to reproduce this on our demo page, so perhaps this is a plugin conflict, try disabling all of your plugins, including cache and If that resolves the issue, reactivate each one individually until you find the conflict.

    Best regards,
    Mike

    #1435254

    I tried disabling all the plugins before posting the topic. That did not resolve it. I do not have a caching plugin and I am not using the caching settings built into the theme. So I don’t think that is the issue. Just in case I tried it in an incognito tab and cleared caches. It still did not work.

    #1435359

    Hi,
    Thanks, I see your site is using PHP v7.4.33, try updating to v8 and check again.

    Best regards,
    Mike

    #1435519

    I updated the PHP version and tried again. it still is happening.

    #1436149

    Hi,
    Thanks for your patience, I asked the rest of the team for ideas about this but we didn’t have any and we are not able to reproduce this on our test sites, but I check your site again and noticed that the add to cart buttons on the page linked below work correctly and the item shows in the cart icon without reloading the page.
    But when you go to one of the product pages the add to cart button works at first but then quickly the page reloads which clears the cart icon. I believe it is this reloading of the page that causes the error, on our demo site the page doesn’t reload when you add a item to the cart.
    Do you have any scripts that have a onclick function that might cause the page to reload?
    I was not able to login and check.

    Best regards,
    Mike

    #1436155

    I appreciate you continuing to look into this. I don’t know of any scripts. I put more info in the private content section. Let me know if you are able to login with that. Renita

    #1436168

    Hi,
    Thanks, I was able to login but didn’t find anything that might cause this.

    Best regards,
    Mike

    #1491979

    We have the same problem! Is there a solution?

    #1491984

    We have deactivated all plugins. There must be an issue occurring between WooCommerce and Enfold.

    #1491991

    Hi timreimann,

    Please open a new thread and include WordPress admin login details in private, so that we can have a closer look at your site.

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘First product not showing in the cart icon count’ is closed to new replies.