Created
March 14, 2017 09:45
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to add text below the proceed to checkout?