Advertisement
MilanBozic

WC Proceed to Checkout change snippet

Oct 4th, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. function woocommerce_button_proceed_to_checkout() {
  2. $checkout_url = WC()->cart->get_checkout_url(); ?>
  3. <a href="<?php echo $checkout_url; ?>" class="checkout-button button alt wc-forward"><?php _e( 'PAY BY CHECK', 'woocommerce' ); ?></a>
  4. <?php }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement