• Resolved hashimsamnan

    (@hashimsamnan)


    what i’m trying to do is , once i select pickup option , customer address information fields will be hide which it is not logical to keep it appear and mandatory if pickup from restaurant selected. We Only Need Name and Mobile number.i tried some coding.But it is not working.Can You Suggest me the code to enable this

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP Scripts

    (@wpscripts)

    Hello,

    You can check this article. You will get a list a all fields here. By checking the cookie value of “service_type” you can unset the required fields. Hope, this helps.

    Regards,
    Team WP Scripts

    Thread Starter hashimsamnan

    (@hashimsamnan)

    Sorry i didn’t get that. i found the cookie value of “service_type.but were to implement that

    • This reply was modified 3 years, 9 months ago by hashimsamnan.
    Plugin Author WP Scripts

    (@wpscripts)

    Hello @hashimsamnan

    Sorry for the inconveniences. You said you were trying some coding so I just guided you. You can get this done with some custom work. For paid support please reach us at [email protected].

    Thanks & Regards,
    Team WP Scripts

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WooCommerce checkout show/hide fields based on Pickup or Delivery’ is closed to new replies.