Hi,
For legal purposes, I need to add a tick box for customers to accept the legal mentions at checkout. So far with Woocommerce settings, there is just a single option text available redirecting to any privacy page or whatsoever.
To do so, I will have to add some lines in the functions.php because the checkbox must be checked by the user before payment can be made. So my question is: Can I change the order button text in functions.php of my child theme with no fear with this code snippet:
add_filter( ‘woocommerce_order_button_text’, ‘custom_order_button_text’ );
function custom_order_button_text( $button_text ) {
return ‘Pay now’;
}
Will this change be up and still running after new theme updates?
Thanks a lot for your help!