How it Works
The normal WooCommerce flow is:
- Customers go to the single product
- Click add to cart
- Go to the cart page
- And only then go to checkout
My “Checkout Specific Products for WooCommerce” allows to alter this whole process and simplify it to just one simple step.
- Customers go to a page which at the same time contains both the product description and the checkout!
How to Use
In order to use the plugin first of all you have to decide what page are you going to use as a custom checkout page for specific product(s). Once you do that, add
[woocommerce_checkout] shortcode to this page (or maybe a checkout Gutenberg block) and specify the product (or variation) IDs within a meta box or post settings.
For Gutenberg block editor:
For Classic Editor:
Where to get a product ID?
Yes, I know, I could make a search field with a dropdown product list inside the meta box, but my main goal was to make the plugin as simple and fast as possible.
So I decide that it is ok to specify product IDs manually. It is not that difficult to just open All Products page and find the IDs there.
Where to get a variation ID?
Variable products are also supported but in this case you have to pass a variation ID.
How to allow only specific post types for a custom checkout
It can be easily done in plugin settings.