Conditionally customizing WooCommerce checkout fields

后端 未结 3 2041
情书的邮戳
情书的邮戳 2021-02-11 09:44

I am trying to modify WooCommerce check out fields. There are two points I want to reach.

  1. Conditional fields

    I want to make conditional fields for differe

3条回答
  •  旧巷少年郎
    2021-02-11 09:57

    You've missed quote around "shipping_type" on this line :

    $("input[name='shipping_type'").on("change",function(){
    

    If this fix's not working : do you have error in the javascript console ?

提交回复
热议问题