Support » Plugin: WooCommerce Email Validation » Missing “Priority”

  • Resolved George

    (@subscriptiongroup)


    The recent versions of WooCommerce include a “priority” that indicates the position of the element on the checkout.

    On WooCommerce v.3.5.1, this plugin throws a notice.

    To resolve, you can edit woocommerce-email-validation/classes/class-woocommerce-email-validation.php and add
    'priority' => 110,
    (replace 110 with whatever is the correct priority)
    under line 49 which is
    'validate' => array( 'email' ),

Viewing 4 replies - 1 through 4 (of 4 total)
  • Gus

    (@gus0074)

    Thank you George, worked perfectly!! 🙂

    Craig

    (@craigrkirkby)

    This worked for me (in child theme’s functions.php file):

    /**
     * Customise Order of Email Confirmation Field on Checkout
     *
     */
     
     function move_checkout_email_confirm_field( $address_fields ) {
        $address_fields['billing_email-2']['priority'] = 100;
        return $address_fields;
    }
     
    add_filter( 'woocommerce_billing_fields', 'move_checkout_email_confirm_field', 10, 1 );

    Kudos:
    https://businessbloomer.com/woocommerce-move-reorder-fields-checkout-page/

    mtlsam

    (@mtlsam)

    Worked great! I used the example 110 value for the priority and it places it right where I want it 🙂

    Plugin Author Hugh Lashbrooke

    (@hlashbrooke)

    This has been fixed in v2.1.1 of the plugin that is now live.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Missing “Priority”’ is closed to new replies.