Your account expired support, please renew to get your support.

HomePage Forums Themes Support Bookory – Book Store WooCommerce Theme Add-to-cart URL doesn’t work as expected

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #35988
    TheEscape94
    Support Expired

    The issue is that the “Add to cart” URL doesn’t work.
    For example if I try to do “<mysite>/?add-to-cart=123” product with ID 123 is not added to the cart while “Add to cart” Ajax event is working fine.

    When I disable the Bookory theme and enable one of the default themes, add-to-cart URL is working fine. It seems that something from the Bookory theme is preventing URL request.

    Steps to reproduce:

    1. Go to test site and find product ID
    2. Add /?add-to-cart={productID} or /checkout/?add-to-cart={productID} to URL after site domain
    3. Expected result is to have product in cart in first case and to have it in the cart and redirect to CO page in the second case.

    Thanks in advance,
    Best regards

    • This topic was modified 7 months, 3 weeks ago by Billy Nguyen.
    #36007

    Hello,

    I fixed this issue, please recheck your site.

    #36115
    TheEscape94
    Support Expired

    Everything is working fine now.

    Thank you so much!

    Best regards

    #36120

    You are welcome!

    Let me know if you need to help and hope you will vote 5* for our theme.

    Thanks./

    #36122
    TheEscape94
    Support Expired

    Hi Billy,

    Yes, I will vote.

    Unfortunately I faced new issue related to the fix.
    After updating Woocommerce plugin I am getting this:

    Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class “WC_Form_Handler” not found in wp-includes/class-wp-hook.php:308

    WC_Form_Handler class you used in the fix can’t be found somehow :/

    It was working perfectly before WooCommerce plugin latest update.

    Can you please take a look quickly?

    Thanks in advance!

    #36123
    TheEscape94
    Support Expired

    Hi Billy,

    Please forget my previous msg. Something went wrong on my side.

    Everything is fine!

    Best regards!

    #36126

    Ok, Good job!

    #38468
    tangerfes007
    Support Expired

    Hello,
    I have the same problem

    #38472

    We have migrated to a new support system here https://pavothemes.ticksy.com/
    We have stopped supporting the tickets you sent here and only support this new ticket system.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.