woocommerce / woocommerce

A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
https://woocommerce.com
9.39k stars 10.77k forks source link

Shipping Address missing from email #15641

Closed WillBrubaker closed 7 years ago

WillBrubaker commented 7 years ago

EXPLANATION OF THE ISSUE

When manually creating an order, if the shipping address is different than the billing address, the shipping address is not contained in the order related emails.

STEPS TO REPRODUCE THE ISSUE

  1. Manually create an order, assume that whatever product is in the order requires shipping.
  2. Edit the shipping address to be different than the billing address
  3. Trigger a new order email
  4. See missing shipping address :(

reported in ticket: 589553-zd-woothemes and replicated locally.

SYSTEM STATUS

``` ### WordPress Environment ### Home URL: http://www.stockchecks.com Site URL: http://www.stockchecks.com WC Version: 3.0.8 Log Directory Writable: ✔ WP Version: 4.8 WP Multisite: – WP Memory Limit: ❌ 40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP WP Debug Mode: – WP Cron: ✔ Language: en_US ### Server Environment ### Server Info: Apache/2.4.25 PHP Version: 5.6.30 PHP Post Max Size: 8 MB PHP Time Limit: 0 PHP Max Input Vars: 1000 cURL Version: 7.36.0 OpenSSL/1.0.1e SUHOSIN Installed: – MySQL Version: 5.6.35 Max Upload Size: 2 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 3.0.8 WC Database Prefix: caxa_ woocommerce_sessions: ✔ woocommerce_api_keys: ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_downloadable_product_permissions: ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates: ✔ woocommerce_tax_rate_locations: ✔ woocommerce_shipping_zones: ✔ woocommerce_shipping_zone_locations: ✔ woocommerce_shipping_zone_methods: ✔ woocommerce_payment_tokens: ✔ woocommerce_payment_tokenmeta: ✔ ### Security ### Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates. Hide errors from visitors: ✔ ### Active Plugins (28) ### WPBruiser: by Mihai Chelaru – 3.1.7 404 to 301: by Joel James – 2.3.3 Akismet Anti-Spam: by Automattic – 3.3.2 All in one Favicon: by Arne Franken – 4.6 All In One SEO Pack Pro: by Michael Torbert – 2.4.13.2 All-in-One WP Migration: by ServMask – 6.48 Breadcrumb NavXT: by John Havlik – 5.7.0 Contact Form DB: by Michael Simpson – 2.10.20 Export User Data: by Q Studio – 1.3.1 Image Widget: by Modern Tribe Inc. – 4.4.4 Jetpack by WordPress.com: by Automattic – 5.0 Limit Login Attempts: by Johan Eenfeldt – 1.7.1 Meta Slider: by Matcha Labs – 3.5.1 P3 (Plugin Performance Profiler): by GoDaddy.com – 1.5.3.9 Postman SMTP: by Jason Hendriks – 1.7.2 Simple Custom CSS: by John Regan Danny Van Kooten – 3.3 Simple Links: by Mat Lipe – 4.2.2 TablePress: by Tobias Bäthge – 1.8 WooCommerce Admin Bar Addition: by David Decker - DECKERWEB – 2.7.0 WooCommerce Amazon Pay Gateway: by WooCommerce – 1.7.1 WooCommerce PayPal Pro (Classic and PayFlow Editions) Gateway: by WooCommerce – 4.4.7 Woocommerce Adwords Conversion Tracking: by Víctor Falcón – 1.0.1 WooCommerce Product Add-ons: by WooCommerce – 2.8.1 Woocommerce Products Per Page: by Jeroen Sormani – 1.2.2 Woo Radio Buttons: by DesignLoud – 3.0.0 WooCommerce: by Automattic – 3.0.8 WooCommerce Helper: by WooCommerce – 1.7.2 – Network enabled YouTube widget responsive: by StefanoAI – 1.4.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) ### WC Pages ### Shop base: #3 - /products/ Cart: #4 - /cart/ Checkout: #5 - /checkout/ My account: #6 - /my-account/ ### Theme ### Name: ShootingStar Version: 2.1.6 Author URL: http://www.tomastoman.cz/ Child Theme: ❌ – If you're modifying WooCommerce on a parent theme you didn't build personally then we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Archive Template: Your theme has a woocommerce.php file you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: – ```
mikejolley commented 7 years ago

Happens when there are no shipping methods added in the order.

mikejolley commented 7 years ago

Decided not to merge https://github.com/woocommerce/woocommerce/pull/15655

If an order has no shipping costs, it has no shipping methods, and thus should not show shipping related data.

bjornarhagen commented 5 years ago

Is there any way to force shipping address to show in the email even if there is no shipping costs or methods?

mikejolley commented 5 years ago

Through template editing only.