php - Personalize checkout text

admin2025-06-02  3

I would like to hide some of the text in the checkout page: billing details, Order notes (optional) and product/total row in "your order" section.

I am able to remove the input fields, but I cant find a way to remove the text. Any help will be very appreciated.

I would like to hide some of the text in the checkout page: billing details, Order notes (optional) and product/total row in "your order" section.

I am able to remove the input fields, but I cant find a way to remove the text. Any help will be very appreciated.

Share Improve this question asked Mar 5, 2019 at 17:22 RoastyRoasty 52 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

If you look at the WooCommerce docs, you'll see that you can override template parts by having a replacement file in a woocommerce folder in your theme. A lot of the text you're talking about is hardcoded into woocommerce > templates > checkout > review-order.php Copy that file and modify as needed. Normally I would advocate for trying to use filters instead of duping the template file but I think there's going to be a few things you will have to do in that template file to accomplish what you need.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748839465a314154.html

最新回复(0)