隐藏/显示基于购物车总数的送货方式WooCommerce

时间:2018-04-01 11:32:48

标签: php wordpress woocommerce shipping

我需要帮助您根据购物车总金额删除送货方式。例如,如果购物车总计350美元,我想显示不同的送货方式,并隐藏其他货物。

我现在有3种送货方式

  1. 统一费率低于350
  2. 如果购物车总数超过350
  3. ,则为条件
  4. 如果购物车总数超过600
  5. ,则有条件

    统一运费ID =" 1"

    条件1:

    <input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_3012" value="3012" class="shipping_method">
    

    条件2:

    <input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_3009" value="3009" class="shipping_method">
    

    Live site

    Screenshot

0 个答案:

没有答案
相关问题