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
1 Answer
Reset to default 1Copy
\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
评论列表(0条)