答案 0 :(得分:0)
您需要更改文件woocommerce/templates/checkout/form-checkout.php
第55行
更改<h3 id="order_review_heading"><?php _e( 'Your order', 'woocommerce' ); ?></h3>
您对物品的订单
<h3 id="order_review_heading"><?php _e( 'Your Item', 'woocommerce' ); ?></h3>
谢谢
答案 1 :(得分:0)
我可以通过更改 wp-content / themes / yourselectedtheme / inc / woocommerce / template-tags.php
中的以下代码来更改文本if( ! function_exists( 'unicase_review_wrapper_start' ) ) {
function unicase_review_wrapper_start() {
?>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingFour">
<h3 class="panel-title">
<a data-toggle="collapse" href="#collapseFour" aria-expanded="true" aria-controls="collapseFour">
<?php
if ( !is_user_logged_in() && 'yes' === get_option( 'woocommerce_enable_checkout_login_reminder' ) && WC()->cart->coupons_enabled() ) {
?>
<span>5</span>
<?php
} elseif ( is_user_logged_in() && WC()->cart->coupons_enabled() ) {
?>
<span>2</span>
<?php
} else{
?>
<span>2</span>
<?php
}
?>
<?php esc_html_e('YOUR ITEM (**************)' , 'unicase'); ?></a>
</h3>
</div>
<div id="collapseFour" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingFour">
<div class="panel-body">
<?php
}
}