Commit Graph

70 Commits

Author SHA1 Message Date
Mike Jolley b5a2c2a9d5 Unify all order email tables to use a single template
Closes #9587

@claudiosmweb @jameskoster
2015-11-30 15:16:23 +00:00
mitogh f8f70f294a Update strict comparission and update to Yoda condition
In order to follow one of the best practices from the Wordpress
handbook:

- https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#yoda-conditions
2015-11-14 20:35:29 -06:00
Mike Jolley 1b38f380af Merge remote-tracking branch 'origin/master'
Conflicts:
	includes/emails/class-wc-email.php
2015-11-03 16:09:01 +00:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Mike Jolley 48b93b937f Added admin order/payment failed notification
Closes #8617
2015-11-02 14:45:24 +00:00
Mike Jolley 798cf9a50b Merge pull request #9485 from helgatheviking/email-ids-on-hooks
pass email object to email templates and template hooks
2015-11-02 13:02:04 +00:00
Mike Jolley 3ca5022649 Added template files for the customer details list in emails. emails/email-customer-details.php
Closes #9253
2015-11-02 10:41:05 +00:00
Kathy Darling f893d73af6 pass email object to email templates and template hooks 2015-10-31 23:04:59 -05:00
Caleb Burks ee2757c08f Specific template override paths 2015-10-03 02:58:08 -05:00
Mike Jolley de4a80f950 Add disclaimer to template files
Closes #8942
2015-10-01 16:07:35 +02:00
Claudio Sanches 89cef9ff02 Introduces methods to WC_Abstract_Order for get customer full name
New methods:

WC_Abstract_Order::get_formatted_billing_full_name()
WC_Abstract_Order::get_formatted_shipping_full_name()

closes #8535

cc: @mikejolley
2015-07-08 18:00:19 -03:00
davidlenehan 718d550252 Merging refund email template files
Changing previous commit to merge templates for partial and full
refunds to cut down on files.
2015-06-18 11:34:21 +01:00
davidlenehan 8b02b02145 Add email notification for partial refunds
fixes #8278

Emails are now sent to the customer when a partial refund is issued. I
referenced #7785 when doing this.

When a full refund happens the email the customer receives is clear
enough that they are getting a full refund. However I thought it would
be useful to add a new line in these new partial refund emails that
states exactly the value of the partial refund as it may not be that
clear.
2015-06-17 15:35:54 +01:00
Claudio Sanches 169e72b824 Added extra arg to all woocommerce_order_item_name filters #8159 2015-05-27 13:29:15 -03:00
Kathy Darling e1c471b9c4 update template version numbers to 2.3.0. closes #8176 2015-05-17 17:17:16 +02:00
Mike Jolley 3b3845872f Change deprecated args
Closes #7210
2015-05-01 14:52:51 +01:00
Manos Psychogyiopoulos 2053a83399 woocommerce_email_order_item_quantity filter 2015-04-20 00:22:42 +03:00
Nicola Mustone 00d8b11a3f version 2.4.0 2015-03-20 17:55:50 +01:00
Nicola Mustone c593e4ca50 added customer order refunded email 2015-03-20 16:31:31 +01:00
Mike Jolley 09676934d6 Fix address formatting and improve email appearance
Fixes #7484
2015-02-19 13:57:22 +00:00
John Clause 6c9f863c04 replaced get_bloginfo('name') with get_bloginfo('name','display') 2015-02-17 20:56:18 -07:00
Paul Wilde c913316f8b Introduce wc_get_page_permalink. 2015-02-15 19:13:22 +00:00
Claudio Sanches 84edb9d8c6 Fixed admin cancelled order emails 2015-01-30 12:11:32 -02:00
Claudio Sanches afb19715d4 Prevented XSS in urls 2015-01-29 12:33:06 -02:00
Mike Jolley f3cc45cfa9 Grammar corrections
Closes #7216
2015-01-28 17:15:48 +00:00
Mike Jolley 72f41440dd Fix purchase note output
Fixes #6835
2014-12-05 14:54:12 +00:00
Manos Psychogyiopoulos df96a33f20 add order_item_visible_filter
In line with the existing 'cart_item_visible' filter.
2014-12-05 09:22:09 +02:00
Kathy Darling cfeeb7e9c6 Merge branch 'email_customer_details_hook_backup' into email_customer_details_hook_2
Conflicts:
	includes/class-wc-emails.php
2014-11-13 00:32:15 +01:00
Mike Jolley 6a54a7b928 Tweak intro text #6648 2014-11-11 10:57:53 +00:00
Nicola Mustone 011bb0a784 Added cancelled order admin email 2014-10-29 15:05:43 +01:00
Mike Jolley 997e7e7910 extra sanitisation for product data 2014-10-22 12:12:25 +01:00
Kathy Darling a13218eba2 add customer details and addresses to emails via `woocommerce_email_customer_details` hook 2014-10-08 23:47:50 +02:00
Mike Jolley 448337386f Fix item_id notice 2014-09-23 15:53:20 +01:00
shivapoudel fbf0314bb6 Absolute path should have curly braces - part 1 2014-09-22 22:16:03 +05:45
Geert De Deckere 24d588544b Removed unused global $woocommerce variable from the templates
The WC() function is to be used since v2.1
2014-08-17 22:29:51 +02:00
claudiosmweb 1100d5b39a changed the address format in plain text emails 2014-06-17 17:33:55 -03:00
Mike Jolley a621288459 Fix address format in plain text email 2014-06-09 12:08:45 +01:00
Mike Jolley 309f700283 has_status 2014-06-03 10:45:33 +01:00
Mike Jolley e0a74fffc4 implement is_status() 2014-05-30 17:43:21 +01:00
claudiosmweb f013b30da7 hidden the shipping address when local pickup is used, closes #4870 2014-05-28 16:22:17 -03:00
Mike Jolley 937db45913 [2.2] Merge ship to billing and billing only options
+ update options, update files to use new option + function Closes #5284
2014-04-08 16:28:27 +01:00
Mike Jolley 38872b8536 For custom attributes, try to turn back to 'name' from saved slug in emails/view order templates Closes #4833 2014-02-24 15:14:32 +00:00
claudiosmweb f6f4e8d5ea fixed some coding standards in templates/emails/plain/email-order-items.php 2014-02-13 02:24:34 -02:00
claudiosmweb a5d21f4e56 removed not useful nl2br in emails plain templates 2014-02-13 02:22:34 -02:00
splashingpixels 454b97080a coding standards fixes 2014-01-22 20:36:24 -08:00
splashingpixels b16d5195c8 coding standards fixes 2014-01-14 21:53:37 -08:00
Mike Jolley e15c572465 Better handling for sent to admin/plain text args Closes #4359 2014-01-08 15:04:49 +00:00
Mike Jolley 3c537d8373 Show names and urls for emails in plain text Closes #4259 2013-12-03 16:50:19 +00:00
Coen Jacobs 47ae00be28 Page functions woocommerce to wc refactor 2013-11-25 15:07:22 +01:00