This topic has 5 replies, 2 voices, and was last updated 5 years, 3 months ago ago by Olga Barlow
Hey,
I googled some code snippets for a redirect to the checkout after the add-to-cart click but they didn’t work. So I guess the theme has some own handling for it? Any code for me to use in the functions.php to make it happen`?
Forgot to say we are using babyland theme. And it seems the “add-to-cart” button stays ajax no matter what we switch on or off. On a single product page the redirect will work. Is the button changeable ?
Hello,
You can disable the Ajax add to cart on the single product page in Theme Options > Single Product. Neither our theme or WooCommerce have option to redirect to checkout but there is option to redirect to cart, go to WooCommerce > Settings > Products http://prntscr.com/p5eko7
Regards
Hello,
yeah I know I can disable it on a single cart page but the problem is that the button you have on your theme used in the “shop pages” is an ajax one who does not respond to this option. It’s a fixed “slider swiper”-whatever button…
Also it’s just for simple products we use variable products
Hello,
WooCommerce has option to disable the Ajax add to cart on the shop page http://prntscr.com/p5pwh2 but WPBakery plugin affects this option and does not allow to disable Ajax no matter is option is enabled or disabled. Somebody reported about this long time ago https://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431/comments?page=807&filter=all#comment_16729393 but looks that have not fixed this yet. We contacted them again to get fix. I’ll inform you once we get any helpful answer. So, it’s not our theme issue but WPBakery plugin bug.
Regards
You must be logged in to reply to this topic.Log in/Sign up