• Resolved Nick Lewis

    (@nickylew)


    Hi,

    I have re-ordered the form fields within the Checkout Billing fields, moving the email field to the be the first input.

    I would like to re-position the Mailchimp signup checkbox/text to sit underneath the email field at the top of the form.

    How can I use hooks with your plugin to achieve this?
    Is it possible with your plugin?

    Many thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey Nick,

    Can you please let us know the code you used to place the email field first?

    Thread Starter Nick Lewis

    (@nickylew)

    I’ve actually used this plugin to re-order the fields.
    Woo Checkout Field Editor Pro – https://en-gb.www.ads-software.com/plugins/woo-checkout-field-editor-pro/

    But, I could equally use some code within functions.php.
    Something like this:

    add_filter( 'woocommerce_billing_fields' , 'woocommerce_billing_fields_custom' );
    
    function woocommerce_billing_fields_custom( $fields ) {
      $fields['billing_email']['priority'] = 1;
    
      return $fields;
    }

    But the reason I am using the plugin is that it makes things nice and easy to move the fields and amend the labels/placeholder texts without writing out different functions myself.

    Thread Starter Nick Lewis

    (@nickylew)

    Hi there,

    Any thoughts on this at all? Would really like to be able to implement this on a site I’m building.

    Many thanks

    Plugin Contributor Lap

    (@lapzor)

    I’m not sure how Woo Checkout Field Editor Pro and if you will be able to move the checkbox with that plugin, it’s maybe better to ask them for support with that.

    Maybe you can go with our custom integration method, so you have full control over where the checkbox is displayed?

    https://kb.mc4wp.com/add-sign-checkbox-custom-form/

    Hope that helps. If you have any questions, please let us know!

    Plugin Contributor Lap

    (@lapzor)

    Since there have been no replies for awhile I will now mark this ticket as “resolved”. If you are still experiencing this issue or you have a similar problem, please create a NEW ticket. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reposition checkbox within Checkout form’ is closed to new replies.