Commit Graph

14942 Commits

Author SHA1 Message Date
Shiva Poudel 25e1d72017 Tweak - GTM listener for single products tabs, Closes #10478 2016-03-04 23:52:39 +05:45
Claudio Sanches 22a8743e1d Merge pull request #10437 from coderkevin/fix_state_input
Fix state input box for cart shipping. Fixes #10408
2016-02-27 12:49:52 -03:00
Kevin Killingsworth 7fc0932e33 Fix state input box for cart shipping.
Input box wasn't reappearing when switching from a hidden input
to a text input. Changed the JQuery selector to go off the input
type.
2016-02-27 00:50:05 -06:00
Mike Jolley efe836dc12 Merge branch 'add/id-based-section-loading-shipping-and-checkout' 2016-02-26 15:26:45 +00:00
Mike Jolley c3554490b5 Backwards compatibility 2016-02-26 15:26:39 +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 74e35a2573 Merge pull request #10425 from woothemes/fix/no-instance-id-for-non-classname-shipping-methods
Construct copy of instance of shipping method and pass instance id to it
2016-02-26 14:27:41 +00:00
Mike Jolley e4932415c9 Improved tracking template 2016-02-26 14:25:06 +00:00
Mike Jolley e09613d7da get_external_ip_address docblock 2016-02-26 13:34:51 +00:00
Mike Jolley 384db11839 Hide disabled emails from dropdown
Fixes #10428
2016-02-26 13:22:31 +00:00
Mike Jolley 155afbb99a Checkout RTL styles 2016-02-26 11:43:24 +00:00
Allen Snook bdb816f83b Use a PHP 5.2 compatible approach for creating new instances of
shipping methods which were registered using an instance
2016-02-25 11:56:05 -08:00
Allen Snook 1ea53460f2 Construct copy of instance of shipping method and pass instance id to it 2016-02-25 11:29:10 -08: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 83d2f64e9e Tweak wc_get_product_variation_attributes to ignore non variation attributes 2016-02-25 14:13:56 +00:00
Mike Jolley d7d609d85a Remove comment 2016-02-25 14:13:56 +00:00
Mike Jolley 78902fafc8 Merge pull request #10420 from shivapoudel/filter
Is an action hook for phpmailer_init
2016-02-25 12:34:23 +00:00
Mike Jolley b8e03489be [2.5] Transactional emails for failed -> on hold 2016-02-25 11:15:42 +00:00
Shiva Poudel 295a900b03 Is an action hook for phpmailer_init 2016-02-25 16:59:15 +05:45
Mike Jolley 5494216c93 Merge pull request #10412 from woothemes/hotfix-duplicate-session-errors
Use $wpdb->replace instead of doing a select and then deciding to do …
2016-02-24 10:28:52 +00:00
Gerhard Potgieter 62e19162e6 Use $wpdb->replace instead of doing a select and then deciding to do an update or insert. Fixes #10389 2016-02-23 14:48:48 +02:00
Mike Jolley a6cdabff7e [2.5] Multibyte safe trim string
Fixes #10378
2016-02-23 11:40:16 +00:00
Mike Jolley 5ddc0b1a9a [2.5] Fix CLI when setting a single category
Fixes #10409
2016-02-23 11:32:18 +00:00
Mike Jolley 3fefecadc7 Merge pull request #10410 from shivapoudel/apigen-hooks
Fix - PHP Notice: Only variables should be passed by reference
2016-02-23 11:14:19 +00:00
Mike Jolley 07d4979cb5 Merge pull request #10411 from shivapoudel/inline-notice
Stop message moving using css class inline
2016-02-23 11:13:47 +00:00
Shiva Poudel 162e6f874e Tweak some lines endings for views 2016-02-23 14:56:02 +05:45
Shiva Poudel e8077b4f9d Remove new line 2016-02-23 14:42:22 +05:45
Shiva Poudel 200a157663 Stop message moving using css class inline,
Fixes #10400
2016-02-23 14:18:11 +05:45
Shiva Poudel da9bcf601f Fix - PHP Notice: Only variables should be passed by reference 2016-02-23 11:37:10 +05:45
Claudio Sanches cde5fdf3b8 Merge pull request #10406 from coderkevin/features/cart_js_objects
Features/cart js objects
2016-02-22 14:36:13 -03:00
Kevin Killingsworth 45b2f7eae3 Remove console.log calls
Some left-over console log calls were removed.
2016-02-22 11:12:05 -06:00
Kevin Killingsworth b7f365982e cart objects: refactor into objects
This update actually takes the code and refactors it into
two object handlers, cart and cart_shipping.

Also, more block comments are added to each function.
2016-02-22 10:15:47 -06:00
Mike Jolley 73f71191fc [2.5] current class fix on some servers when empty 2016-02-22 15:19:44 +00:00
Mike Jolley bd7072a8dc Generate dynamic hook docs
Closes #10393
2016-02-22 14:41:14 +00:00
Mike Jolley fc3474f255 Stop message moving
Fixes #10400
2016-02-22 13:32:31 +00:00
Mike Jolley dbd6479f45 Comment on get_related limit
Closes #10398
2016-02-22 13:27:39 +00:00
Mike Jolley 8345f67f6c Tweak price filter + code comments
#10371
2016-02-22 13:23:25 +00:00
Claudio Sanches f52b018279 Merge pull request #10396 from shivapoudel/docblock-fix
Fix docblock for wc_back_link function
2016-02-21 16:40:20 -03:00
Shiva Poudel e6e2a7ed42 Fix docblock for wc_back_link function 2016-02-21 10:10:33 +05:45
Claudio Sanches 848bfe768f Merge pull request #10391 from shivapoudel/move-method
View mode option logic moved to appropriate post-type class
2016-02-20 01:37:54 -02:00
Kevin Killingsworth 02b7c1edc4 cart objects: Create cart_shipping object.
This commit creates a cart shipping object which handles all shipping
code in this file.
2016-02-19 14:33:28 -06:00
Kevin Killingsworth 7c82a6b1f1 cart objects: Add block comments
Add block comments to functions in the file.
2016-02-19 14:26:27 -06:00
Kevin Killingsworth e7fa89cdf9 cart objects: split off events
Step one of implementing objects in carts is splitting off
the event handlers to separate named functions.
2016-02-19 14:13:48 -06:00
Shiva Poudel abe2f108f9 View mode option logic moved to appropriate post-type class 2016-02-20 00:49:36 +05:45
Jeff Stieler 346b25d01b Use ID instead of classname when saving settings for Checkout and Shipping. 2016-02-19 11:46:52 -07:00
Mike Jolley 1ee2b431a3 Show all downloads regardless of file
Closes #10388
2016-02-19 17:17:14 +00:00
Mike Jolley fdddbff229 Fix my account endpoint with plain permalinks
@claudiosmweb Fixes #10390
2016-02-19 17:14:26 +00:00
Mike Jolley e14dde20fa Merge pull request #10366 from jobthomas/master
Updated dummy data .xml to include featured products
2016-02-19 14:54:56 +00:00
Mike Jolley e9703da300 Merge pull request #9921 from peterrath/vat-exempt-and-tax-enabled-handling
VAT exempt and “TAX enabled” handling in back end and Orders API
2016-02-19 14:53:39 +00:00