Added to cart popup although product is out of stock

This topic has 10 replies, 3 voices, and was last updated 8 years, 3 months ago ago by Robert Hall

  • Avatar: Royalty
    Royalty
    Participant
    August 10, 2016 at 19:51

    Hello,
    if a product is out of stock, the add to cart button is grayed out. If I click on it anyway, there is a popup that says that this article is out of stock (I guess this comes from woocommerce). Ok, if I close this window there comes the theme’s popup that says that the item was successfully added to the cart. If I go then to the cart page, it says that the product could not be added because it is out of stock. Is this a bug? Could you please tell me how to fix it?
    Please find a link to a out of stock product on my testpage in private content.

    Many thanks in advance!

    Please, contact administrator
    for this information.
    9 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 11, 2016 at 08:38

    Hello,

    If you check our demo theme with ‘out of stock’ product you’ll see there is no ‘add to cart’ button.
    http://preview.themeforest.net/item/royal-multipurpose-wordpress-theme/full_screen_preview/8611976?_ga=1.174503205.681062579.1435240635

    What theme version you’re using? Should be the latest 2.7.2 version. If no please update and check issue.

    Before update delete “woocommerce” folder in the directory wp-content/themes/royal/ and it’ll be reuploaded from a new theme package.

    Don’t forget to make backup of the site before update.

    Regards,
    Robert Hall

    Avatar: Royalty
    Royalty
    Participant
    August 11, 2016 at 08:58

    I use latest version of everything. All plugins and theme. I reuploaded the whole themefolder. Maybe the problem only exists for variable products. Woocommerce came up with the greyed out add to cart button just recently. Could you please check with a variable product?
    Many thanks!

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 11, 2016 at 09:20

    Seems there is a bug with variable products.
    We’ve sent a request to our developers and they will fix it in the next theme update.

    Also you can disable the Ajax “Add To Cart” option in Theme Options->Single Product Page.

    Regards,
    Robert Hall

    Avatar: Royalty
    Royalty
    Participant
    August 11, 2016 at 09:49

    Ok thank you! Looking forward for the fix!

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 11, 2016 at 10:34

    You’re welcome!

    Regards,
    Robert Hall

    Avatar: Royalty
    Royalty
    Participant
    August 25, 2016 at 16:24

    The changelog of verison 2.7.3 says that this is fixed, but I just updated and the bug is still there :/

    Avatar: Eva
    Eva Kemp
    Support staff
    August 25, 2016 at 19:09

    Hello,

    Try to delete “woocommerce” folder in the directory wp-content/themes/royal/ and reupload it from a new theme package.

    Regards,
    Eva Kemp.

    Avatar: Royalty
    Royalty
    Participant
    August 25, 2016 at 20:44

    Forget it, I made a little mistake – it works 🙂

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 26, 2016 at 07:18

    Hello,

    We’re glad to hear that issue was solved.
    If you have any questions feel free to contact us.

    Regards,
    Robert Hall

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

The issue related to '‘Added to cart popup although product is out of stock’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service

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.