Commit Graph

1160 Commits

Author SHA1 Message Date
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
George Stephanis 95e6b84fbb Make sure we esc_attr translation results
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
George Stephanis c7ee929325 Partial _e() => esc_attr_e() changeover.
There’s a lot of them, so I’m breaking them into multiple commits.

This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Mike Jolley 1b45bcde0b URL encode to preserve text attributes in permalinks 2015-07-28 10:37:24 +01:00
Mike Jolley 808c01cb90 Added woocommerce_single_variation hook for variation data and cart button to reduce code in template file and used hooks. @claudiosmweb
Removed woocommerce_before_variations_button @Ninos. Use
woocommerce_single_variation
2015-07-28 10:32:28 +01:00
Mike Jolley 15327ef268 Fix borders by limiting length of the styles per line
Closes #8655
2015-07-27 18:34:51 +01:00
Mike Jolley 9a7893ba23 Moved variation dropdowns logic into wc_dropdown_variation_attribute_options() 2015-07-27 16:42:22 +01:00
Mike Jolley 2ea6a2efab Merge branch 'pr/8607' 2015-07-27 13:17:27 +01:00
Andrew Minion 4155c34794 fix case to match other titles on my-account.php 2015-07-21 10:56:18 -04:00
Claudio Sanches f0b3d2fd9b Code tweaks for #8620 2015-07-20 14:36:12 -03:00
Jodi Warren 2d63d4fc94 fix version number 2015-07-20 18:12:41 +01:00
Jodi Warren 2fb5f5bf78 Change product title to a hooked function. Fixes #8601 2015-07-20 18:10:56 +01:00
Manos Psychogyiopoulos 18a7c6b7fb back-compat with text-based attributes: defaults don't work in WC2.4 2015-07-18 12:34:41 +03:00
Claudio Sanches 066aff5222 Escape checkout cart-errors.php 2015-07-14 11:20:48 -03:00
Vignesh e702d47a17 get_permalink to wc_get_page_permalink Updated 2015-07-14 17:51:40 +05:30
Claudio Sanches 2cc7fcfa3f Fixed missing textdomains 2015-07-13 11:03:03 -03:00
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