问题描述
我使用以下代码
add_filter('woocommerce_form_field','mmodify_wc_checkout_page',10,4);
function mmodify_wc_checkout_page($field,$key,$args,$value = null) {
switch ($key) {
case 'billing_postcode':
return '<p class="form-row form-row-wide" id="main_heading" data-priority="35">'.wc_cart_totals_shipping_html().'</p>'. $field;
break;
default:
return $field;
break;
}
}
并且运输选项显示在顶部
是否可以在字段之间的帐单明细中显示运输选项?如何显示? 谢谢!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)