Address Container content in Woocommerce emails
-
Hi,
I have a problem with the Address Container content within the WooCommerce Emails.
For some reason the Invoice-Address is giving me the following format:
Firstname
Lastname
Streetname Houseno
Postcode Cityname
Phonenumber
EmailaddressThe Shipping-Address is giving me the following format:
Firstname Lastname
Streetname Houseno
Postcode CitynameNow my problem is that the Invoice-Address is not showing correctly in all emails, since the Lastname is put on a new line.
The Shipping-Address on all emails is showing correctly with the Firstname and Lastname on the same line with a space between them.I have been looking everywhere for a solution, but no luck and nobody with the same issue either, which is the reason for the no luck part.
Anyone know how to resolve this issue?
Thanks in advance.
-
Hey there!
By default, the emails in WooCommerce will display addresses like the shipping address in your example above, and it looks like that in my testing no my site.
Do you have plugins that modify emails at all on your site?
Could you please share a copy of your site’s 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.
Hi,
Sorry for the late reply.
Well, I did use a plugin that modified the design of the emails, but that was years ago.
Here is the info you requested:
### WordPress Environment ### WordPress address (URL): https://www.mohammadi.nl Site address (URL): https://www.mohammadi.nl WC Version: 5.2.2 REST API Version: ? 5.2.2 WC Blocks Version: ? 4.7.2 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 2.2.1 Log Directory Writable: ? WP Version: 5.7.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: – Language: nl_NL External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.27 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.58.0 OpenSSL/1.1.1 SUHOSIN Installed: – MySQL Version: 5.5.5-10.1.47-MariaDB-0ubuntu0.18.04.1 Max Upload Size: 4 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.2.2 WC Database Prefix: wp_ Totale databasegrootte: 301.63MB Database datagrootte: 278.33MB Database index grootte: 23.30MB wp_woocommerce_sessions: Data: 252.35MB + Index: 7.15MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.05MB + Index: 0.03MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.34MB + Index: 0.25MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.17MB + Index: 0.17MB + 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.14MB + Index: 0.13MB + Engine InnoDB wp_atum_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_atum_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_atum_product_data: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_aws_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_aws_index: Data: 0.11MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_comments: Data: 0.31MB + Index: 0.19MB + Engine MyISAM wp_cpm_file_relationship: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cpm_project_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cpm_tasks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cpm_user_role: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_datalist: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_donate_mollie: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_donate_mollie_donors: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_donate_mollie_subscriptions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ff_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ff_comments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ff_image_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ff_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ff_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ff_post_media: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ff_snapshots: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ff_streams: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ff_streams_sources: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mgmlp_folders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mollie_pending_payment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ms_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_newsletter: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_newsletter_emails: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_newsletter_sent: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_newsletter_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_newsletter_user_logs: Data: 0.33MB + Index: 0.06MB + Engine MyISAM wp_options: Data: 2.29MB + Index: 0.26MB + Engine MyISAM wp_postmeta: Data: 7.59MB + Index: 0.84MB + Engine MyISAM wp_posts: Data: 4.48MB + Index: 0.21MB + Engine MyISAM wp_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rednao_wc_invoice: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rednao_wc_invoices_created: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rednao_wc_invoices_custom_field: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_snippets: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_social_users: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_termmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_relationships: Data: 0.02MB + Index: 0.05MB + Engine MyISAM wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_trp_gettext_: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_trp_gettext_nl_nl: Data: 0.63MB + Index: 0.92MB + Engine MyISAM wp_trp_original_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_trp_original_strings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 0.46MB + Index: 0.32MB + Engine MyISAM wp_users: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wp_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.03MB + Index: 0.04MB + Engine MyISAM wp_wc_order_stats: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpca_logs_legacy: Data: 0.08MB + Index: 0.14MB + Engine MyISAM wp_wpml_mails: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_also_bought: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_cart_contents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_cart_item_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_checkout_forms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wpsc_claimed_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_coupon_codes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_currency_list: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_wpsc_download_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wpsc_product_rating: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_purchase_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_purchase_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_region_tax: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_submited_form_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpsc_visitors: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wpsc_visitor_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_yith_wcwl: Data: 3.39MB + Index: 1.73MB + Engine MyISAM wp_yith_wcwl_lists: Data: 5.19MB + Index: 10.34MB + Engine MyISAM ### Post Type Counts ### attachment: 184 blocks: 19 cpm_project: 3 cpm_task: 3 cpm_task_list: 3 customize_changeset: 46 ec_woo_ddb_template: 11 featured_item: 8 flamingo_contact: 105 flamingo_inbound: 21 ig_campaign: 2 ig_message: 5 kbe_knowledgebase: 1 language_switcher: 2 mc4wp-form: 2 mgmlp_media_folder: 32 nav_menu_item: 16 np-redirect: 1 page: 34 popup: 1 popup_theme: 6 post: 10 postman_sent_mail: 250 product: 37 revision: 132 shop_coupon: 2 shop_order: 211 shop_order_refund: 4 tablepress_table: 3 wbcr-snippets: 1 wpcf7_contact_form: 4 yaymail_template: 14 yith_popup: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (49) ### WeePie Framework: door WeePie Plugins – 1.4.14 Follow Buttons by AddThis: door The AddThis Team – 4.2.6 Advanced Cron Manager: door BracketSpace – 2.4.1 Advanced noCaptcha & invisible Captcha: door Shamim Hasan – 6.1.5 Advanced Woo Search: door ILLID – 2.25 ATUM Inventory Management for WooCommerce: door Stock Management Labs? – 1.8.8 Betaalpoort-gebaseerde vergoedingen en kortingen voor WooCommerce: door Tyche Softwares – 2.6.2 Child Theme Configurator: door Lilaea Media – 2.5.8 Codefragmenten: door Code Snippets Pro – 2.14.1 Contact Form 7: door Takayuki Miyoshi – 5.4 Crop Thumbnails: door Volkmar Kantor – 1.3.1 Custom Scrollbar: door Michael Uno (miunosoft) – 1.3.6 Doneren met Mollie: door Wobbie.nl – 2.8.10 Yoast Duplicate Post: door Enrico Battocchi & Team Yoast – 4.1.2 Enhanced Media Library: door wpUXsolutions – 2.8.5 Envato Market: door Envato – 2.0.6 Flamingo: door Takayuki Miyoshi – 2.2.1 Flexible Checkout Fields: door WP Desk – 3.0.8 Google Analytics Dashboard for WP (GADWP): door ExactMetrics – 6.7.0 Google Webfonts For Woo Framework: door Jason Judge – 1.6.4 Google Typography: door Eric Alli – 1.1.2 Kadence WooCommerce Email Designer: door Kadence WP – 1.4.7 Loco Translate: door Tim Whitlock – 2.5.2 Mollie-betalingen voor WooCommerce: door Mollie – 6.2.2 Permalink Manager Lite: door Maciej Bis – 2.2.9.7 Postman SMTP: door Jason Hendriks – 1.7.2 Regenerate Thumbnails: door Alex Mills (Viper007Bond) – 3.1.5 Search by Algolia – Instant & Relevant results: door Algolia – 2.11.3 Stylist: door StylistWP – 0.2.6 TablePress: door Tobias B?thge – 1.13 Theme Authenticity Checker (TAC): door builtBackwards – 1.5.3 TranslatePress - Multilingual: door Cozmoslabs Razvan Mocanu Madalin Ungureanu Cristophor Hurduban – 1.9.9 WordPress Version Info: door alpipego – 1.2.1 WooCommerce UPC, EAN, and ISBN: door Scott Bolinger – 0.5.0 Checkout Field Editor for WooCommerce: door ThemeHigh – 1.4.7 WPC Product Bundles voor WooCommerce: door WPClever – 5.5.3 WooCommerce Admin: door WooCommerce – 2.2.1 Direct Checkout for WooCommerce: door QuadLayers – 2.4.5 WooCommerce Google Analytics Integration: door WooCommerce – 1.5.1 WooCommerce PDF Invoices & Packing Slips: door Ewout Fernhout – 2.8.3 WooCommerce Product Stock Alert: door WC Marketplace – 1.7.1 WooCommerce Shop as Customer: door cxThemes – 2.16 WooCommerce Table Rate Shipping: door Bolder Elements – 4.1.3 WooCommerce: door Automattic – 5.2.2 WooSidebars: door WooCommerce – 1.4.5 WP Change Default From Email: door Subodh Ghulaxe – 1.1.3 WeePie Cookie Allow: door WeePie Plugins – 3.2.6 Wp-Insert: door Namith Jawahar – 2.4.8 YITH WooCommerce Wishlist: door YITH – 3.0.20 ### Inactive Plugins (20) ### Akismet Anti-Spam: door Automattic – 4.1.9 Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: door codewoogeek – 1.10.8 Classic Editor: door WordPress Contributors – 1.6 Email Customizer for WooCommerce with Drag Drop Builder: door CidCode – 1.6.1 Email Templates: door Damian Logghe – 1.3.2.1 Error Log Monitor: door Janis Elsts – 1.7 Font Awesome 4 Menus: door New Nine Media – 4.7.0 Nested Pages: door Kyle Phillips – 3.1.13 Newsletter: door Stefano Lissa & The Newsletter Team – 7.1.2 SendCloud | Smart Shipping Service: door SendCloud B.V. – 1.1.4 Unicode Characters Keyboard: door Terry O'Brien – 1.2 Velvet Blues Update URLs: door VelvetBlues.com – 3.2.10 WooCommerce Discontinued Products: door Leon @ 211J – 1.1.7 WooCommerce Extra Fee Option: door Terry Tsang – 1.0.9 WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels: door WebToffee – 2.7.7 Woody code snippets (PHP snippets | Insert PHP): door Creative Motion Will Bontrager Software LLC <[email protected]> – 2.4.1 WP Knowledgebase: door Mihai Iova – 1.3.4 WP Mail Logging: door MailPoet – 1.9.7 YellowPencil: door WaspThemes – 7.4.4 Zotabox: door Zotabox – 1.9.0 ### Settings ### API Enabled: ? Force SSL: ? Currency: EUR (€) Currency Position: left Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) 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 ### Winkelbasis: #121 - /shop/ Winkelmand: #2 - /winkelmand/ Afrekenen: #3 - /afrekenen/ Mijn account: #4 - /mijn-account/ Algemene voorwaarden: #7 - /nl_nl/algemene-voorwaarden/ ### Theme ### Name: Flatsome Child Version: 3.0 Author URL: Child Theme: ? Parent Theme Name: Flatsome Parent Theme Version: 3.13.3 Parent Theme Author URL: https://www.uxthemes.com/ WooCommerce Support: ? ### Templates ### Overrides: flatsome/woocommerce/archive-product.php flatsome/woocommerce/cart/cart-empty.php flatsome/woocommerce/cart/cart-shipping.php flatsome/woocommerce/cart/cart.php flatsome/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php flatsome/woocommerce/checkout/terms.php flatsome/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product-cat.php flatsome/woocommerce/content-product.php flatsome/woocommerce/content-single-product.php flatsome/woocommerce/content-widget-product.php flatsome-child/woocommerce/emails/customer-invoice.php flatsome/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/pagination.php flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome/woocommerce/myaccount/form-login.php flatsome/woocommerce/myaccount/navigation.php flatsome/woocommerce/notices/error.php flatsome/woocommerce/notices/notice.php flatsome/woocommerce/notices/success.php flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/rating.php flatsome/woocommerce/single-product/related.php flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php flatsome/woocommerce/single-product.php flatsome/woocommerce/content-product_cat.php ### Action Scheduler ### Geannuleerd: 1 Oldest: 2021-04-12 04:02:38 +0200 Newest: 2021-04-12 04:02:38 +0200 Afgerond: 508 Oldest: 2021-03-24 00:47:58 +0100 Newest: 2021-04-23 20:02:21 +0200 In afwachting: 2 Oldest: 2021-04-24 20:02:21 +0200 Newest: 2021-04-24 20:02:21 +0200 ### Status report information ### Generated at: 2021-04-24 15:25:17 +02:00
- The topic ‘Address Container content in Woocommerce emails’ is closed to new replies.