• Resolved C-Tomoe

    (@c-tomoe)


    Hi,
    I’ve got an issue with shipping calculator on cart page. The shop sells only in France, but with differences between cities. So, I enabled shipping calculator on cart page. No issue for calculation using a zip code, but when I enter city name only, it can’t find shipping options. I checked up on other websites and it seems that the same issue is everywhere. How can I solve this issue? I know, an option is to hide city with a php snippet, but I would prefer to allow search by city name.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    To get a better understanding, could you please provide the following?

    System Status:?You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Screenshots of your shipping settings: I recommend?https://snipboard.io?for easily sharing screenshots – please follow the instructions on the page, then paste the URL in this chat. It works with Chrome, Firefox, Safari, and Edge.

    Thread Starter C-Tomoe

    (@c-tomoe)

    Hi Maykato,
    Here is the system report (anonymized, as it’s a public thread).

    `### WordPress Environment ###

    WordPress address (URL): https://www.mywebsite.com
    Site address (URL): https://www.mywebsite.com
    WC Version: 5.7.1
    REST API Version: ? 5.7.1
    WC Blocks Version: ? 5.7.2
    Action Scheduler Version: ? 3.2.1
    WC Admin Version: ? 2.6.5
    Log Directory Writable: ?
    WP Version: 5.8.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: fr_FR
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.4.22
    PHP Post Max Size: 128 MB
    PHP Time Limit: 360
    PHP Max Input Vars: 200000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.31-MariaDB
    Max Upload Size: 128 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: dbprefix_
    Total Database Size: 28.11MB
    Database Data Size: 22.33MB
    Database Index Size: 5.78MB
    dbprefix_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    dbprefix_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dbprefix_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    dbprefix_woocommerce_order_itemmeta: Data: 0.22MB + Index: 0.23MB + Engine InnoDB
    dbprefix_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dbprefix_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_actionscheduler_actions: Data: 0.41MB + Index: 0.48MB + Engine InnoDB
    dbprefix_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_actionscheduler_logs: Data: 0.28MB + Index: 0.23MB + Engine InnoDB
    dbprefix_cli_cookie_scan: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dbprefix_cli_cookie_scan_categories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dbprefix_cli_cookie_scan_cookies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dbprefix_cli_cookie_scan_url: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dbprefix_cli_scripts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dbprefix_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_comments: Data: 0.20MB + Index: 0.25MB + Engine InnoDB
    dbprefix_defender_audit_log: Data: 0.13MB + Index: 0.04MB + Engine MyISAM
    dbprefix_defender_email_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dbprefix_defender_lockout: Data: 0.01MB + Index: 0.03MB + Engine MyISAM
    dbprefix_defender_lockout_log: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
    dbprefix_defender_scan: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dbprefix_defender_scan_item: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dbprefix_emc_addresses: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_emc_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_emc_dimensions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_emc_operators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_emc_operators_authorized_contents: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    dbprefix_emc_pricing: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_emc_services: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    dbprefix_frmt_form_entry: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dbprefix_frmt_form_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dbprefix_frmt_form_views: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dbprefix_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_litespeed_img_optm: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_options: Data: 2.33MB + Index: 0.20MB + Engine InnoDB
    dbprefix_postmeta: Data: 4.52MB + Index: 1.91MB + Engine InnoDB
    dbprefix_posts: Data: 2.50MB + Index: 0.22MB + Engine InnoDB
    dbprefix_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dbprefix_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_usermeta: Data: 0.28MB + Index: 0.16MB + Engine InnoDB
    dbprefix_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dbprefix_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    dbprefix_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dbprefix_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    dbprefix_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dbprefix_wfconfig: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wffilemods: Data: 3.52MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dbprefix_wfhoover: Data: 0.42MB + Index: 0.08MB + Engine InnoDB
    dbprefix_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dbprefix_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wflogins: Data: 0.31MB + Index: 0.13MB + Engine InnoDB
    dbprefix_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wfnotifications: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dbprefix_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dbprefix_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    dbprefix_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wpgmza: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wpgmza_circles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wpgmza_maps: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wpgmza_polygon: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wpgmza_polylines: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wpgmza_rectangles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wt_iew_action_history: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dbprefix_yoast_indexable: Data: 0.13MB + Index: 0.08MB + Engine InnoDB
    dbprefix_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dbprefix_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dbprefix_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dbprefix_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB

    ### Post Type Counts ###

    acf-field: 136
    acf-field-group: 4
    amn_mi-lite: 1
    attachment: 198
    cookielawinfo: 6
    custom_css: 1
    customize_changeset: 1
    et_body_layout: 6
    et_footer_layout: 1
    et_header_layout: 1
    et_pb_layout: 12
    et_template: 14
    et_theme_builder: 2
    forminator_forms: 1
    itsec-dash-card: 6
    itsec-dashboard: 1
    nav_menu_item: 28
    oembed_cache: 4
    page: 54
    polylang_mo: 2
    popup: 1
    popup_theme: 8
    post: 4
    product: 25
    product_variation: 62
    revision: 171
    shop_coupon: 3
    shop_order: 89
    wpcf7s: 16

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (19) ###

    Advanced noCaptcha & invisible Captcha: by WP White Security – 6.1.6
    Advanced Custom Fields PRO: by Delicious Brains – 5.10.2
    Classic Editor: by WordPress Contributors – 1.6.2
    GDPR Cookie Consent: by WebToffee – 2.0.6
    Divi BodyCommerce: by Divi Engine – 6.2.5.1
    Divi Machine: by Divi Engine – 3.5.5.2.1
    Enable Media Replace: by ShortPixel – 3.5.0
    Boxtal (EnvoiMoinsCher): by EnvoiMoinsCher – 2.2.2
    Forminator Pro: by WPMU DEV – 1.15.3
    Snapshot Pro: by WPMU DEV – 4.4.0
    UpdraftPlus – Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.62

    WooCommerce Wordline Sips 2.0 Gateway: by Nicolas Maillard – 1.4
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3
    WooCommerce: by Automattic – 5.7.1
    Yoast SEO: by Team Yoast – 17.3
    Defender Pro: by WPMU DEV – 2.6.0
    Hummingbird Pro: by WPMU DEV – 3.1.1
    Smush Pro: by WPMU DEV – 3.9.1
    WPMU DEV Dashboard: by WPMU DEV – 4.11.4

    ### Inactive Plugins (3) ###

    Divi Gallery Extended: by Elicus – 1.2.3
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.1.0
    WP Migrate DB: by Delicious Brains – 2.1.2

    ### Dropin Plugins (1) ###

    advanced-cache.php: advanced-cache.php

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right
    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: #70 – /la-boutique/
    Cart: #114 – /la-boutique/panier/
    Checkout: #115 – /la-boutique/paiement/
    My account: #116 – /la-boutique/mon-compte/
    Terms and conditions: #305 – /conditions-generales-de-vente/

    ### Theme ###

    Name: My website
    Version: 1.0
    Author URL: https://www.monsite.com
    Child Theme: ?
    Parent Theme Name: Divi
    Parent Theme Version: 4.11.1
    Parent Theme Author URL: https://www.elegantthemes.com
    WooCommerce Support: ?

    ### Templates ###

    Overrides: –

    ### Action Scheduler ###

    Complete: 1,109
    Oldest: 2021-10-01 17:05:32 +0200
    Newest: 2021-10-04 20:26:32 +0200

    Failed: 1
    Oldest: 2020-06-11 15:56:18 +0200
    Newest: 2020-06-11 15:56:18 +0200

    ### Status report information ###

    Generated at: 2021-10-05 10:29:05 +02:00`

    (That shows me that uninstalled plugin still have drosses)
    The screenshot with city name search (can’t find anything): https://snipboard.io/InKmba.jpg
    The screenshot with zipcode search (OK): https://snipboard.io/kZqmJT.jpg
    But I checked over the internet to find websites using this functionality, to see if it’s an issue linked to me or a larger issue. And everyone I found did the same…

    Thread Starter C-Tomoe

    (@c-tomoe)

    Hi @maykato ! Still no answer? Do you need more informations?

    Hi @c-tomoe

    Thank you for sharing the information. Ok, let’s go back to the original question.

    No issue for calculation using a zip code, but when I enter city name only, it can’t find shipping options. I checked up on other websites and it seems that the same issue is everywhere. How can I solve this issue?

    If you’ve set up shipping zones with zip codes specified, it’s required that users have to enter zip codes in order to get available shipping options – core WooCommerce doesn’t look up applicable shipping methods by only city names.

    You can read more about shipping settings on our documentation here: https://docs.woocommerce.com/document/setting-up-shipping-zones/

    Thread Starter C-Tomoe

    (@c-tomoe)

    Hi @maykato
    Thanks for your answer. Shipping zones are not limited with zip code. Actually, there is only one shipping zone for the whole country. But the website is using a specific plugin, Boxtal (https://www.boxtal.com/fr/en/accueil) for relay shipping. Maybe it’s linked to this?
    Best regards.

    Hello @c-tomoe,

    In order to display the shipping methods, both Boxtal’s applications need the zip code and the city at the cart page; in our newest app, Boxtal Connect, the parcel point map is displayed at the cart page, but the shipping address will be estimated at the center of the city.

    In order to display the parcel points map with the exact location and show the exact distance to the parcel points, our app will need the zip code, the city name and the address at the checkout page.

    In France there are lots of identically named cities, so it is not possible to make the shipping quotation only with the city name, and there are also many cities with the same zip code, so it will work to display the shipping methods, but it won’t work for the map.`

    Boxtal team

    Hello @c-tomoe

    In order to display the shipping methods, both Boxtal’s applications need the zip code and the city at the cart page; in our newest app, Boxtal Connect, the parcel point map is displayed at the cart page, but the shipping address will be estimated at the center of the city.

    In order to display the parcel points map with the exact location and show the exact distance to the parcel points, our app will need the zip code, the city name and the address at the checkout page.

    In France there are lots of identically named cities, so it is not possible to make the shipping quotation only with the city name, and there are also many cities with the same zip code, so it will work to display the shipping methods, but it won’t work for the map.

    We hope this helps, don’t hesitate to contact us if your have other questions

    Boxtal team,

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    I’m going to close this thread now as the issue doesn’t seem to be related to core WooCommerce and commercial themes or plugins are not supported on this forum.

    @c-tomoe if you require further assistance with your shipping settings/configuration please reach out to the Boxtal team directly on their support pages.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘City search on shipping calculator on cart page’ is closed to new replies.