Skip to content

Instantly share code, notes, and snippets.

@jagels
Created March 14, 2017 09:45
Show Gist options
  • Save jagels/6df339d0987f53e6f9fbeb3ca361b358 to your computer and use it in GitHub Desktop.
Save jagels/6df339d0987f53e6f9fbeb3ca361b358 to your computer and use it in GitHub Desktop.
Add text field above "Proceed to checkout" button on the cart page in WooCommerce
//Add shipping info above the proceed to checkout button
add_action('woocommerce_proceed_to_checkout', 'jagels_custom_checkout_field');
function jagels_custom_checkout_field() {
echo '<p><small>Levering innen 2-5 virkedager.</small></p>';
}
@akhan522
Copy link

How to add text below the proceed to checkout?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment