A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
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
.github Update ISSUE_TEMPLATE.md 2016-02-18 12:54:05 +00:00
apigen Fix - PHP Notice: Only variables should be passed by reference 2016-02-23 11:37:10 +05:45
assets Remove console.log calls 2016-02-22 11:12:05 -06:00
dummy-data Updated dummy data xml to include featured products 2016-02-17 13:54:47 +02:00
i18n Merge branch 'master' into shipping-zones 2016-02-10 14:12:39 +00:00
includes Tweak wc_get_product_variation_attributes to ignore non variation attributes 2016-02-25 14:13:56 +00:00
templates Add attributes to quantity input to show numeric keyboard on mobile devices. 2016-02-25 17:48:06 +01:00
tests [2.5] Multibyte safe trim string 2016-02-23 11:40:16 +00:00
.coveralls.yml Add coveralls.io for tracking test coverage 2014-09-07 14:53:33 -04:00
.editorconfig EditorConfig - Matches multiple files with brace expansion notation 2015-06-04 03:56:49 +05:45
.gitignore Removed old deploy files from .gitignore, closes #9353 2015-10-13 14:36:20 -06:00
.jshintrc Tweaks JSHint for cart and cart fragments 2015-06-10 23:11:21 +05:45
.scrutinizer.yml Make scrutinizer ignore includes/api/v2/ 2015-07-16 15:56:58 -03:00
.travis.yml Added PHP 7 in the tests 2015-12-08 16:26:14 -02:00
CHANGELOG.txt Changelog for 2.5.2 2016-02-01 14:00:52 -02:00
Gruntfile.js Added "js" grunt task 2016-01-22 17:42:05 -02:00
README.md Fix - Contributing guidelines broken links 2016-02-18 21:24:50 +05:45
apigen.neon Update api docs theme 2015-11-20 10:05:36 +00:00
license.txt Further licence tweak 2015-02-18 13:04:21 +00:00
package.json 2.5.0-RC1 2016-01-05 13:52:19 -02:00
phpunit.xml Allow phpunit to check php syntax 2016-02-11 17:44:44 -02:00
phpunit.xml.dist Allow phpunit to check php syntax 2016-02-11 17:44:44 -02:00
readme.txt Add cart ajax to 2.6.0 changelog 2016-02-16 10:31:44 -06:00
uninstall.php Merge branch 'master' into shipping-zones 2016-02-05 14:58:48 +00:00
woocommerce.php Merge branch 'master' into shipping-zones 2016-02-05 14:58:48 +00:00

README.md

WooCommerce Built with Grunt Build Status Coverage Status

Welcome to the WooCommerce repository on GitHub. Here you can browse the source, look at open issues and keep track of development. We recommend all developers to follow the WooCommerce development blog to stay up to date about everything happening in the project. You can also follow @DevelopWC on Twitter for the latest development updates.

If you are not a developer, please use the WooCommerce plugin page on WordPress.org.

Documentation

Support

This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core WooCommerce issues only. Support can take place in the appropriate channels:

Support requests in issues on this repository will be closed on sight.

Contributing to WooCommerce

If you have a patch, or stumbled upon an issue with WooCommerce core, you can contribute this back to the code. Please read our contributor guidelines for more information how you can do this.

If you have an idea for WooCommerce, see the Roadmap Trello board.