Button Text
-
I am trying to change the text on the “Place order” button to say “CONTINUE” instead. I have placed this on funtions.php:
add_filter( ‘woocommerce_order_button_text’, ‘woo_custom_order_button_text’ );
function woo_custom_order_button_text() {
return __( ‘CONTINUE’, ‘woocommerce’ );
}But the button text does not change. When I inspect the source, this is what I see:
<button type=”submit” class=”button alt” name=”woocommerce_checkout_place_order” id=”place_order” value=”CONTINUE” data-value=”CONTINUE”>Place order</button>
What can I do to make the text change? The theme is called ‘Honor’
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.