WooCommerce rename “Free Shipping” field on checkout

你离开我真会死。 提交于 2019-12-11 22:18:44

问题


We have included shipping costs into the cost of the individual products. As such we enabled free shipping, but we want to rename "Free Shipping" text which appears on checkout to say "Shipping Included In Cost of Product" or something similar to that. I don't really know how to create a filter to do this .

I found the verbiage in woocommerce/classes/shipping/free-shipping/class-wc-shipping-free-shipping.php

I also found http://docs.woothemes.com/document/hooks/ but again I don't really know the proper code to create an action / hook to change this text via my functions.php file.

Here is a screen shot to the area of the template I am referring to - http://cl.ly/image/0i311G3Y163E


回答1:


    goto => 
 Dashboard =>
 woocommerce => 
 settings =>
 Shipping =>
 Free shipping => 
  Method Title - Change here 


来源:https://stackoverflow.com/questions/19139124/woocommerce-rename-free-shipping-field-on-checkout

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!