woocommerce checkout fields can’t be modified

Hello, I’m having difficulty modifying woocommerce checkout fields I wanted to change “place order” button text to Submit, and also remove “add note to your order” checkbox, as well as removing department and address fields I have used several plugin including storecustomizer to modify those fields, but after I made those changes and published it nothing seems to work. I also add the following code on function.php but nothing seems to work.

// Replace Place Order Button with Static Text in WooCommerce 
add_filter( 'woocommerce_order_button_text', 'ql_replace_place_order_button_text' );
function ql_replace_place_order_button_text() {
   return 'submit'; 
}

I don’t know what might prevent the woocommerce checkout fields from modifying.

please help your responses will be really appreciated. Thank you.

  • This topic was modified 5 hours, 20 minutes ago by Jennifer.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer