php - 在 Woocommerce 结帐中将 "Local Pickup"文本更改为其他内容

标签 php wordpress woocommerce shipping-method

<分区>

我的结帐目前看起来像这样,在 woocommerce 后端启用了“本地取件”:

enter image description here

是否可以将其更改为例如“从我们的商店取货”?

“运输”部分的源代码是:

<tr class="shipping">
    <th>Shipping</th>
    <td data-title="Shipping">
                    <ul id="shipping_method">
                                    <li>
                        <input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_flat_rate1" value="flat_rate:1" class="shipping_method"  />
                                <label for="shipping_method_0_flat_rate1">Standard: <span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#x62f;.&#x625;</span>30.00</span></label>                 </li>
                                    <li>
                        <input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_local_pickup2" value="local_pickup:2" class="shipping_method"  checked='checked' />
                                <label for="shipping_method_0_local_pickup2">Local pickup: <span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#x62f;.&#x625;</span>0.00</span></label>                   </li>
                            </ul>


            </td>
</tr>

提前致谢!

最佳答案

你可以直接从

Woocommerce => Settings => Shipping Zones => Edit(您需要更改的区域名称)=> Shipping Methods => Edit (Local Pickup) => 根据需要更改标签,一切就绪。

关于php - 在 Woocommerce 结帐中将 "Local Pickup"文本更改为其他内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53527284/

相关文章:

php - 我如何在 laravel 5 中使用哨兵?

php - redis 连接成功后数据未投递到 redis

php - WooCommerce:将产品属性添加到产品中的现有属性

jquery - Fancybox 导航箭头和关闭按钮没有透明悬停

php - 用短代码替换 Woocommerce Storefront header

php - Woocommerce 中的自定义购物车商品重量

php - GLOBALS 和 GLOBAL 有什么区别?

php - MySQL 在事务中重置 AUTO_INCREMENT

html - SEO 房地产上市网站 - 索引和链接到 CSS/JS

php - 避免在 WooCommerce 结账时进行计费电话验证