On the flip side of having hundreds or thousands of products, you may only have one product, at which point the cart becomes pretty useless. In that case, you can actually have a customer skip right over the cart and land on your checkout page. It's one less step the customer has to make and keeps them focused on checking out rather than cruising the site, which should increase conversions.
We have covered a similar recipe, Skipping the cart and going straight to checkout, in Chapter 7, Modifying the Checkout Process, which uses code instead of a plugin.
This is a feature a lot of store owners have asked for, so there are several prebuilt solutions out there. We'll be using a plugin from WordPress.org that is quite straightforward and simple with no options, named Skip Cart WooCommerce.
At the time of writing, there is a PHP warning in this plugin. It will most likely be fixed by the time of publication. They aren't serious issues, so you can simply hide the warnings by disabling WP_DEBUG
in your config
file. For more information, refer to http://codex.wordpress.org/WP_DEBUG.
You may notice that the button says Add to Cart, but there technically isn't a cart. If you wanted, you could change the product button to Checkout or something similar. This can be achieved with some code snippets available at WooThemes.com. For more information, refer to http://docs.woothemes.com/document/change-add-to-cart-button-text/.