Site icon Experience Wordpress Developer Online – Design Develop and Maintenance Support

Change “Proceed to Checkout” text in WooCommerce Cart page

In WooCoomerce, When you click on “Add to cart” of specify product which you want to buy, it will redirect to cart page. In cart page you can see “Proceed to checkout” button at the bottom of the page. If you want to change “Proceed to Checkout” text in WooCommerce Cart page than here is code.

Add below line of code in your theme’s functions.php file of your active child theme (or theme) and save the file.


function woocommerce_button_proceed_to_checkout() {
       $checkout_url = WC()->cart->get_checkout_url();
       ?>
       <a href="<?php echo $checkout_url; ?>" class="checkout-button button alt wc-forward"><?php _e( 'Check On Out', 'woocommerce' ); ?></a>
       <?php
       }
Exit mobile version