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

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /homepages/34/d189745708/htdocs/enote/engine/core/seo-ping.php on line 31

Warning: fsockopen(): unable to connect to (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /homepages/34/d189745708/htdocs/enote/engine/core/seo-ping.php on line 31