Display Customer Country in Email
-
Hello out there,
On my page, when a customer fills in the checkout form, he has to choose his country.
Problem is, that this choice is not displayed in the email that the seller receives. This would be important. It’s also not displayed in Backend
Thanks for help, Tobi
The page I need help with: [log in to see the link]
-
Hello @td8000,
Problem is, that this choice is not displayed in the email that the seller receives. This would be important. It’s also not displayed in Backend
Sorry, but I’m not sure if I’m getting the full picture here. The “New Order” admin email should include the customer’s billing address:
Link to image: https://d.pr/i/9bhbtSCould you please provide more details and attach some screenshots to help us understand what you’re trying to achieve? Also, please attach your site’s system status report.
You can find it viaWooCommerce > Status
. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response or in a text-sharing service like Gist.Look forward to hearing back from you.
hello, no problem here is the report:
WordPress Environment WordPress address (URL): https://ebl-institut.de Site address (URL): https://ebl-institut.de WC Version: 7.7.0 REST API Version: ? 7.7.0 WC Blocks Version: ? 10.0.4 Action Scheduler Version: ? 3.5.4 Log Directory Writable: ? WP Version: 6.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: de_DE_formal External object cache: – Server Environment Server Info: Apache/2.4.57 (Unix) PHP Version: 7.4.33 PHP Post Max Size: 128 MB PHP Time Limit: 240 PHP Max Input Vars: 4000 cURL Version: 7.88.1 OpenSSL/1.1.1t SUHOSIN Installed: – MySQL Version: 5.7.41-log Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 7.6.1 WC Database Prefix: fhjp_ Datenbank-Gesamtgr??e: 13.96MB Datenbank-Datengr??e: 11.99MB Datenbank-Indexgr??e: 1.97MB fhjp_woocommerce_sessions: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_woocommerce_api_keys: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_woocommerce_attribute_taxonomies: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_woocommerce_downloadable_product_permissions: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB fhjp_woocommerce_order_items: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_woocommerce_order_itemmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_woocommerce_tax_rates: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB fhjp_woocommerce_tax_rate_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_woocommerce_shipping_zones: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB fhjp_woocommerce_shipping_zone_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_woocommerce_shipping_zone_methods: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB fhjp_woocommerce_payment_tokens: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_woocommerce_payment_tokenmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_woocommerce_log: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_actionscheduler_actions: Daten: 0.06MB + Index: 0.11MB + Engine InnoDB fhjp_actionscheduler_claims: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_actionscheduler_groups: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_actionscheduler_logs: Daten: 0.05MB + Index: 0.03MB + Engine InnoDB fhjp_commentmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_comments: Daten: 0.02MB + Index: 0.09MB + Engine InnoDB fhjp_duplicator_packages: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_links: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_options: Daten: 3.05MB + Index: 0.06MB + Engine InnoDB fhjp_postmeta: Daten: 1.45MB + Index: 0.17MB + Engine InnoDB fhjp_posts: Daten: 6.27MB + Index: 0.13MB + Engine InnoDB fhjp_say_what_strings: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB fhjp_termmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_terms: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_term_relationships: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_term_taxonomy: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_tm_taskmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_tm_tasks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_usermeta: Daten: 0.03MB + Index: 0.03MB + Engine InnoDB fhjp_users: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB fhjp_wc_admin_notes: Daten: 0.06MB + Index: 0.00MB + Engine InnoDB fhjp_wc_admin_note_actions: Daten: 0.05MB + Index: 0.02MB + Engine InnoDB fhjp_wc_category_lookup: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB fhjp_wc_customer_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_wc_download_log: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_wc_order_coupon_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_wc_order_product_lookup: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB fhjp_wc_order_stats: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB fhjp_wc_order_tax_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_wc_product_attributes_lookup: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_wc_product_download_directories: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_wc_product_meta_lookup: Daten: 0.02MB + Index: 0.09MB + Engine InnoDB fhjp_wc_rate_limits: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_wc_reserved_stock: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB fhjp_wc_tax_rate_classes: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_wc_webhooks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_yoast_indexable: Daten: 0.02MB + Index: 0.09MB + Engine InnoDB fhjp_yoast_indexable_hierarchy: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB fhjp_yoast_migrations: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB fhjp_yoast_primary_term: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB fhjp_yoast_seo_links: Daten: 0.05MB + Index: 0.03MB + Engine InnoDB Post Type Counts attachment: 76 custom_css: 2 customize_changeset: 35 et_pb_layout: 15 nav_menu_item: 15 page: 25 post: 3 product: 2 product_variation: 4 revision: 431 shop_order: 28 wp_global_styles: 1 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (14) Better Search Replace: von WP Engine – 1.4.2 Child Theme Configurator: von Lilaea Media – 2.6.2 Duplicate Page: von mndpsingh287 – 4.5.2 Duplicator: von Duplicator – 1.5.4 Duplicator: von Duplicator – 1.5.4 Limit Login Attempts Reloaded: von Limit Login Attempts Reloaded – 2.25.16 Strato Assistant: von Strato – 7.3.0 UpdraftPlus - Backup/Restore: von UpdraftPlus.Com DavidAnderson – 1.23.3 WooCommerce: von Automattic – 7.7.0 WordPress Importer: von wordpressdotorg – 0.8.1 Yoast SEO: von Team Yoast – 20.7 Divi Carousel Lite: von wowcarousel – 1.2.12 WP Fastest Cache: von Emre Vona – 1.1.5 Sequential Order Numbers for WooCommerce: von WebToffee – 1.5.1 Inactive Plugins (3) Akismet Anti-Spam: von Automattic – 5.1 Hello Dolly: von Matt Mullenweg – 1.7.2 WP-Optimize - Clean, Compress, Cache: von David Anderson Ruhani Rabin Team Updraft – 3.2.15 Must Use Plugins (1) WordPress automation by Installatron: von – Settings API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_space 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: – Enforce Approved Product Download Directories: ? HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – WC Pages Shop-Basis: #1224 - /anmeldung-ts/ Warenkorb: #1538 - /warenkorb/ Kasse: ? Die Seite enth?lt nicht den [woocommerce_checkout]-Shortcode oder woocommerce/checkout-Block. Ihr Konto: #1540 - /mein-konto/ Allgemeine Gesch?ftsbedingungen: #187 - /datenschutz-und-agb/ Theme Name: Divi Child Version: 4.19.5.1674997745 Author URL: https://www.elegantthemes.com Child Theme: ? Parent Theme Name: Divi Parent Theme Version: 4.21.0 Parent Theme Author URL: https://www.elegantthemes.com WooCommerce Support: ? Templates Overrides: Divi-child/woocommerce/emails/admin-new-order.php Divi-child/woocommerce/emails/customer-on-hold-order.php Admin Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: product-block-editor minified-js new-product-management-experience product-variation-management settings Daily Cron: ? Next scheduled: 2023-05-16 00:19:38 +00:00 Options: ? Notes: 71 Onboarding: completed Action Scheduler Abgeschlossen: 105 Oldest: 2023-05-03 12:45:32 +0000 Newest: 2023-05-14 20:57:41 +0000 Fehlgeschlagen: 3 Oldest: 2023-05-03 12:47:47 +0000 Newest: 2023-05-10 00:19:43 +0000 Ausstehend: 1 Oldest: 2023-05-15 20:57:41 +0000 Newest: 2023-05-15 20:57:41 +0000 Status report information Generated at: 2023-05-15 11:58:54 +00:00 `
to get more into detail:
the customer needs to fill in his country in the checkout form:
sorry, cannot upload images.
in the sellers email, the filled in country is not displayed:
Rechnungsadresse Tobias DresselKonrad-Celtis-Str. 26281369 Mü[email protected]
Herzlichen Glückwunsch zum Verkauf.
Hi @td8000
Thanks for sharing the requested information above.
I understand that the
Country
field is filled out by the customer upon checkout, however, it is not showing in the Order Confirmation email, correct?It looks like a third-party plugin or your theme might be causing the conflict here.
For us to investigate this further, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled, create a test order using Cash on Delivery and see if this works?
If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.
If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.
If this did not resolve the issue, please provide the fatal error logs (if any) under
WooCommerce > Status > Logs
.You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Let us know how it goes!
- The topic ‘Display Customer Country in Email’ is closed to new replies.