Support » Plugin: Custom Checkout Fields for WooCommerce » Pre-Sale Question – Conditional Checkout Fields?

  • Resolved jchambo

    (@jchambo)


    Greetings – does this plugin have conditional checkout field options?

    Ex.) Someone selects “Yes” or “No” from a Radio Button, then another field shows up / is now shown from being hidden, and asks for additional information.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Algoritmika Ltd

    (@algoritmika)

    Hi @jchambo,

    Yes, that’s possible. There is “By another field” option in each custom field’s “Visibility Options” settings. You need to set it to another field’s ID. For example, if you want that custom field to be shown only if the billing phone is not empty, you should set our option to billing_phone.

    Please give it a try and let me know if you have any questions/comments.

    Thread Starter jchambo

    (@jchambo)

    Is there any way to align items horizontally, not vertically? For example, if you create a new Radio Button, it puts the options in a vertical format, not horizontal.

    Thanks!

    Plugin Author Algoritmika Ltd

    (@algoritmika)

    Hi @jchambo,

    You should be able to achieve that with CSS. Please try adding this to “Customize > Additional CSS”:

    .woocommerce-checkout label.radio {
        display: inline;
    }
    Plugin Author Algoritmika Ltd

    (@algoritmika)

    P.S. You may also want to add a margin after the labels, i.e.:

    .woocommerce-checkout label.radio {
        display: inline;
        margin-right: 10px;
    }
    Plugin Author Algoritmika Ltd

    (@algoritmika)

    I’m going to mark this thread as “resolved” for now, hope that’s ok. Please let me know if there are still any questions/issues.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pre-Sale Question – Conditional Checkout Fields?’ is closed to new replies.