• Resolved giftinapot

    (@giftinapot)


    There is a issue with the phone field since a recent update. When ever the country is selected the country calling code is automatically inserted in the checkout field. This is a good addition but how it works now is that it overrides the field being required and the customer can check out without entering his or her number. How can this be fixed?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support abwaita a11n

    (@abwaita)

    Hi @giftinapot,

    Just to check, are you using a plugin to add the country code selector for phone numbers or to mark the phone field as not required?

    If possible, kindly let us have a closer look at your setup by sharing your System Status from WooCommerce → Status.

    Thanks.

    Thread Starter giftinapot

    (@giftinapot)

    I was using a plugin but when I noticed a glitch with the plugin I had deleted the plugin some time ago and all was working fine. It was used to add an extra field and not like you have stated. I currently have now checkout edit field plugin installed.
    The calling country code is atomically generated by woo commerce which is a good thing. However if the customer continues the check out without adding the rest of there number the order is completed even though in my settings I have phone as required. This is cause by the auto generated country calling code. Maybe the validation for that field needs to be change to number count as most number are 11 digits long including the country’s calling code.

    • This reply was modified 3 years, 3 months ago by giftinapot.
    Thread Starter giftinapot

    (@giftinapot)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://giftinapot.com
    Site address (URL): https://giftinapot.com
    WC Version: 5.6.0
    REST API Version: ? 5.6.0
    WC Blocks Version: ? 5.5.1
    Action Scheduler Version: ? 3.2.1
    WC Admin Version: ? 2.5.1
    Log Directory Writable: ?
    WP Version: 5.8
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.12
    PHP Post Max Size: 768 MB
    PHP Time Limit: 240
    PHP Max Input Vars: 5000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.15-MariaDB-cll-lve
    Max Upload Size: 768 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.6.0
    WC Database Prefix: wp_
    Total Database Size: 40.91MB
    Database Data Size: 35.12MB
    Database Index Size: 5.79MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.17MB + Index: 0.19MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.41MB + Index: 0.44MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.39MB + Index: 0.23MB + Engine InnoDB
    wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_aioseo_posts: Data: 0.03MB + Index: 0.02MB + Engine InnoDB
    wp_bwfan_abandonedcarts: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_bwfan_automationmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_bwfan_automations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_bwfan_contact_automations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_bwfan_logmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_bwfan_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_bwfan_message_unsubscribe: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_bwfan_syncrecords: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_bwfan_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_bwfan_tasks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_bwfan_task_claim: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_bwf_actions: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_bwf_action_claim: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_bwf_contact: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_bwf_contact_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_bwf_wc_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cartflows_ca_cart_abandonment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    wp_gla_merchant_issues: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_avatar: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_crawler: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_crawler_blacklist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_img_optm: Data: 0.11MB + Index: 0.06MB + Engine InnoDB
    wp_litespeed_img_optming: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_url_file: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 12.50MB + Index: 0.28MB + Engine InnoDB
    wp_pimwick_gift_card: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_pimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_postmeta: Data: 10.52MB + Index: 0.70MB + Engine InnoDB
    wp_posts: Data: 1.52MB + Index: 0.13MB + Engine InnoDB
    wp_sfa_abandoned_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_venus_wc_wave_sync_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcmp_cust_answers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wcmp_cust_questions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcmp_products_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcmp_shipping_zone_locations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcmp_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcmp_vendor_ledger: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wcmp_vendor_orders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wcmp_visitors_stats: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_zapier_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_webarx_event_log: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_webarx_firewall_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_webarx_logic: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfco_connectormeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wfco_connectors: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wfco_report_views: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfpklist_template_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_pickup_locations_geodata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_woocommerce_shipping_table_rates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woo_shippment_provider: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_wotv_woo_track_info: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 6.52MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yikes_easy_mc_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yith_wapo_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yith_wapo_types: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 0.25MB + Index: 0.17MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_prominent_words: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_ywcdd_calendar: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf_fw_form: 1
    apifw_inv_templates: 1
    areamaps: 2
    attachment: 128
    custom_css: 1
    customize_changeset: 31
    efbl_skins: 3
    elementor_library: 4
    global_product_addon: 1
    jp_img_sitemap: 2
    jp_sitemap: 2
    jp_sitemap_master: 2
    mif_skins: 1
    nav_menu_item: 19
    page: 18
    pd_tracking_order: 7
    post: 1
    product: 20
    product_variation: 54
    revision: 107
    seedprod: 2
    shop_coupon: 10
    shop_order: 44
    szbdzones: 5
    tm_global_cp: 1
    ufaq: 12
    viwec_template: 17
    wa-order-numbers: 1
    wapf_product: 1
    wc_order_email: 2
    wc_order_status: 9
    wpforms: 1
    yaymail_template: 11
    yith_carrier: 2
    yith_proc_method: 4
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (33) ###
    
    Astra Pro: by Brainstorm Force – 3.5.8
    Starter Templates: by Brainstorm Force – 2.6.21
    Crisp: by Crisp – 0.29
    Customer Reviews for WooCommerce: by CusRev – 4.23
    Elementor Pro: by Elementor.com – 3.3.1
    Elementor: by Elementor.com – 3.4.2
    Email Template Customizer for WooCommerce: by VillaTheme – 1.0.4.5
    Insert Headers and Footers: by WPBeginner – 1.6.0
    Jetpack: by Automattic – 10.0
    LiteSpeed Cache: by LiteSpeed Technologies – 4.3
    LoginPress - Customizing the WordPress Login: by WPBrigade – 1.5.5
    Mailchimp for WooCommerce: by Mailchimp – 2.5.2
    Maintenance: by WebFactory Ltd – 4.03
    WooCommerce PDF Invoice, Packing Slips, Delivery Notes & Shipping Labels: by WebToffee – 2.8.2
    Shipday Integration for WooCommerce: by  – 0.4.7
    Shipping Zones by Drawing for WooCommerce: by Arosoft.se – 2.5.6
    TrustedSite: by TrustedSite – 1.1.2
    Patchstack: by Patchstack – 2.0.20
    Orders Tracking for WooCommerce: by VillaTheme – 1.1.8.6
    WooCommerce Google Analytics Integration: by WooCommerce – 1.5.2
    WooCommerce Order Delivery: by Themesquad – 1.9.1
    WooCommerce Order Status Manager: by SkyVerge – 1.13.2
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.9.3
    WooCommerce Table Rate Shipping: by WooCommerce – 3.0.31 (update to version 3.0.32 is available)
    WooCommerce TM Extra Product Options: by themeComplete – 5.1
    WooCommerce Zapier: by OM4 Software – 2.2.1
    WooCommerce: by Automattic – 5.6.0
    Credit/Debit Card (via WiPay): by WiPay Development Team – 2.1.0
    Yoast SEO: by Team Yoast – 17.0
    Autonami Marketing Automations For WordPress: by BuildWooFunnels – 2.0.6
    WPForms Lite: by WPForms – 1.6.8.1
    Easy Forms for Mailchimp: by YIKES
    Inc. – 6.8.4
    
    Zoho Mail: by Zoho Mail – 1.4.7
    
    ### Inactive Plugins (0) ###
    
    ### Must Use Plugins (1) ###
    
    Elementor Safe Mode: by Elementor.com – 1.0.0
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: JMD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    pw gift card (pw-gift-card)
    simple (simple)
    variable (variable)
    woosb (woosb)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: ?
    
    ### WC Pages ###
    
    Shop base: #2246 - /shop/
    Basket: #1302 - /cart/
    Checkout: #1303 - /checkout/
    My account: #10 - /my-account/
    Terms and conditions: #1347 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Astra
    Version: 3.6.8
    Author URL: https://wpastra.com/about/
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build
    personally we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Canceled: 1
    Oldest: 2021-08-13 20:18:07 +0000
    Newest: 2021-08-13 20:18:07 +0000
    
    Complete: 1,271
    Oldest: 2021-07-27 23:17:32 +0000
    Newest: 2021-08-26 01:05:43 +0000
    
    Pending: 10
    Oldest: 2021-08-26 04:35:21 +0000
    Newest: 2021-09-01 13:07:05 +0000
    
    ### WooCommerce Zapier ###
    
    Database Version: ? 13
    Detailed Logging Enabled: Yes
    Legacy Mode Disabled: ? Yes
    SSL: ? Yes
    REST API Authentication Key(s): ? 45
    Task History Record Count: ? 71
    Webhook #36: Zapier #subscription:7064737
    - Status: active
    - Trigger: order.paid
    - Delivery Count (Last 30 Days): 0
    Webhook #33: Zapier #subscription:5665026
    - Status: active
    - Trigger: order.paid
    - Delivery Count (Last 30 Days): 0
    Deleted Webhook Delivery Count: 71
    
    ### Status report information ###
    
    Generated at: 2021-08-25 22:31:38 -05:00
    

    Hi @giftinapot

    When ever the country is selected the country calling code is automatically inserted in the checkout field.

    It looks like this feature is added by your theme or plugin – auto generated country calling code doesn’t show up when a country is selected on my test sites which have the latest versions of WordPress, WooCommerce and Storefront(default) theme.

    Link to image: https://snipboard.io/SVCRNa.jpg

    You can temporarily switch to Storefront Theme and deactivate plugins one by one to find the source of the country calling code. Once you identify the theme or plugin, you can contact the plugin developer directly on how to turn off the feature.

    Thread Starter giftinapot

    (@giftinapot)

    Thank you for your guidance. I have found the plugin that was causing the problem. I have reached out to the Shipday plugin team, informing them of the issue with the country calling code.

    Plugin Support abwaita a11n

    (@abwaita)

    Glad to hear it @giftinapot.

    As the thread is resolved, if you have any other questions, please feel free to create a new thread.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘calling code for country billing phone field’ is closed to new replies.