0

i want to add a button to the font end.

Please help. enter image description here

0

You can write the below code to your active theme's functions.php to achieve this:

// define the woocommerce_before_checkout_billing_form callback 
function action_woocommerce_before_checkout_billing_form( $wccs_custom_checkout_field_pro ) { 
    // Write your button code or any html here.... 
}; 

// add the action 
add_action( 'woocommerce_before_checkout_billing_form', 'action_woocommerce_before_checkout_billing_form', 10, 1 ); 
| improve this answer | |
  • it does not seem to work :( – swatch360 Jun 9 at 12:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.