复选框以选择购物车和结帐时缺少的运输方式

时间:2019-04-28 06:22:06

标签: woocommerce checkout options shipping

请在Woocommerce的结帐和购物车页面上,未显示用于选择运送方式的复选框,但在浏览器中查看时,其html在源代码中可用。如何显示它,以便人们可以在购物车页面或结帐处选择他们喜欢的送货方式

<tr class="woocommerce-shipping-totals shipping">
<th>Shipping</th>
<td data-title="Shipping">
                <ul id="shipping_method" class="woocommerce-shipping-methods">
                                <li>
                    <input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_flat_rate1" value="flat_rate:1" class="shipping_method"  checked='checked' /><label for="shipping_method_0_flat_rate1">VIP Post: <span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#x20b5;</span>&nbsp;80.00</span></label>                  </li>
                                <li>
                    <input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_local_pickup3" value="local_pickup:3" class="shipping_method"  /><label for="shipping_method_0_local_pickup3">Local pickup</label>                   </li>
                                <li>
                    <input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_flat_rate11" value="flat_rate:11" class="shipping_method"  /><label for="shipping_method_0_flat_rate11">DHL: <span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#x20b5;</span>&nbsp;100.00</span></label>                 </li>
                                <li>
                    <input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_flat_rate12" value="flat_rate:12" class="shipping_method"  /><label for="shipping_method_0_flat_rate12">EMS: <span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#x20b5;</span>&nbsp;120.00</span></label>                 </li>
                        </ul>


        </td>

0 个答案:

没有答案