You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request: Display coupons used in email invoices.
This is important as currently, the discount table row displays the discount but not why it is there/what gave the discount. I attempted to do a work around with add_action or filters but it is so impossibly annoying to insert anything into the email template the way it is currently setup to display information based on each item in a list (be it $totals or $field). It seems quite easy to use the existing get_used_coupons function to display the coupons used underneath the discount words in the discount row or even insert a new row with coupons which is probably even easier but difficult as can be without modifying the core files instead of relying on add_action.
STEPS TO REPRODUCE THE ISSUE
Attempt to use add_action to add coupon codes to email invoices
Difficulty due to the way the email templates are setup.
Give up and make issue report.
SYSTEM STATUS
```
WordPress Environment
Home URL: http://sognotoscano.com
Site URL: http://sognotoscano.com
WC Version: 2.4.13
Log Directory Writable: ✔ /nas/content/live/customersogno/wp-content/uploads/wc-logs/
WP Version: 4.7.5
WP Multisite: –
WP Memory Limit: 40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
WP Debug Mode: –
Language: en_US
Server Environment
Server Info: Apache
PHP Version: 5.6.30-1+wpengine8
PHP Post Max Size: 100 MB
PHP Time Limit: 3600
PHP Max Input Vars: 1000
SUHOSIN Installed: –
MySQL Version: 5.6.35
Max Upload Size: 50 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Remote Post: ✔
Remote Get: ✔
LayerSlider WP: by Kreatura Media – 5.3.2
Akismet Anti-Spam: by Automattic – 3.3.2
Contact Form 7: by Takayuki Miyoshi – 4.3.1
WooCommerce Extended Coupon Features PRO: by Soft79 – 2.3.7.3
WooCommerce Checkout Add-Ons: by WooThemes / SkyVerge – 1.6.4 – 1.10.4 is available
WooCommerce Conversion Tracking: by Tareq Hasan – 1.2.1
WooCommerce Header Category Image: by Get Bowtied – 1.0.0
WooCommerce Mijireh Checkout: by WooThemes – 1.0.8
WooCommerce: by WooThemes – 2.4.13
Yoast SEO: by Team Yoast – 3.4.2
WP Retina 2x: by Jordy Meow – 4.4.3
Settings
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
</details>
<!--
BEFORE POSTING YOUR ISSUE
- These comments won't show up when you submit the issue.
- Try to add as much detail as possible. Be specific!
- GitHub issues ARE NOT FOR SUPPORT! If you have questions, use the either:
- https://wordpress.org/support/plugin/woocommerce for general support
- https://woocommerce.com/my-account/tickets/ for premium plugin support
- If you're requesting a new feature, explain why you'd like it to be added.
- Search this repository (top of the page) for the issue and it has not been fixed or reported already.
Before logging BUGS, ensure you:
- Use the latest stable release of WooCommerce.
- Disabled all plugins to ensure it's a core bug and not a plugin issue.
- Switched to Twenty Twelve theme to ensure it's a core bug and not a theme issue.
-->
The text was updated successfully, but these errors were encountered:
EXPLANATION OF THE ISSUE
Feature Request: Display coupons used in email invoices.
This is important as currently, the discount table row displays the discount but not why it is there/what gave the discount. I attempted to do a work around with add_action or filters but it is so impossibly annoying to insert anything into the email template the way it is currently setup to display information based on each item in a list (be it $totals or $field). It seems quite easy to use the existing get_used_coupons function to display the coupons used underneath the discount words in the discount row or even insert a new row with coupons which is probably even easier but difficult as can be without modifying the core files instead of relying on add_action.
STEPS TO REPRODUCE THE ISSUE
SYSTEM STATUS
WordPress Environment
Home URL: http://sognotoscano.com
Site URL: http://sognotoscano.com
WC Version: 2.4.13
Log Directory Writable: ✔ /nas/content/live/customersogno/wp-content/uploads/wc-logs/
WP Version: 4.7.5
WP Multisite: –
WP Memory Limit: 40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
WP Debug Mode: –
Language: en_US
Server Environment
Server Info: Apache
PHP Version: 5.6.30-1+wpengine8
PHP Post Max Size: 100 MB
PHP Time Limit: 3600
PHP Max Input Vars: 1000
SUHOSIN Installed: –
MySQL Version: 5.6.35
Max Upload Size: 50 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Remote Post: ✔
Remote Get: ✔
Database
WC Database Version: 2.4.13
:
woocommerce_api_keys: ✔
woocommerce_attribute_taxonomies: ✔
woocommerce_termmeta: ✔
woocommerce_downloadable_product_permissions: ✔
woocommerce_order_items: ✔
woocommerce_order_itemmeta: ✔
woocommerce_tax_rates: ✔
woocommerce_tax_rate_locations: ✔
Active Plugins (11)
LayerSlider WP: by Kreatura Media – 5.3.2
Akismet Anti-Spam: by Automattic – 3.3.2
Contact Form 7: by Takayuki Miyoshi – 4.3.1
WooCommerce Extended Coupon Features PRO: by Soft79 – 2.3.7.3
WooCommerce Checkout Add-Ons: by WooThemes / SkyVerge – 1.6.4 – 1.10.4 is available
WooCommerce Conversion Tracking: by Tareq Hasan – 1.2.1
WooCommerce Header Category Image: by Get Bowtied – 1.0.0
WooCommerce Mijireh Checkout: by WooThemes – 1.0.8
WooCommerce: by WooThemes – 2.4.13
Yoast SEO: by Team Yoast – 3.4.2
WP Retina 2x: by Jordy Meow – 4.4.3
Settings
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
API
API Enabled: ✔
API Version: 3.0.0
WC Pages
Shop Base: #6 - /shop/
Cart: #7 - /cart/
Checkout: #8 - /checkout/
My Account: #9 - /my-account/
Taxonomies
Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
Theme
Name: Mr. Tailor Child Theme
Version: 1.1.1
Author URL: http:%20//www.getbowtied.com/
Child Theme: ✔
Parent Theme Name: Mr. Tailor
Parent Theme Version: 1.1.1
Parent Theme Author URL: http://www.getbowtied.com/
WooCommerce Support: ✔
Templates
Overrides: mrtailor/woocommerce/archive-product.php
mrtailor/woocommerce/cart/cart-empty.php
mrtailor/woocommerce/cart/cart-shipping.php
mrtailor/woocommerce/cart/cart-totals.php
mrtailor/woocommerce/cart/cart.php
mrtailor/woocommerce/cart/cross-sells.php
mrtailor/woocommerce/cart/mini-cart.php
mrtailor/woocommerce/checkout/form-billing.php
mrtailor/woocommerce/checkout/form-checkout.php
mrtailor/woocommerce/checkout/form-coupon.php
mrtailor/woocommerce/checkout/form-login.php
mrtailor/woocommerce/checkout/form-shipping.php
mrtailor/woocommerce/checkout/payment-method.php
mrtailor/woocommerce/checkout/thankyou.php
mrtailor/woocommerce/content-product.php
mrtailor/woocommerce/content-product_cat.php
mrtailor/woocommerce/content-single-product.php
mrtailor/woocommerce/global/wrapper-end.php
mrtailor/woocommerce/global/wrapper-start.php
mrtailor/woocommerce/loop/loop-end.php
mrtailor/woocommerce/loop/loop-start.php
mrtailor/woocommerce/loop/no-products-found.php
mrtailor/woocommerce/loop/orderby.php
mrtailor/woocommerce/loop/result-count.php
mrtailor/woocommerce/myaccount/form-edit-account.php
mrtailor/woocommerce/myaccount/form-edit-address.php
mrtailor/woocommerce/myaccount/form-login.php
mrtailor/woocommerce/myaccount/form-lost-password.php
mrtailor/woocommerce/myaccount/my-account.php
mrtailor/woocommerce/myaccount/my-address.php
mrtailor/woocommerce/myaccount/my-downloads.php
mrtailor/woocommerce/myaccount/my-orders.php
mrtailor/woocommerce/notices/error.php
mrtailor/woocommerce/order/form-tracking.php
mrtailor/woocommerce/single-product/add-to-cart/external.php
mrtailor/woocommerce/single-product/add-to-cart/grouped.php
mrtailor/woocommerce/single-product/add-to-cart/simple.php
mrtailor/woocommerce/single-product/add-to-cart/variable.php
mrtailor/woocommerce/single-product/meta.php
mrtailor/woocommerce/single-product/product-image.php
mrtailor/woocommerce/single-product/product-thumbnails.php
mrtailor/woocommerce/single-product/related.php
mrtailor/woocommerce/single-product/review.php
mrtailor/woocommerce/single-product/short-description.php
mrtailor/woocommerce/single-product/tabs/tabs.php
mrtailor/woocommerce/single-product/up-sells.php
mrtailor/woocommerce/single-product-reviews.php
mrtailor/woocommerce/single-product.php
.
The text was updated successfully, but these errors were encountered: