Commit Graph

1193 Commits

Author SHA1 Message Date
James Koster 043294b5ed template versions 2015-07-13 11:44:18 +01:00
thenbrent 571b4a5238 Use wc_cart_totals_taxes_total_html()
The order-review.php template was printing the tax total directly, which
meant extensions could not filter the tax total. This changes the tax total
to use the wc_cart_totals_taxes_total_html() similar to the cart-totals.php
template, which applies the 'woocommerce_cart_totals_taxes_total_html' filter.
2015-07-10 18:10:19 -07:00
Claudio Sanches c63faa76a8 Escape proceed-to-checkout-button.php template 2015-07-10 16:42:33 -03:00
Ninos Ego 147c589bda Add hook e.g. for wgm 2015-07-10 16:37:52 +02:00
Mike Jolley eaed944048 Tweak template logic to load variations when needed 2015-07-09 15:58:58 +01:00
Mike Jolley 65f19d5ca7 Ajax variation handling
If there are more variations than the threshold allows (set to 20
currently) this loads the matching variation via ajax instead of inline
in the HTML. #8477
2015-07-09 15:56:20 +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 45d89438c7 Ensure cart item key is set 2015-07-04 15:25:08 +01:00
Justin Shreve 48a89c83c3 For the remove links (in both the dedicated cart page and the mini cart widget), add ID and SKU as data attributes. 2015-06-30 19:56:36 +00:00
Mike Jolley 049c95e724 Filter all item data
Closes #8361
2015-06-30 13:40:32 +01:00
Claudio Sanches af3dfce73f Escape tabs key and title, closes #8449
@mikejolley
2015-06-26 13:21:26 -03:00
Claudio Sanches ec0783f382 Fixed deprecated woocommerce_lostpassword_url() and lost password url on myaccount/form-login.php
ref #8459
2015-06-25 15:17:06 -03:00
Justin Shreve d383e3bfd0 Use wp_lostpassword_url instead wc_lostpassword_url. The WC function is just meant to be a filter. 2015-06-25 16:54:36 +00:00
Mike Jolley 8dbd30e76b Merge branch 'add-email-notification-for-partial-refunds-issue-8278' 2015-06-22 15:01:17 +01:00
Claudio Sanches 80e8bd94ad Escape return to shop url 2015-06-19 17:29:37 -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
Justin Shreve 5b7c51b5de Wrap the quantity from $_POST in wc_stock_amount to cast it properly 2015-06-18 23:16:00 +00:00
Justin Shreve eddec91b5a If a quantity is set in the $_POST request, use that over the field default. This way, if a validation error occurs, the user's requested quantity stays the same. 2015-06-18 20:51:17 +00: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
Mike Jolley 89f7e15052 Save full version of text based attributes when dealing with variations 2015-06-11 14:43:02 +01:00
Claudio Sanches fa026ea49d Normalize the "Order #" #8305 2015-06-10 12:09:18 -03:00
Claudio Sanches 12c81120ca Merge pull request #8305 from WPprodigy/patch-3
Make the hash translatable/filterable
2015-06-10 11:45:36 -03:00
Jason Conroy 1061487d7c Incorrectly nested p tag within ul 2015-06-10 19:33:07 +10: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
Caleb Burks b54ee1efb2 Make the hash translatable/filterable 2015-06-05 12:25:18 -05:00
Ben Bidner c8dd2b6268 fixes usage of void return value from `wc_cart_totals_taxes_total_html()` 2015-06-01 12:54:07 +01:00
Claudio Sanches b2a612dba2 [2.3] Revert some changes from a65616c 2015-05-29 12:27:38 -03:00
James Koster 8c1e452514 proceed to checkout button template. closes #7507 2015-05-28 11:48:37 +01:00
Claudio Sanches 169e72b824 Added extra arg to all woocommerce_order_item_name filters #8159 2015-05-27 13:29:15 -03:00
Mike Jolley 5920b88d5d Add classes to tax and shipping labels/notices
Closes #8189
2015-05-27 16:17:36 +01:00
Claudio Sanches a1717372aa Added $is_visible arg to woocommerce_order_item_name filter, closes #8159 2015-05-27 12:11:53 -03:00
Claudio Sanches 7a24f7d482 Updated template version for #8232 2015-05-27 12:02:38 -03:00
Nicola Mustone 2c940e2299 Fix fatal error 2015-05-27 16:35:16 +02:00
Mike Jolley 10e8210871 Link to account page to login to make reviews
Closes #8155
2015-05-26 17:49:08 +01:00
Mike Jolley ffab4feb0c Remove #reset anchor. Unused.
Closes #8134
2015-05-26 17:45:19 +01: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
Claudio Sanches b06428a63a Updated some templates versions to 2.4.0 2015-05-21 14:26:15 -03:00
Claudio Sanches e559452c28 [2.3] Escape product titles, closes #8197 2015-05-21 14:20:37 -03:00
Mike Jolley 0b58a840e2 Merge pull request #8168 from Nikker/master
Added method to check if cart is empty
2015-05-19 11:41:48 -04:00
Claudio Sanches e106d57947 Merged #8021 2015-05-18 16:53:04 -03:00
Claudio Sanches b305c34c64 Merge pull request #8178 from helgatheviking/issue_8176_email_template_versions
update template version numbers to 2.3.0. closes #8176
2015-05-17 12:31:21 -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 0dcadc668e Hide tax totals based on wc_tax_enabled() 2015-05-15 14:04:13 +01:00
Nikki DelRosso 940c2369b0 Added method to check if cart is empty 2015-05-14 14:18:53 -07:00
Mike Jolley d53f78ed56 Styled auth and login endpoints 2015-05-14 16:58:34 +01:00
Mike Jolley 1a9336a4dc [2.3] Remove email alt text from get_avatar
Closes #8152
2015-05-13 13:46:03 +01:00
Mike Jolley 3b3845872f Change deprecated args
Closes #7210
2015-05-01 14:52:51 +01:00
Mike Jolley d6604cb668 Split order details into customer + item templates. Tidied up codebase/template based logic.
cc @jameskoster
2015-05-01 14:50:18 +01:00
Mike Jolley 77941a57c5 New way to gather item meta with bw compatibility on item meta class
#7210

This also includes a new template file for order item details.
@jameskoster Version bumping the order details template. Splitting it
up some more in next commit.
2015-05-01 12:42:29 +01:00
Gabor Javorszky 72bb8fb553 New filter on grouped products' permalinks
Closes #8065

* adds new filter: 'woocommerce_grouped_product_list_link'
2015-04-29 03:07:47 +01:00
Gabor Javorszky 7de4d6ad49 Adds escaping to url and title in link for grouped product page 2015-04-29 03:00:01 +01:00
Claudio Sanches 3df93e7004 Created final authentication flow 2015-04-23 16:37:59 -03:00
Mike Jolley 4997ed0efb Cleaned up tabs JS and fixed conflicts with bootstrap
Fixes #8000
2015-04-23 12:24:15 +01:00
Claudio Sanches e4445cc082 Added noindex and nofollow for auth endpoint 2015-04-22 18:24:33 -03:00
Claudio Sanches 0bb3f1066c Show authentication data in templates/auth/form-grant-access.php 2015-04-22 17:48:18 -03:00
Claudio Sanches a6afac4516 Added content to grant access template 2015-04-22 17:21:42 -03:00
Claudio Sanches 8cfa3eed75 Added validation for the auth params 2015-04-22 17:02:15 -03:00
Claudio Sanches a989184135 Created initial auth templates 2015-04-22 12:27:12 -03: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
James Koster 11313fe229 [2.3] template version 2015-04-17 14:30:30 +01:00
Benedict 5fc10ad757 Update cart.php
In the `woocommerce_cart_item_quantity` filter the `$cart_item_key` is useless without the `$cart_item`, which is included in all the other relevant filters in this file. NB. Added here as last argument so not to break existing code.
2015-04-16 15:11:30 +02:00
Claudio Sanches b2eb52298e Updated the template version for #7962 2015-04-15 10:39:14 -03:00
Nicola Mustone c8f8ee33be Action woocommerce_before_variations_form
Added action `woocommerce_before_variations_form` to hook before the variations dropdowns
2015-04-15 15:26:46 +02:00
Nicola Mustone 94fa49655f using wc_date_format 2015-04-13 17:58:03 +02:00
Nicola Mustone cf89d78b7d removing localization 2015-04-13 17:56:41 +02:00
Mike Jolley f9d1da2081 Merge pull request #7854 from franticpsyx/mini_cart_item_class
Filterable mini cart item class for consistency with cart/order templates
2015-04-13 10:54:35 +01:00
Mike Jolley 12dde04e16 wc_product_cat_class functions
Closes #7923
2015-04-10 13:17:30 +01:00
James Koster aad06e7f1c [2.3] cart totals hooked into action 2015-04-09 15:15:37 +01:00
James Koster 5b1411c771 gallery img title/caption. closes #7857 2015-04-02 18:55:12 +01:00
Manos Psychogyiopoulos 96208eac73 mini cart item class 2015-03-31 11:40:26 +03:00
Manos Psychogyiopoulos 3ac13562f5 typo 2015-03-30 16:15:23 +03:00
Mike Jolley 3b547c4218 sanitize coupon class names
Closes #7802
2015-03-27 15:38:57 +00: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
Mike Jolley 074729138f Merge pull request #7786 from mcguffin/master
add action hook for lostpassword_form
2015-03-23 13:18:42 +00:00
Mike Jolley d24f847119 Merge pull request #7795 from Almaz/patch-3
Remove dots after SKU, Categories and Tags
2015-03-23 13:09:03 +00:00
Almaz Mannanov 169f4cefe6 Remove dots after SKU, Categories and Tags
Some people think that the dots should not be there. If we want to keep them we can include them to localization file.
2015-03-22 13:02:53 +03:00
Nicola Mustone 00d8b11a3f version 2.4.0 2015-03-20 17:55:50 +01:00
Jörn Lund b774e46659 add action hook for lostpassword_form
Similar to registration form. see file `templates/myaccount/form-login.php`. Will allow additional captcha testing for example.
2015-03-20 17:44:11 +01:00
Nicola Mustone c593e4ca50 added customer order refunded email 2015-03-20 16:31:31 +01:00
Nicola Mustone 21f63d56aa hook comments 2015-03-18 11:03:52 +01:00
Mike Jolley 08e6f5acfb Skip hidden grouped products
Closes #7711
2015-03-13 09:44:37 +00: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