Viewing 2 posts - 1 through 2 (of 2 total)
  • #92260
    Nickylew
    Member
    Post count: 35

    Hi,

    I am struggling to over ride the button text on the checkout page. I need to change this from ‘Place order’ to ‘Submit Enquiry’.

    I have amended other buttons by using child theme and over riding text for those buttons. But for some reason the Place Order button is not playing ball.

    Can you advise me on how I can override this? Maybe with a function or by amending the form-pay.php file.

    Many Thanks

    #92389
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    please try this code bellow. Add it to the functions.php of your child theme.

    
    	add_filter(  'woocommerce_order_button_text','custom_change_place_order_text');
    	
    	function custom_change_place_order_text(){
    		return __( 'Submit Enquiry', 'woocommerce' );	
    	}

    – Rui

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register