Commit Graph

20 Commits

Author SHA1 Message Date
nishitlangaliya 65464d3a02 Tab to intent, space to align the => and localization done #16966 2017-10-02 22:29:00 +05:30
nishitlangaliya 40e88afd62 indenting code, and necessary changes done ref #16966 2017-10-01 13:52:02 +05:30
nishitlangaliya eb73972afa As per suggestions required changes done ref #16966 2017-09-29 10:38:14 +05:30
nishitlangaliya a30819092c aria-labelledby added to quantity field ref #16966 2017-09-29 01:52:48 +05:30
Mike Jolley 3a17d48af2 Added screen reader text to quantity input template
Closes #16909
2017-09-26 12:05:09 +01:00
Mike Jolley 7fd4005475 Wrap hidden input in div
Closes #13541
2017-03-13 17:56:25 +00:00
Mike Jolley 846e1ca25c If max and min value are identical, don't show qty input 2017-02-17 15:51:59 +00:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Mike Jolley e9ff396348 Only add when using intval for stock amounts 2016-02-26 14:36:53 +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 bd4c90dbec Docblocks
Fixes #10336
2016-02-12 11:28:44 +00:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Mike Jolley f050c804e1 Use wp.template for variation and variation button 2015-10-28 13:04:28 +00:00
Caleb Burks ee2757c08f Specific template override paths 2015-10-03 02:58:08 -05:00
Mike Jolley de4a80f950 Add disclaimer to template files
Closes #8942
2015-10-01 16:07:35 +02: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
shivapoudel fbf0314bb6 Absolute path should have curly braces - part 1 2014-09-22 22:16:03 +05:45
Mike Jolley e0779b0f06 Global templates make more sense than shop templates, and re-use quantity inputs for cart and single products Closes #4210 2013-11-28 17:23:45 +00:00