如何将WordPress+WooCommerce网站结账页的“Place Order”改为“Book”
Hey there! Let's get that checkout button text updated from "Place Order" to "Book" for your WordPress/WooCommerce site (www.osdoc.in). Below are three solid methods you can pick from, based on how comfortable you are with code or plugins:
Method 1: Use a Code Snippet (Recommended, Plugin-Free)
This is the most lightweight approach—no extra plugins needed. You can add this code either to your child theme's functions.php file, or use a dedicated code snippets plugin (like Code Snippets) to avoid losing changes when your theme updates.
Add this code:
add_filter( 'woocommerce_order_button_text', 'custom_checkout_button_text' ); function custom_checkout_button_text() { return __( 'Book', 'woocommerce' ); }
Just paste that in, save, and your checkout button will show "Book" instead of "Place Order".
Method 2: Use a Translation Plugin
Since WooCommerce stores most text strings in translation files, you can use a plugin like Loco Translate to override the default text without touching code:
- Install and activate Loco Translate from your WordPress dashboard.
- Go to Loco Translate → Plugins and select "WooCommerce".
- Choose your site's primary language (e.g., English) and click "Edit".
- Use the search bar to find the string "Place Order".
- Replace the translation field with "Book", then save your changes.
Method 3: Check Your Theme's Custom Options
Some premium WooCommerce-compatible themes include built-in options to customize checkout button text. Head over to Appearance → Customize and look for sections like "WooCommerce" or "Checkout Settings"—you might find a simple field to update the button label there.
Quick Notes
- Always back up your site before making code changes or installing new plugins, just to be safe.
- If you're using a child theme, never edit the parent theme's
functions.php—stick to the child theme's file to preserve changes during theme updates.
内容的提问来源于stack exchange,提问作者Abhilash

