Commit Graph

35 Commits

Author SHA1 Message Date
Claudio Sanches d48f1d4e2e Fixed package tag usage 2020-08-05 13:36:24 -03:00
Claudio Sanches 107995ab9a Bump template versions and fix coding standards 2020-02-04 14:16:07 -03:00
Kathy Daring 2cb9bba89e update template version to 3.10.0 2020-01-20 10:28:11 -07:00
Kathy Daring bcb17b62c2 Add support for placeholders in quantity inputs
(cherry picked from commit 99eb5074f3)
2020-01-16 12:47:15 -07:00
Mike Jolley ff61a4ab73 __ -> esc_html__ 2019-04-23 16:15:05 +01:00
Mike Jolley a4f2446350 Merge branch 'pr/23186' 2019-04-16 14:43:05 +01:00
Zacchaeus 5f0eb2d312
Update label and remove aria-labelledby 2019-04-01 16:32:23 +01:00
Zacchaeus a107fe6be2
Update if condition 2019-04-01 13:31:27 +01:00
Michael Silber 80d400b5ab Add quantity input action hooks 2019-03-28 20:18:46 -04:00
Mike Jolley 127965419b
Merge pull request #22333 from Prospress/fix/21607
fix W3C validation errors in quantity-input.php template
2019-01-09 11:26:48 +00:00
Mike Jolley dcdc7657c3 This is for 3.6 2019-01-08 15:00:34 +00:00
Ron Rennick 38a7e77a44 fix W3C validation errors in quantity-input.php template 2019-01-03 14:05:43 -04:00
Kathy Darling 5c722a32e8 Add support for custom classes on quantity input with new woocommerce_quantity_input_classes filter 2018-10-13 22:22:17 -05:00
Mike Jolley ffcfbd2108 version 2018-03-13 10:21:57 +00:00
Mike Jolley 7acb475c59 escape and strip tags in the quantity template
Closes #19356
2018-03-13 10:21:42 +00:00
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