HomePage › Forums › Themes Support › Bookory – Book Store WooCommerce Theme › Add-to-cart URL doesn’t work as expected
- This topic has 8 replies, 3 voices, and was last updated 4 months ago by Billy Nguyen.
-
AuthorPosts
-
June 29, 2023 at 5:04 pm #35988TheEscape94Support 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 10 months ago by Billy Nguyen.
June 30, 2023 at 4:25 pm #36007Hello,
I fixed this issue, please recheck your site.
July 4, 2023 at 4:34 pm #36115TheEscape94Support ExpiredEverything is working fine now.
Thank you so much!
Best regards
July 4, 2023 at 4:52 pm #36120You are welcome!
Let me know if you need to help and hope you will vote 5* for our theme.
Thanks./
July 4, 2023 at 4:55 pm #36122TheEscape94Support ExpiredHi 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!
July 4, 2023 at 4:59 pm #36123TheEscape94Support ExpiredHi Billy,
Please forget my previous msg. Something went wrong on my side.
Everything is fine!
Best regards!
July 4, 2023 at 5:27 pm #36126Ok, Good job!
December 24, 2023 at 6:36 pm #38468tangerfes007Support ExpiredHello,
I have the same problemDecember 28, 2023 at 8:50 am #38472We 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. -
AuthorPosts
You must be logged in to reply to this topic.