• Resolved pasttenseofdraw

    (@pasttenseofdraw)


    Running into a very strange issue – when I get to the checkout page, I would expect that the State dropdown would allow me to immediately start typing to complete it when I click or tab into it. But in this (development) shop, you have to actually click in to the search bar for that dropdown to activate the search/autocomplete functionality. I disabled the default State with this code:

    add_filter( 'default_checkout_billing_state', 'change_default_checkout_state' );
    add_filter( 'default_checkout_shipping_state', 'change_default_checkout_state' );
    function change_default_checkout_state() {
        return ''; 
    }

    But that was as an attempt to fix the issue described above, which has persisted. I’m not seeing anything relevant in the browser inspector console, or the server logs. Help please!!

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://gsmddev.wpengine.com
    Site address (URL): https://gsmddev.wpengine.com
    WC Version: 5.7.1
    REST API Version: ? 5.7.1
    WC Blocks Version: ? 5.7.2
    Action Scheduler Version: ? 3.3.0
    WC Admin Version: ? 2.6.5
    Log Directory Writable: ?
    WP Version: 5.8.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: ?
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.26
    PHP Post Max Size: 100 MB
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.35-38-log
    Max Upload Size: 100 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.7.1
    WC Database Prefix: wp_
    Total Database Size: 122.22MB
    Database Data Size: 103.79MB
    Database Index Size: 18.43MB
    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.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + 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.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.28MB + Index: 0.50MB + 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.22MB + Index: 0.20MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + 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_fg_redirect: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_groups_capability: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_groups_group: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_groups_group_capability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_groups_user_capability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_groups_user_group: Data: 0.22MB + Index: 0.16MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_login_redirects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_customer_pairs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_paymentmethod_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_payment_id_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_product_pairs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_qbo_customers: Data: 0.50MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_qbo_items: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_real_time_sync_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_real_time_sync_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_shipping_product_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_tax_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_variation_pairs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mw_wc_qbo_sync_wq_cf_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_nextend2_section_storage: Data: 0.03MB + Index: 0.06MB + Engine InnoDB
    wp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nextend2_smartslider3_sliders: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_nextend2_smartslider3_slides: Data: 0.08MB + Index: 0.11MB + Engine InnoDB
    wp_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_action_meta: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_chunks: Data: 0.22MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_field_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_form_meta: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_upgrades: Data: 0.41MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 55.11MB + Index: 0.20MB + Engine InnoDB
    wp_postmeta: Data: 9.52MB + Index: 4.03MB + Engine InnoDB
    wp_posts: Data: 7.52MB + Index: 0.64MB + Engine InnoDB
    wp_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_rank_math_analytics_objects: Data: 0.13MB + Index: 0.08MB + Engine InnoDB
    wp_rank_math_internal_links: Data: 0.13MB + Index: 0.06MB + Engine InnoDB
    wp_rank_math_internal_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + 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.14MB + Index: 0.11MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 6.52MB + Index: 9.03MB + Engine InnoDB
    wp_users: Data: 1.52MB + Index: 0.61MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + 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.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + 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.06MB + 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.13MB + Index: 0.16MB + 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.02MB + Engine InnoDB
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 6.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.47MB + Index: 0.17MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.17MB + Index: 0.11MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfwafconfig: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_square_customers: Data: 0.50MB + Index: 0.00MB + Engine InnoDB
    wp_woo_square_integration_deleted_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woo_square_integration_logs: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.16MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.19MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    aam_policy: 1
    acf-field: 8
    acf-field-group: 3
    attachment: 1610
    elementor_library: 31
    gp_elements: 3
    nav_menu_item: 112
    nf_sub: 187
    page: 223
    post: 178
    product: 263
    product_variation: 393
    revision: 6
    shop_coupon: 2
    shop_order: 19
    shop_order_refund: 1
    tribe_events: 3
    wcpa_pt_forms: 10
    wp_show_posts: 4
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (37) ###
    
    Advanced Access Manager: by Vasyl Martyniuk <[email protected]> – 6.7.7
    Advanced Custom Fields: by Delicious Brains – 5.10.2
    Disable Comments: by WPDeveloper – 2.2.1
    Disable Gutenberg: by Jeff Starr – 2.5.1
    Elementor Pro: by Elementor.com – 3.4.1
    Elementor: by Elementor.com – 3.4.4
    Essential Addons for Elementor: by WPDeveloper – 4.9.3
    Events Widgets For Elementor And The Events Calendar: by Cool Plugins – 1.4.1
    GP Premium: by Tom Usborne – 2.0.3
    Groups 404 Redirect: by itthinx – 1.7.0
    Groups: by itthinx – 2.14.1
    GSMD Custom Code Plugin: by C4 Tech & Design – 1.0.0
    GSMD - Docs: by C4 Tech & Design – 1.0.0
    Happy Elementor Addons: by weDevs – 3.2.2
    Jetpack: by Automattic – 10.1
    Media Library Organizer: by WP Media Library – 1.3.9
    Max Mega Menu: by megamenu.com – 2.9.4
    WooCommerce Sync for QuickBooks Online - by MyWorks Software: by MyWorks Software – 2.4.0
    Ninja Forms - PayPal Express: by The WP Ninjas – 3.0.15
    Ninja Forms - Layout & Styles: by The WP Ninjas – 3.0.29
    Ninja Forms - User Management: by WP Ninjas – 3.0.12
    Ninja Forms: by Saturday Drive – 3.5.8.3
    Permalink Manager Lite: by Maciej Bis – 2.2.13.1
    LoginWP (Formerly Peter's Login Redirect): by LoginWP Team – 3.0.0.3
    Rank Math SEO: by Rank Math – 1.0.73
    Smart Slider 3: by Nextend – 3.5.0.11
    The Events Calendar: by The Events Calendar – 5.9.1
    User Menus: by Code Atlantic – 1.2.7
    ELEX Stamps.com WooCommerce Extension (USPS): by ELEX – 2.3.5
    When Last Login: by Yoohoo Plugins – 1.2.1
    WooCommerce Custom Product Addons (Free): by Acowebs – 2.5.5
    WooCommerce Shipping & Tax: by WooCommerce – 1.25.18 (update to version 1.25.20 is available)
    WooCommerce: by Automattic – 5.7.1 (update to version 5.9.0 is available)
    Wordfence Security: by Wordfence – 7.5.5
    WP Accessibility: by Joe Dolson – 1.7.9
    WP Approve User: by Konstantin Obenland – 8
    WP Show Posts: by Tom Usborne – 1.1.3
    
    ### Inactive Plugins (4) ###
    
    APIExperts Square for WooCommerce: by Wpexpertsio – 4.0
    Redirection: by John Godley – 5.1.3
    WooCommerce Payments: by Automattic – 3.0.0 (update to version 3.4.0 is available)
    WP Fastest Cache: by Emre Vona – 0.9.5
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: Memcached Redux
    
    ### Must Use Plugins (7) ###
    
    Elementor Safe Mode: by Elementor.com – 1.0.0
    Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0
    WPE ElasticPress Autosuggest Logger: by WP Engine – 1.0.0
    WP Engine Cache Plugin: by WP Engine – 1.0.5
    WP Engine Seamless Login Plugin: by WP Engine – 1.5.5
    WP Engine Security Auditor: by wpengine – 1.0.10
    WP Engine System: by WP Engine – 5.0.1
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: ?
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    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: #2723 - /shop/
    Cart: #2601 - /cart/
    Checkout: #2602 - /checkout/
    My account: ? Page does not contain the [woocommerce_my_account] shortcode.
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: GSMD - A GeneratePress Child Theme
    Version: 0.1
    Author URL: https://c4tech.com
    Child Theme: ?
    Parent Theme Name: GeneratePress
    Parent Theme Version: 3.0.4 – 3.1.0 is available
    Parent Theme Author URL: https://tomusborne.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: gsmd/woocommerce/archive-product.php
    gsmd/woocommerce/loop/result-count.php
    gsmd/woocommerce/myaccount/dashboard.php
    
    ### Action Scheduler ###
    
    Complete: 817
    Oldest: 2021-11-14 09:21:49 -0500
    Newest: 2021-12-13 12:02:52 -0500
    
    Pending: 2
    Oldest: 2021-12-13 15:43:13 -0500
    Newest: 2021-12-22 08:17:35 -0500
    
    ### Status report information ###
    
    Generated at: 2021-12-13 14:30:15 -05:00
    

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @pasttenseofdraw,

    This is actually the default behavior of the dropdown fields in the checkout.

    You can change that by overriding the default checkout functionality via custom coding. If you’re not comfortable with editing code and require the assistance of a developer, then I would definitely recommend having a look at our WooCommerce Customizations Page.

    Thread Starter pasttenseofdraw

    (@pasttenseofdraw)

    Thanks for the info Mirko. On another Woo shop that we developed (https://antoines.com/shop), the functionality I’m describing just worked out of the box, which is why I was confused. Or, at least, I didn’t do anything special to make it work – you can just click or tab into the State dropdown and start typing without having to click into the search field.

    I can certainly make custom coding changes, but I just couldn’t find the right snippet to insert after about 2 hours on Stack Overflow. Any chance you could share a link?

    Mirko P.

    (@rainfallnixfig)

    Hi @pasttenseofdraw,

    I can see exactly the same behavior with the default Storefront theme, but apparently, the theme called “Rosa” that you’re using on your site https://antoines.com/ acts differently on that checkout field.

    So this could be theme-dependent and I would suggest that you reach out to the GeneratePress support team, which is the theme you’re currently using for your site https://gsmddev.wpengine.com/, to ask how you could achieve that function.

    You can submit a support ticket on this link https://generatepress.com/contact/

    Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t automatically type in state dropdown list’ is closed to new replies.