Discovering what life is about



Woocommerce add to cart button redirect to checkout :

How to send customers directly to checkout page, instead of adding items to chart ?


you can use a filter in functions.php:


add_filter ('add_to_cart_redirect', 'redirect_to_checkout');


function redirect_to_checkout() {

global $woocommerce;

$checkout_url = $woocommerce->cart->get_checkout_url();

return $checkout_url;



Ref :






Credit card logos for e-commerce buttons :




Nice plugin :


his plugin installs a shopping cart button in the navigation bar. The plugin takes less than a minute to setup, and includes the following options:


Display cart icon, or only items/prices.

Display items only, price only, or both.

Display always, or only when there are items in the cart.

Float left, float right, or use your menu's default settings.

Customize your own CSS



Categories : Online business    Themes : e-commerce Marketing Monetization
Share |
add a comment...

0 Comment

Leave a Comment