How to Increase WooCommerce Variation ...
By default, WooCommerce only loads 30 variations on the front-end for variable produc...

WPCodeBox
442

After adding a product to the cart, automatically redirect customers to the checkout page in WooCommerce. This snippet is useful for stores selling a single product or streamlining the purchase process.
<?php
add_filter ('add_to_cart_redirect', function () {
global $woocommerce;
return $woocommerce->cart->get_checkout_url();
});





