php - How to rename woocommerce-billing-fields

I'm interested in how you could rename the "billing & shipping" and "your order" fields mar

I'm interested in how you could rename the "billing & shipping" and "your order" fields marked in the image.

Thank you in advance for your help.

I'm interested in how you could rename the "billing & shipping" and "your order" fields marked in the image.

Thank you in advance for your help.

Share Improve this question asked Jun 6, 2020 at 8:38 Marko PopovicMarko Popovic 92 bronze badges 1
  • It depends on the code. We are unaware of the theme that you are using. But I feel this will be in one of the checkout files. Copy them to the child theme and override the names. – m4n0 Commented Jun 6, 2020 at 12:47
Add a comment  | 

1 Answer 1

Reset to default 1

Copy

\woocommerce\templates\checkout\form-billing.php

and

\woocommerce\templates\checkout\form-checkout.php

to

\yourtheme\woocommerce\checkout\form-billing.php

find this code <h3><?php _e( 'Billing & Shipping', 'woocommerce' ); ?></h3> in form-billing.php and <h3 id="order_review_heading"><?php esc_html_e( 'Your order', 'woocommerce' ); ?></h3>

and make the necessary changes .

Hope you are not doing this for anything regarding to I18n.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742370750a4431212.html

相关推荐

  • php - How to rename woocommerce-billing-fields

    I'm interested in how you could rename the "billing & shipping" and "your order" fields mar

    21小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信