Change “Request Quote” Text to “Submit Order”
-
Hello,
I would like to say thank you for your answer with my last inquiry.
This time I’d like to ask of how to change the “Request Quote” button text to change.
I’ve already changed it in the quotes-commerce.php but for some reason it’s just not reflecting.
I’ve also added the following in my functions.php
function woo_custom_order_button_text() { return __( 'Submit Order', 'woocommerce' ); } /** * Modify the Add to Cart button text based on settings. * @since 1.0 */ function qwc_change_button_text() { global $post; $post_id = $post->ID; // check if setting is enabled $enable_quote = product_quote_enabled( $post_id ); if ( $enable_quote ) { $cart_text = __( 'Submit Order', 'quote-wc' ); } else { $cart_text = __( 'Add to Cart', 'quote-wc' ); } return $cart_text; }The woocommerce one did change, but it’s still on Request Quote… Is there any other way to override the text?
The page I need help with: [log in to see the link]
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
The topic ‘Change “Request Quote” Text to “Submit Order”’ is closed to new replies.