Mike Jolley
a3eec05b0c
Remove strip tags from invoice template
...
#8793
2015-08-12 18:31:21 +01:00
Mike Jolley
318f399081
Small tidy for scruitinizer
2015-08-10 14:56:02 +01:00
George Stephanis
c938fa24da
More missing esc_attr calls, :(
2015-08-05 15:17:52 -04:00
Mike Jolley
15327ef268
Fix borders by limiting length of the styles per line
...
Closes #8655
2015-07-27 18:34:51 +01:00
James Koster
043294b5ed
template versions
2015-07-13 11:44:18 +01: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
Mike Jolley
c136d4ffd8
Merge branch 'master' into add-email-notification-for-partial-refunds-issue-8278
2015-06-19 13:05:52 +01:00
James Koster
92c048c9ff
totals / addresses. #7841
2015-06-18 15:56:51 +01:00
James Koster
5836370a38
font family. #7841
2015-06-18 14:58:42 +01:00
James Koster
82df867276
text color. #7841
2015-06-18 14:46:25 +01:00
James Koster
fd18b129e4
border colors. #7841
2015-06-18 14:22:40 +01:00
James Koster
7dbdbdaf13
td colors. #7841
2015-06-18 14:14:26 +01:00
James Koster
3292cdfc55
link colors. #7841
2015-06-18 13:35:28 +01:00
James Koster
df51bb3a97
product image/title. #7841
2015-06-18 13:30:08 +01:00
James Koster
370ae8e94b
table colors. #7841
2015-06-18 13:02:43 +01:00
James Koster
2dbb7e9478
table fonts. #7841
2015-06-18 12:54:18 +01:00
James Koster
e09f5e35db
header padding. #7841
2015-06-18 12:39:12 +01: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
Justin Shreve
54586115b7
Add a line break after every download file link is outputed in the email order items template.
2015-06-09 15:38:21 +00:00
Claudio Sanches
169e72b824
Added extra arg to all woocommerce_order_item_name filters #8159
2015-05-27 13:29:15 -03:00
Claudio Sanches
baf020c68a
Updated email-header.php template version to 2.4.0 #8200
2015-05-21 17:05:11 -03:00
Louy Alakkad
dec30bd456
Add direction to emails.
...
Fixes an issue where emails in RTL languages were rendered as LTR.
2015-05-21 23:01:52 +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
roykho
202f4c7045
added id to addresses email template to allow 3rd party plugins to override easier
2015-04-20 09:21:00 -07:00
Manos Psychogyiopoulos
2053a83399
woocommerce_email_order_item_quantity filter
2015-04-20 00:22:42 +03:00
Manos Psychogyiopoulos
3ac13562f5
typo
2015-03-30 16:15:23 +03:00
Mike Jolley
e0bc770ef4
Merge pull request #7805 from helgatheviking/email-table-row-classes
...
apply order item classes to table rows in emails
2015-03-26 10:34:42 +00:00
Kathy Darling
53554e6a95
apply order item classes to table rows in emails
2015-03-24 16:36:51 +01: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
c79fee2c82
Merge pull request #7690 from woothemes/email-styling-issues
...
Email styling inconsistencies
2015-03-12 10:36:24 +00:00
Tamara Zuk
0259a30212
Use `$order->get_order_number()` in Cancel Order email header
2015-03-12 00:55:03 -04:00
Gerhard
f64ed79780
Move email footer insline styling to email-styles template for use with imogrifier instead.
2015-03-11 13:03:15 +02:00
Gerhard
2faf92b018
Escape colour outputs in email styles
2015-03-11 12:55:17 +02:00
Gerhard
ec75c0dd5d
Move font-family to last line in css rule as the quote causes issues with imogrification.
2015-03-11 12:53:06 +02:00
Gerhard
9b7bd120e1
Escape $bg_darker_10 variable on output
2015-03-11 12:52:28 +02:00
Risto Niinemets
798c1a9933
fix email img border style typo
2015-02-26 16:40:26 +02:00
Remi Corson
329240e4f3
Fixed email style color var
2015-02-23 17:47:57 +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
James Koster
f15a9ec10c
email padding
2015-01-02 13:16:15 +00:00
James Koster
501923f01e
css coding standards
2015-01-02 09:28:25 +00:00
James Koster
ea7ef0bea0
email font family.
2015-01-02 09:26:45 +00:00
James Koster
c476f4ac9f
h1 spacing. #6358
2014-12-23 11:52:22 +00:00
James Koster
b58f669582
padding. #6358
2014-12-23 11:42:11 +00:00
James Koster
3abbeb4dae
paddings / margins. #6358
2014-12-23 11:37:14 +00:00
James Koster
9fd865351b
shadow. #6358
2014-12-23 11:33:30 +00:00
James Koster
e42c1d3d33
padding. #6358
2014-12-23 11:28:28 +00:00
James Koster
6f37b3f46d
radius. #6358
2014-12-23 11:25:31 +00:00
James Koster
3b2cbfee81
font family. #6358
2014-12-23 11:24:56 +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
Mike Jolley
7490438da7
Merge pull request #6648 from SiR-DanieL/cancelled-order-email
...
Added cancelled order admin email
2014-11-11 02:53:35 -08:00
Yakir Gottesman
34554f98fb
minor rtl support for email header
2014-11-08 00:30:35 +02:00
Nicola Mustone
011bb0a784
Added cancelled order admin email
2014-10-29 15:05:43 +01:00
Mike Jolley
2b8be95360
Remove # (hash) from get_order_number and add to strings instead as needed.
...
Most places use Order #X
Some places use Order Number: X
Both are now valid.
Fixes #6518
2014-10-24 14:53:43 +01:00
Mike Jolley
997e7e7910
extra sanitisation for product data
2014-10-22 12:12:25 +01:00
Mike Jolley
ba5032fac3
Email RTL styles Closes #5945
2014-10-17 16:11:08 +01:00
Mike Jolley
32c6ae37ed
Fix $base notice in email template
2014-10-14 11:54:30 +01:00
Mike Jolley
f2d668a6b6
Allow a delimiter to be set in $item_meta->display()
...
Fixes #6526
2014-10-14 11:54:20 +01:00
Patrick Rauland
24551df08f
removing straggler CSS styles from email header template
2014-10-08 15:56:03 -06:00
Patrick Rauland
e1f0b406f7
updating email header version number
2014-10-08 15:54:28 -06: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
Patrick Rauland
fc630ca203
replacing old email style inliner with emogrifier inliner
2014-10-08 15:33:45 -06:00
Mike Jolley
448337386f
Fix item_id notice
2014-09-23 15:53:20 +01:00
Mike Jolley
1c6ed3dd2d
Merge pull request #6362 from axisthemes/ABSPATH-3
...
Absolute path should have curly braces - Final
2014-09-23 09:53:59 +01:00
shivapoudel
fbf0314bb6
Absolute path should have curly braces - part 1
2014-09-22 22:16:03 +05:45
Loushou
d729faeb4d
renaming and adding more new filters for custom metalike fields
...
changing order of existing display items to meta then downloads
loushou
2014-09-22 07:37:31 -07:00
Loushou
ed603eef42
filters for custom order item information on oi display tables
...
loushou
2014-09-18 09:10:56 -07:00
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
Patrick Rauland
0ac68cbd8e
removing webkit only styles from email templates;
2014-07-08 11:13:26 -06:00
Patrick Rauland
a7a0baea4f
adding divs w/ ids to email header template
2014-06-23 08:59:50 -05: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
b7643e469b
Merge pull request #4763 from claudiosmweb/remove_the_content_filter
...
Removed all the_content filter in favor to wpautop() and do_shortcode()
2014-05-15 10:52:26 +01: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
2a27663f1f
get_image_id method + use in email template
...
Closes #5288
2014-04-08 15:02:11 +01:00
splashingpixels
1e998f776e
template coding standard fixes
2014-04-07 19:29:39 -07: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
thenbrent
eed1411ba8
Check product exists before accessing methods
...
To avoid fatal errors when generating renewal orders in Subscriptions.
2014-02-21 16:29:55 -08:00
Mike Jolley
d5482d00d0
Fix printf in customer new account email Closes #4802
2014-02-14 15:50:30 +00:00
Coen Jacobs
18bd1f175f
Merge pull request #4760 from claudiosmweb/fix_hardcode_email_string
...
Fix hardcoded string in templates/emails/email-order-items.php
2014-02-13 09:00:35 +01:00
claudiosmweb
02053f2d5c
removed all the_content filter in favor to wpautop() and do_shortcode() functions
2014-02-13 02:49:30 -02: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
claudiosmweb
3e82329bc4
fixed some coding standards in templates/emails/email-order-items.php
2014-02-13 02:10:53 -02:00
claudiosmweb
c05804a8fb
fixed hardcode string in email-order-items.php template
2014-02-13 02:08:47 -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
Coen Jacobs
58f31163fc
Correct do_action arguments fix for #4359
...
Reverts db9d3ff0b7
partially
2014-01-03 15:55:51 +01:00
Coen Jacobs
db9d3ff0b7
Stripped faulty default values of do_action parameters. Closes #4359
2013-12-12 16:47:20 +01: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
Scott Basgaard
922fa990a5
esc_attr() all the things.
2013-11-20 20:11:59 +01:00
Scott Basgaard
de77ec07ea
esc_url() all the things.
2013-11-20 19:54:01 +01:00
Mike Jolley
5c96af4ff9
#3921
2013-10-15 16:27:57 +01:00
Mike Jolley
0a3cdc43ca
Include a link to admin. Closes #3796
2013-09-23 16:51:43 +01:00
Mike Jolley
96a7a4b730
Restructure 'file_paths' to allow for names ( Closes #3320 ) etc. For #2765 .
...
@coenjacobs @justinstern @maxrice These are major changes - CC ing you
guys in to take a quick look through. I know some extensions such as
vouchers will be affected.
2013-09-20 17:01:09 +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
Brad Touesnard
f6892a676c
Fixes #2897 : Long query string displayed as part of download file name
2013-04-07 15:13:47 -03:00
Mike Jolley
bb1c532218
filename, break query string off
2013-03-28 12:31:48 +00:00
Mike Jolley
a9af966f59
break word
2013-03-28 12:30:21 +00:00
Mike Jolley
c247ca0bb7
Show download file names when linking. Shortens links and therefore closes #2631 . cc @coenjacobs
2013-03-10 16:24:04 +00:00
Mike Jolley
e4eb7e295c
Un-needed clear
2013-02-15 10:06:41 +00:00
Ken Bass
30f539cbde
Fix spaces per WP Coding Standards
2012-12-27 08:09:01 -05:00
Ken Bass
8debb1697c
Fix reset password URL to work with non-pretty permalinks
...
Fix security issue where new password is being changed on non-SSL page.
2012-12-25 00:19:33 -05: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
jorijnsmit
29f8d1bee7
Update templates/emails/admin-new-order.php
...
Instead of the hard coded date format the date format from the admin panel is now used with get_option('date_format').
A more uniform and neater solution then via codestyling localization to my idea, I don't know how to replace all date related functions in the project in this way though...
2012-11-19 22:04:37 +01:00
Mike Jolley
d804588334
Fix emails in gmail + added a function to insert inline styles. Closes #1710 .
2012-11-14 17:44:58 +00:00
Mike Jolley
7a055f5296
Change class handling for country. Closes #1683 .
2012-11-06 11:49:49 +00: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
Coen Jacobs
80fc5fc086
[3.2.3] Templates XSS #1575
2012-10-16 17:35:16 +02: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
c271590fc9
Tweak templates
2012-09-17 11:36:30 +01:00
Mike Jolley
1b4130bc56
new email interface + plain text versions
2012-09-17 11:36:30 +01:00
Mike Jolley
4c4bc9f5d2
Multi download features, and added the expirey back.
2012-09-06 16:16:16 +01:00
Justin Stern
9217ca09e0
Support for Multiple Downloads
...
Support for multiple downloadable files per product: both simple and
variable. This includes all admin, frontend, and database modification
code required for allowing multiple files, while maintaining backwards
compatibility for existing single-file download URLs and templates.
2012-08-28 11:21:54 -04:00
Mike Jolley
5d152f2181
Class docs
2012-08-15 19:15:10 +01:00
Mike Jolley
ef7ec98f2e
templates
2012-08-14 23:43:54 +01:00
Mike Jolley
2e96d554ce
has_file() Closes #1275 .
2012-07-31 12:58:00 +01:00
Mike Jolley
ac5fdeb9c4
email tweaks
2012-07-25 11:28:42 +01:00
Mike Jolley
5cd01f58a0
get_order_item_totals() total_rows have fixed indexes for easier manipulation. Closes #1059 .
2012-07-11 19:32:00 +01:00
Coen Jacobs
863918f7f4
Revert "Moved # character in translatable order strings. Closes #1161 "
...
This reverts commit f6c83fe6aa
.
2012-06-20 19:18:16 +02:00
Coen Jacobs
f6c83fe6aa
Moved # character in translatable order strings. Closes #1161
2012-06-20 19:14:33 +02:00