Commit Graph

148 Commits

Author SHA1 Message Date
Rami Yushuvaev 140d0efb99 i18n: Avoid using HTML tags in translation strings (#12166)
* i18n: Remove some HTML tags from translation strings

* i18n: simpler translation string

* i18n: translations strings with surrounding `<strong>` HTML tags should be moved outside the translation string

* i18n: Avoide using `<code>' HTML tags in translation strings

* i18n: Split the notice to avoide using HTML tags in translation strings
2016-10-24 21:56:37 -02:00
opportus 8123ba6184 improved structured data - merge conflict fix 2016-09-14 22:15:49 +02:00
Aristeides Stathopoulos 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos fde1037757 fix failing tests. 2016-09-01 23:50:14 +03:00
opportus 53a257bb91 improved structured data - merge conflict fix 2016-09-01 14:15:15 +02:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
opportus 9001f094ff improved structured data - branch update 2016-08-23 15:49:20 +02:00
Mike Jolley 3f4ffe8a49 More crud updates 2016-08-19 17:05:47 +01:00
opportus 5535da6a5b improved structured data - added generate_output_structured_data() method
| modified some methods names | few other tweaks
2016-08-15 00:39:01 +02:00
opportus 93088f45ac improved structured data - merge conflict fix 2016-08-11 00:49:20 +02:00
opportus b61aae01bf improved structured data - email order structured data integration +
WC_Structured_Data refactor + coding standards tweaks
2016-08-11 00:23:26 +02:00
Mike Jolley 30b0045d8a Fix more notices 2016-08-09 14:30:10 +01:00
Mike Jolley 8e5ddb4d81 Fix wc_get_email_order_items 2016-08-08 16:35:03 +01:00
Mike Jolley a6bb78b34a date created 2016-08-08 16:32:03 +01:00
Mike Jolley 30742798ed Order table 2016-08-08 16:31:06 +01:00
Mike Jolley 39b4831e95 get_id 2016-08-05 15:56:23 +01:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
Claudio Sanches 7d9d091767 Fixed mixed tabs and spaces 2016-07-11 16:56:35 +02:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Mike Jolley f4791be088 Merge branch 'pr/10432' 2016-03-30 17:10:01 +01:00
Nicola Mustone c7756187e0 Added bool param for email order items hooks 2016-03-09 12:55:28 +01:00
Mike Jolley 054252ec24 Remove full stop after username
Closes #10511
2016-03-09 11:04:33 +00:00
Jon Koops bc097553c6 Add order_schema_markup action to output Schema markup for order emails. 2016-03-01 13:02:56 +01:00
Mike Jolley bd4c90dbec Docblocks
Fixes #10336
2016-02-12 11:28:44 +00:00
Mike Jolley 971f6a3dee Added email for on-hold orders.
Closes #9792
2016-02-08 13:20:19 +00:00
Claudio Sanches 563a557909 [2.5] Removed extra tab from plain email shipping address, closes #10253 2016-02-03 15:19:19 -02:00
Mike Jolley 2a6ea6e137 [2.5] Fix passed image_size variable 2016-01-27 15:29:27 +00:00
Mike Jolley f5e2717b6f [2.5] Show sku in admin emails
Closes #10107
2016-01-20 11:05:10 +00:00
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
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Coen Jacobs aaa14894ca Core functions woocommerce to wc refactor 2013-11-25 13:45:04 +01:00
Mike Jolley 0a3cdc43ca Include a link to admin. Closes #3796 2013-09-23 16:51:43 +01:00
Mike Jolley a92e3b497a Missing line break in email Closes #3727 2013-09-06 10:20:26 +01:00
Mike Jolley b2b64b9d06 Let hooks know if email is plain text 2013-08-07 10:19:46 +01:00
Mike Jolley 725cb7714b More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170. 2013-07-23 17:05:01 +01:00
Mike Jolley 3b5d8b7d41 Futher standardisation of cart and order loops. Closes #3348. 2013-06-17 12:21:24 +01:00
Mike Jolley 820d399b2f My account registration, made registration process DRY, added notification hook for new accounts. Closes #3085 2013-06-04 16:33:05 +01:00
Mike Jolley a7ba197fb7 Generate usernames and passwords.
Closes #3085. Closes #3155. Part of #3248.
2013-06-03 17:28:32 +01:00
Mike Jolley 1630a1d1af Separate with line breaks. Closes #3049 2013-04-29 16:47:33 +01:00
Coen Jacobs 37feabd87f WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Coen Jacobs cb4f34a177 Introducing woocommerce_date_format() to properly do #1791 2012-11-21 13:28:16 +01:00
Coen Jacobs 3734f7addc Changed rest of #1791 translatable strings to date_format 2012-11-21 12:16:17 +01:00
Mike Jolley 549880b8eb New structure for line items (this one uses meta more) 2012-10-23 17:41:42 +01:00
Mike Jolley 15eb48242a [3.2.3] XSS #1575 2012-10-16 16:46:41 +01:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
Max Rice 2faa4d651b added lost password shortcode / email notification
I think the current process for a customer to reset their password is
jarring, especially if the shop hasn't styled the wordpress login form
to match their branding. The form process is mainly copied from the
same process in wp-login.php and fires the same actions to maintain
compatibility.
2012-10-04 14:51:07 -04:00
Mike Jolley 1b4130bc56 new email interface + plain text versions 2012-09-17 11:36:30 +01:00