Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter simplewebs13

    (@simplewebs13)

    Yes, I added the code to the functions.php file and search for the payment.php inside the woocommerce template files. Didn’t work.

    But, after adding the code the the functions.php file and editing the template file, disabling the Square-WooCommerce plugin, the button text changed. Enabled the plugin, the button changed back to default.

    Even showing the incorrect button text with the code and template file changed, the page source shows the changed button text but only in the code, not on the actual button.

    Thread Starter simplewebs13

    (@simplewebs13)

    I have tried those suggestion without any success, multiple times. I have read several articles with no success. It has something to do with WooCommerce and Square blocking that button text… no getting around it!

    Thread Starter simplewebs13

    (@simplewebs13)

    Here is a like to the screenshots:

    https://bemealprep.com/screenshots/

    Thread Starter simplewebs13

    (@simplewebs13)

    I am using a custom build, using html5blank. I use this structure for all my projects and have the same issues with all of them.

    My question was, how do you change the WooCommerce Square checkout button text from “Place order” to “Something Else”?

    I added code in the functions.php page and it does not seem to change anything while the Square plugin is enabled.

    // change Place Order button text on checkout page
    add_filter('woocommerce_order_button_text','custom_order_button_text',1);
    
    function custom_order_button_text($order_button_text) {
    	$order_button_text = 'Complete Checkout';
    	return $order_button_text;
    }

    Not sure how to add the screenshots here but will try.

    • This reply was modified 4 years, 5 months ago by simplewebs13.
Viewing 4 replies - 1 through 4 (of 4 total)