• Resolved Rob

    (@rob-at-ionic)


    I have the Phone number field on the checkout screen set to ‘required’ in the WordPress settings under Appearance > Customize > Woocommerce > Checkout > Phone field = required.
    This setting was respected by my previous payment plugins.
    When I activate this plugin the Phone field gets changed to ‘optional’ on the checkout screen. When I deactivate this plugin it reverts to ‘required’ on the screen.
    This happened both before and after latest plugin/Wordpress upgrades.
    Please can you update the plugin so it respects this Woocommerce setting rather than overriding it.

    Thankyou.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @rob-at-ionic,

    I have the Phone number field on the checkout screen set to ‘required’ in the WordPress settings under Appearance > Customize > Woocommerce > Checkout > Phone field = required. This setting was respected by my previous payment plugins.

    This is interesting as it is not behaving the same way on my test site using Storefront and Twenty Seventeen. This may be a conflict with another plugin or your theme. You can read more about plugin and theme conflicts here:

    ?https://docs.woocommerce.com/document/woocommerce-self-service-guide/

    The best way to determine if the issue is being caused by a theme and/or plugin is to do the following:

    1. Temporarily switch your theme back to the Storefront or Twenty Nineteen Theme.
    2. Disable all plugins except for WooCommerce and PayPal Checkout.
    3. Test to see if the issue has been resolved.

    If that resolves the issue, then one-by-one you can switch back your theme and re-enable your plugins, testing in between, until you find the one causing the conflict.

    Health Check is a tool that can be useful for debugging, though it requires an official default theme like Twenty Nineteen. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you while you’re logged in to that session without affecting normal visitors to your site.

    Please let us know how this goes!

    Thread Starter Rob

    (@rob-at-ionic)

    I will give it a try and get back to you.

    Thread Starter Rob

    (@rob-at-ionic)

    1. Temporarily switch your theme back to the Storefront or Twenty Nineteen Theme.
    2. Disable all plugins except for WooCommerce and PayPal Checkout.

    I did this and still the problem is showing up. The phone field is showing as optional at the checkout screen, despite being set to required.
    Latest versions of WordPress, WooCommerce and the plugin are installed.
    Theme is Storefront, with or without the Boutique child theme.

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @rob-at-ionic

    This is a known issue and there is already a fix to be included in the next release or so:

    https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/issues/426

    Thanks,

    Thread Starter Rob

    (@rob-at-ionic)

    I looked into it further and found that there’s a Phone field required tick-box in the plugoin settings as well as one in the Woocommerce settings. They are not synced together and the plugin one overrides the Woocommerce one. e.g. When the Woocommerce setting (phone field) is set to required, and the plugin setting (phone field required) is unticked the plugin setting overrides and makes it optional at checkout.

    Workaround for now is to set it to ‘required’ in both Woocommerce and the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Phone number required is set to optional by this plugin’ is closed to new replies.