Commit Graph

1315 Commits

Author SHA1 Message Date
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
Claudio Sanches 50d087b9ba Do not render payment methods yet, waiting for Payment Token API 2016-02-16 14:36:52 -02:00
Claudio Sanches c60722f65c Updated header text of my account templates 2016-02-16 14:11:50 -02:00
Claudio Sanches 3d41a7d544 New actions for account downloads template 2016-02-16 13:57:46 -02:00
Claudio Sanches bcc9dd4658 Introduces new actions for account orders 2016-02-16 13:57:46 -02:00
Claudio Sanches ad16a26af5 Deprecated my-downloads 2016-02-16 13:57:46 -02:00
Claudio Sanches 2de00c61ff Added account endpoint for customer payment methods 2016-02-16 13:57:46 -02:00
Claudio Sanches daf2f92a8c Added dashboard menu item and created function to get menu item classes 2016-02-16 13:50:06 -02:00
Claudio Sanches d193caa987 Better pagination for account > orders 2016-02-16 13:50:06 -02:00
Claudio Sanches 36c0b6047a Less "my" and more "ours" 2016-02-16 13:50:06 -02:00
Claudio Sanches 564f882fee Fixed typos 2016-02-16 13:50:06 -02:00
Claudio Sanches 3a3380e4ab Created account downloads endpoint 2016-02-16 13:50:06 -02:00
Claudio Sanches 08048b6d1c Added better links for orders pagination 2016-02-16 13:50:06 -02:00
Claudio Sanches 489000a3c2 Improved variables in myaccount/orders.php template 2016-02-16 13:50:06 -02:00
Claudio Sanches 02e3c6362d Created my account > orders template 2016-02-16 13:50:06 -02:00
Claudio Sanches 42454179b6 Deprecated my-account actions and added new dashboard action 2016-02-16 13:50:06 -02:00
Claudio Sanches 211c379af6 My account initial navigation 2016-02-16 13:50:06 -02:00
Mike Jolley a778c0b234 Give loops names, and set class outside of template files
Closes #10028
2016-02-12 13:32:58 +00:00
Mike Jolley bd4c90dbec Docblocks
Fixes #10336
2016-02-12 11:28:44 +00:00
Mike Jolley fab8a871aa Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/admin/class-wc-admin-assets.php
2016-02-10 14:12:39 +00:00
Mike Jolley cae1fe6b85 Refactors/improvements to layered nav to support slugs
#7806
2016-02-09 14:41:17 +00:00
Mike Jolley 971f6a3dee Added email for on-hold orders.
Closes #9792
2016-02-08 13:20:19 +00:00
djenggoat 7d3e4b1778 mismatch end tag wrapper for twentysixteen
mismatch end tag wrapper end for WordPress twentysixteen templates/global/wrapper-end.php
2016-02-06 20:12:05 +08:00
Mike Jolley 352184cc06 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	i18n/languages/woocommerce.pot
#	includes/abstracts/abstract-wc-payment-gateway.php
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/admin/settings/class-wc-settings-shipping.php
#	includes/wc-core-functions.php
#	uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley 54260cf7a4 Merge pull request #10248 from tivnet/patch-5
Suggestion: before and after actions on terms.php
2016-02-05 12:23:28 +00:00
Claudio Sanches 563a557909 [2.5] Removed extra tab from plain email shipping address, closes #10253 2016-02-03 15:19:19 -02:00
Gregory Karpinsky 029217e207 Suggestion: before and after actions on terms.php
For example, to write an intro sentence: "Please check the box below to proceed:"
2016-02-02 16:53:14 -05:00
Claudio Sanches 12cd0d824a [2.5] Pass $category to wc_product_cat_class() in content-product_cat.php 2016-02-01 13:36:52 -02:00
Mike Jolley e49c288e8f [2.5] false to add_args
Fixes #10231
2016-02-01 12:19:11 +00:00
Mike Jolley 25e02ac6f1 Alt text is set by WP
Fixes #10215
2016-01-29 11:25:43 +00:00
Mike Jolley 2a6ea6e137 [2.5] Fix passed image_size variable 2016-01-27 15:29:27 +00:00
Gregory Karpinsky 17b16b4dd2 Omit closing PHP tag to avoid "Headers already sent" issues. 2016-01-26 18:35:24 -05:00
Mike Jolley a2fbfec5bf [2.5] Show user country rather than base country in "estimated for" messages
#10148
2016-01-25 10:16:39 +00:00
sergeyrozenblat 31948045f8 Removed extra space
Removed extra space from 'a href' tag which in some cases may influence proper styling of elements
2016-01-25 00:03:55 +06:00
Claudio Sanches 4f3ef79b8c Added password strength meter to my account > edit account page
Closes #10103
2016-01-22 17:33:35 -02:00
Mike Jolley 8093194a44 [2.5] Qty button can be hidden for variables sold individually 2016-01-22 17:53:12 +00:00
Mike Jolley 4cfd8ff214 [2.5] Don't show downloads in admin email 2016-01-20 16:58:58 +00:00
Mike Jolley f5e2717b6f [2.5] Show sku in admin emails
Closes #10107
2016-01-20 11:05:10 +00:00
Mike Jolley b5d7f1de10 [2.5] Only show payment method button when needed, and check for required fields
Fixes #10112

@thenbrent @claudiosmweb
2016-01-20 10:47:36 +00:00
Mike Jolley 0049415797 [2.5] get_currentuserinfo() is deprecated in WP 4.5 2016-01-18 14:42:01 +00:00
Mike Jolley b76813d369 Add ID to search field
Fixes #10090
2016-01-18 09:47:12 +00:00
Mike Jolley 1076854608 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/class-wc-shipping.php
#	includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
#	includes/shipping/flat-rate/includes/class-wc-eval-math.php
#	includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Kathy Darling 67c06f313e add filter for reset variations link html 2016-01-07 09:43:34 -05:00
Mike Jolley 1093d2f64c Check passed in variables are set
#9983
2016-01-06 11:52:18 +00:00