欢迎各位兄弟 发布技术文章
这里的技术是共享的
然后打开模板文件目录下的flow.dwt文件
搜索
<div class="flowBox">
<h6><span>{$lang.shipping_method}</span></h6>
修改为
<div class="flowBox" style="display:none">
<h6><span>{$lang.shipping_method}</span></h6>
搜索
<input name="shipping" type="radio" value="{$shipping.shipping_id}" {if $order.shipping_id eq $shipping.shipping_id}checked="true"{/if} supportCod="{$shipping.support_cod}" insure="{$shipping.insure}" onload="selectShipping(this)" checked="checked" />
修改为
<input id="shipping" name="shipping" type="radio" value="{$shipping.shipping_id}" {if $order.shipping_id eq $shipping.shipping_id}checked="true"{/if} supportCod="{$shipping.support_cod}" insure="{$shipping.insure}" onload="selectShipping(this)" checked="checked" />
修改完成之后 在文件底部加入
<script>
onload=selectShipping(document.getElementById('shipping'));
</script>
结束后清除缓存尝试