Commit Graph

1358 Commits

Author SHA1 Message Date
Mike Jolley 6e94df6ee5 must be > 0 to exist 2016-05-13 17:57:50 +01:00
Mike Jolley 668d3fa517 Only show return to shop link if shop page is set 2016-05-13 15:51:37 +01:00
andrew-lbc f220116289 Update template override instructions 2016-05-05 15:29:03 -04:00
Mike Jolley fce8dc0868 Ensure alt text is set for product attachments
@claudiosmweb Fixes #10822
2016-05-03 16:41:51 +01:00
Mike Jolley d6a085b5ae Improve lost password flow
@claudiosmweb Fixes #10785

Add confirmation and explanation after initial reset.

Also splits template files into lost password, reset password, and
confirmation for clarity.
2016-04-27 16:00:30 +01:00
Manos Psychogyiopoulos 306a6f6083 add missing hooks to the form-pay.php template 2016-04-26 12:35:27 +03:00
Mike Jolley c067a1675d Merge pull request #10767 from webmandesign/patch-1
Adding tab specific class
2016-04-25 14:42:09 +01:00
Mike Jolley 29c6acf767 Used positional placeholders in strings where the order of strings may require modification in the locale.
Closes #10775
2016-04-25 13:07:41 +01:00
Oliver Juhas c5c94b6bbd Updating the classes to new new naming convention 2016-04-22 22:24:54 +02:00
Oliver Juhas 287d537349 Adding tab specific class
Allow targeting specific tab with a class instead of id.
2016-04-22 13:00:14 +02:00
James Koster 9decc9b673 bumping the template version due to new classes
Just in case a third party plugin interacts with these sections
2016-04-21 17:42:02 +01:00
Mike Jolley 9d1abd8a10 Bump version 2016-04-21 17:23:47 +01:00
Mike Jolley 39e8d981a0 Support order items when calling get_permalink on a variation. 2016-04-21 10:36:46 +01:00
Mike Jolley 3ff10a4ce2 Only get purchase note if product exists
Fixes #10726
2016-04-19 11:10:21 +01:00
Claudio Sanches 50c9e302d7 Fixed emails charset using the same charset as the database, closes #10686 2016-04-18 12:57:21 -03:00
Mike Jolley 3fcc68e2f8 Replace http hrefs with https
Closes #10716
2016-04-18 11:58:12 +01:00
James Koster 04539d1ab3 button class names in account orders pagination 2016-04-17 18:16:13 +01:00
Mike Jolley 3aa07c08e3 woocommerce_cart_item_permalink filter
Closes #10690
2016-04-15 15:44:52 +01:00
James Koster 9e65542d98 Apply Suit CSS naming conventions to classes in account area. closes #10660 2016-04-15 15:11:14 +01:00
James Koster ba009c6fc5 Fixes the layout on shop pages when using Twenty Eleven. closes #10665 2016-04-15 13:24:17 +01:00
Claudio Sanches 7b6d5a8fd9 Fixed $has_orders on orders.php template, closes #10671 2016-04-11 16:03:09 -05:00
James Koster 475992e595 Add links to the welcome message on my account. 2016-04-08 09:16:26 -05:00
Mike Jolley da92201f5a Use display price in schema 2016-04-06 10:22:45 -05:00
James Koster 77e78838eb reviews title - wrap product title in span
Also adds a class to there reviews wrapper and title
2016-04-05 15:41:29 -05:00
Mike Jolley f4791be088 Merge branch 'pr/10432' 2016-03-30 17:10:01 +01:00
Mike Jolley 84d3fe2d82 wc_format_localized_decimal on dimensions 2016-03-30 13:19:01 +01:00
James Koster 42ed4e0301 adds info class to 'no saved methods' notice in the account section. 2016-03-16 19:05:00 +00:00
Mike Jolley ee0798047e Merge branch 'wc-get-orders-10500' 2016-03-14 16:09:01 +00:00
Mike Jolley 726728071b [2.5] Hide shipping row when calculator is disabled, and shipping costs are hidden
Fixes #10519
2016-03-10 12:26:52 +00:00
Mike Jolley 2e0f151039 Merge branch 'master' into wc-get-orders-10500
# Conflicts:
#	includes/wc-order-functions.php
#	includes/wc-template-functions.php
#	templates/myaccount/my-orders.php
#	templates/myaccount/orders.php
2016-03-09 16:23:01 +00:00
Mike Jolley cc97de2315 Revert "Implement wc_get_orders() function"
This reverts commit 5075d4bab3.
2016-03-09 16:16:22 +00:00
Mike Jolley d3f98dce03 More advanced customer filter
#10500
2016-03-09 14:50:34 +00:00
Mike Jolley 5075d4bab3 Implement wc_get_orders() function
#10500
2016-03-09 13:25:42 +00: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
Mike Jolley eefbc053c9 escape data-title
Fixes #10490
2016-03-08 13:41:34 +00:00
James Koster b26941309c Adds `required` attribute to required rating fields. closes #10339
Also changes the email input type to `email`.

Unfortunately wp core adds `novalidate` to the opening form tag and I
can’t see an easy way to change that, so this won’t do anything for
now. cc @mikejolley
2016-03-07 16:14:01 +00:00
James Koster 850134fc20 Makes the review template easier to customise without forcing a template override. #10339
* Adds `woocommerce_review_before`,
`woocommerce_review_before_comment_meta`, `woocommerce_review_meta` and
`woocommerce_review_comment_text` actions.
* Adds `woocommerce_review_display_gravatar()`,
`woocommerce_review_display_rating()`,
`woocommerce_review_display_meta()` and
`woocommerce_review_display_comment_text()` template functions.
* Adds template files for review rating and meta.
2016-03-07 15:33:47 +00:00
Justin Shreve cb68f41ed0 Fix up based on Mike's feedback:
* Made CVC field form-row-last
* Make CC & EC methods abstract
* Change label on add new payment method button
* remove groupings in account settings
2016-03-04 04:32:38 -08:00
Justin Shreve e3d7e206d0 Create a function for getting correctly formatted credit card type labels (MasterCard, American Express, etc) 2016-03-01 11:49:42 -08:00
Justin Shreve 31bae0c19e Hook up the tokenization API to the "add payment method" button in my account settings. 2016-03-01 11:49:41 -08:00
Justin Shreve 9db1f65196 Hook up the payment token API to the my account > payment methods tab 2016-03-01 11:49:41 -08: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 14e03038e3 Show customer details for logged in users only.
Possibly for [2.5] after confirming with @claudiosmweb and
@justinshreve.

#10433
2016-02-29 12:43:19 +00:00
Mike Jolley d916eb5118 Merge branch 'pr/10423' 2016-02-26 14:36:59 +00:00
Mike Jolley e9ff396348 Only add when using intval for stock amounts 2016-02-26 14:36:53 +00:00
Mike Jolley e4932415c9 Improved tracking template 2016-02-26 14:25:06 +00:00
Jon Koops 111b72c159 Add attributes to quantity input to show numeric keyboard on mobile devices.
This commit adds both a `pattern` attribute to restrict user's input to numerical characters, and the forwards compatible `inputmode` attribute to hint at the keyboard layout to use. These attributes combined make sure that the numerical keyboard shows instead of the normal keyboard on most mobile devices (tested on the latest versions of Android and iOS).

Possible Caveats:
- Due to the nature of the numeric keyboard on iOS it is impossible to add a decimal point.

Further Reading:
https://stackoverflow.com/questions/6178556/iphone-numeric-keyboard-for-text-input
https://www.smashingmagazine.com/2015/05/form-inputs-browser-support-issue/
http://danielfriesen.name/blog/2013/09/19/input-type-number-and-ios-numeric-keypad/
2016-02-25 17:48:06 +01:00
Mike Jolley c3282bfe42 Remove unused case 2016-02-17 11:21:44 +00:00
Dan - Lucian Ștefancu 9176861959 Result count for languages with multiple plurals
There are languages with two or more plural forms.

For example in Romanian plural forms can be defined like this:
`Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);`

 `_n()` and `_nx()` can handle all those special cases for results count texts.

This fix will not add any extra strings in the i18n package, just allows for better translations.
2016-02-16 21:37:18 +02:00