Using woocommerce_checkout shortcode for single page, can’t checkout
-
I’m building a custom process for a client to accept donations on their site. It’s all done on one page. In the template, depending on what “page” the user is on, I show different template parts. If on page 3, the payment page, I show the [woocommerce_checkout] shortcode. The first time through, it works fine. But if you have errors, like missing a required field, the cart portion and the payment methods show the loading icon forever when the page reloads to show errors, and you can’t checkout even if you fix the errors.
I have code in functions.php to change the checkout URL to this page to keep it in the single page application, otherwise it was going to the home page.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Using woocommerce_checkout shortcode for single page, can’t checkout’ is closed to new replies.