Commit Graph

408 Commits

Author SHA1 Message Date
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
Mike Jolley 4d7d184698 newlines and styling tweak. Closes #1112. 2012-06-10 18:45:43 +01:00
Brent Shepherd 0e34d66ac1 Replacing formatting code duplicated in email items template with call to WC_Order::get_formatted_line_subtotal(). 2012-04-27 17:00:47 +10:00
Mike Jolley 392571aab0 exists function 2012-04-20 11:17:40 +01:00
Mike Jolley 21a5829684 Outlook compat - tbody needs to be before tfoot. Wrong in html terms, but needed for outlook. 2012-04-10 18:34:45 +01:00
Mike Jolley e19f46c79d Add new terms + printf vs echo sprintf Closes #138. 2012-04-09 00:57:38 +01:00
Mike Jolley ab7953a646 Don't mail the password 2012-03-30 21:02:36 +01:00
Mike Jolley f692cf576f 'Invoice' for completed/pending emails re-sends download links etc. Closes #817. 2012-03-26 21:11:39 +01:00
Mike Jolley 740ef34492 Target blank for download links in emails. #854 2012-03-26 20:11:35 +01:00
Mike Jolley 659d3ee3b4 get order number function complete with filter. Tweak the display of order ID's if you use custom numbering.
Had to tweak some localisation strings to dump the '#' symbols.
2012-03-26 11:26:50 +01:00
Mike Jolley eec33a58f6 order items (for emails) moved to template file and tidied 2012-03-18 14:51:21 +00:00
Mike Jolley a81a9bfcb5 Purchase notes - add text to a product to include in order tables after payment 2012-02-27 17:05:26 +00:00
Mike Jolley 01bc65dc7f Minor tweaks + disable shipping option turns off shipping address display 2012-02-27 15:02:44 +00:00
Mike Jolley 9554a4c52c Admin tweaks and mixed cart handling. Closes #651. 2012-02-24 20:04:05 +00:00
Mike Jolley 3b5272e72e Improved template loader 2012-02-03 16:42:21 +00:00
Mike Jolley 35fadb00fe More consistent template file naming, broken checkout into templates 2012-01-29 13:36:33 +00:00
Mike Jolley 23a3776f04 Tweaks to order/validation class to improve performance 2012-01-13 00:46:56 +00:00
Mike Jolley a2d51aa201 Github sabotages files -.- 2012-01-12 00:54:45 +00:00
Mike Jolley 1dc5a3bc0b Revert 136456f805ccdf9b7b6bce027dc24da3c14d4281^..HEAD 2012-01-12 00:43:30 +00:00
Mike Jolley 136456f805 Remonde ob_start. Moved checkout processing to init hook. Fixed email bug. 2012-01-12 00:30:21 +00:00
Mike Jolley 4fe59d979e Order fixes 2012-01-10 16:43:06 +00:00
Mike Jolley aba310f321 WPML filters #244 2012-01-06 17:14:31 +00:00
Mike Jolley f74e041a30 Renamed textdomain Closes #444. 2012-01-05 11:31:22 +00:00
Mike Jolley 8733821091 Email totals, interface for local tax rates 2012-01-02 17:45:26 +00:00
Mike Jolley ec7135ebb4 Taxes rounding + shipping, started email totals 2012-01-02 00:49:00 +00:00
Spencer Finnell 092fe416ba Allow email subjects to be filtered. 2011-12-22 14:59:59 -05:00
Mike Jolley 9c80356589 Download links. Closes #375. Closes #349. 2011-12-19 17:50:41 +00:00
Mike Jolley 4117d53f28 Cleaned up addresses 2011-12-19 00:17:44 +00:00
Mike Jolley 6dff689cb9 Fixes 2011-12-10 18:40:51 +00:00
Mike Jolley 733b51401c Moved email functions to classes, and made posts only save once (faster) 2011-12-10 17:28:32 +00:00
Mike Jolley 10d2431dc6 Missing localisation's. Closes #335. 2011-12-06 17:04:50 +00:00
Mike Jolley c8de45d773 Email table borders 2011-12-02 14:04:26 +00:00
Mike Jolley d33c81f34a updated email templates with new fields 2011-11-26 23:33:57 +00:00
Mike Jolley 87f74cd1a9 Added customer note email notifications. Closes #187. 2011-11-17 01:06:39 +00:00
Mike Jolley 046e51b70e Email invoice tweak 2011-11-13 12:35:30 +00:00
Mike Jolley e678fb50f6 Pay email changes 2011-11-11 14:30:32 +00:00
Mike Jolley ecbd0accda template check 2011-11-11 12:07:27 +00:00
Mike Jolley 4bd2f287f0 new account emails 2011-11-08 13:47:49 +00:00
Mike Jolley b7d9cb18ae Optimisations and emails can contain gateway specific text. Closes #131. 2011-11-02 20:32:35 +00:00
Mike Jolley 7891105ce1 Added ability to show order meta in emails - shows coupons by default. Closes #96. 2011-11-01 14:12:18 +00:00
Mike Jolley d40fd373f8 Removed all trailing white space. Closes #71. 2011-10-26 20:10:36 +01:00
Mike Jolley 3a6ae6de92 Image option for emails 2011-10-26 18:13:29 +01:00
Mike Jolley 9638a07a1d Shop Manager fixes 2011-10-26 14:11:20 +01:00
Mike Jolley 34d509bb12 Ability to style emails from settings 2011-10-25 13:54:16 +01:00
James Koster f9209dd2fa Should have fixed line-height (headings) issue in email template 2011-09-13 16:04:40 +01:00
James Koster a0502b1d82 more % layout stuff and changed email header colour to woo blue 2011-09-13 13:42:10 +01:00
Mike Jolley 1832e8bd8d New email system, better order review handling 2011-08-16 15:06:08 +01:00