Commit Graph

51 Commits

Author SHA1 Message Date
Mike Jolley b6929a8abb Template version bumps 2017-06-20 15:49:02 +01:00
Mike Jolley ccad987bac Allow state field to have the correct country set by passing it through
Fixes #15632
2017-06-16 11:45:53 +01:00
Gabor Javorszky 248ff51bea use yoda condition all incarnations of filter do
Fixes #14829
2017-05-02 11:43:06 +01:00
Mike Jolley 34f2c66333 Merge pull request #14237 from dixitadusara/update-issue-14178
Updated templates/checkout/form-shipping.php template version
2017-04-11 12:54:57 +01:00
dixitadusara f5d40ce16d updated templates/checkout/form-shipping.php template version ref #14178 2017-04-11 10:43:03 +05:30
dixitadusara 3f6d851500 form-shipping.php template has not updated the version number ref #14178 2017-04-10 14:25:55 +05:30
Mike Jolley 31b10d861e Add wrappers around sortable checkout fields
Fixes #13432
Fixes #13434
2017-03-02 15:08:02 +00:00
Mike Jolley f7fe5812d0 Revert "Wrap order notes field"
This reverts commit 8500beb56d.
2017-03-02 14:42:08 +00:00
Mike Jolley 8500beb56d Wrap order notes field
Fixes #13432
2017-03-02 14:23:17 +00:00
James Koster 5b01bb693e Correct use of `--` in checkbox / checkbox label classes 2017-01-13 17:26:09 +00:00
Mike Jolley 43d362d107 Tidy, refactor, and split up methods in checkout class 2016-11-25 21:46:34 +00:00
James Koster f709d6be3c Standardise class names #12297 2016-11-17 11:51:54 +00:00
Claudio Sanches f201684917 Wrap checkbox label texts into span elements 2016-11-16 19:44:22 -02:00
Claudio Sanches 1939abf059 Updated use of labels for checkboxes 2016-11-09 22:41:14 -02:00
Claudio Sanches 657c312cae Fix strings case (#12069)
* Fixed case for all _e, esc_attr_e and esc_html_e strings

* Fixed case for all _n_noop strings

* Fixed case for all _x strings

* Fixed case for all __, esc_html__ and esc_attr__ strings

* Fixed a few more strings

* Fixed strings in unit tests

* Fix PayPal Standard case.

* Save Order text
2016-10-12 11:16:30 +01:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
Mike Jolley da2337b05b POST is not needed here; form never updates
Fixes #11006
2016-05-31 11:26:41 +01:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Mike Jolley bd4c90dbec Docblocks
Fixes #10336
2016-02-12 11:28:44 +00:00
mitogh f8f70f294a Update strict comparission and update to Yoda condition
In order to follow one of the best practices from the Wordpress
handbook:

- https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#yoda-conditions
2015-11-14 20:35:29 -06: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
Claudio Sanches f64ea948f1 Replaced WC()->cart->ship_to_billing_address_only() to wc_ship_to_billing_address_only() 2015-10-28 16:03:24 -02: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
shivapoudel fbf0314bb6 Absolute path should have curly braces - part 1 2014-09-22 22:16:03 +05:45
Mike Jolley 0bcdc97d63 Update template version in form-shipping
#6225
2014-09-12 14:28:57 +01:00
Mike Jolley 937db45913 [2.2] Merge ship to billing and billing only options
+ update options, update files to use new option + function Closes #5284
2014-04-08 16:28:27 +01:00
splashingpixels 1e998f776e template coding standard fixes 2014-04-07 19:29:39 -07:00
Andrew Benbow 84899195c5 Update form-shipping.php 2014-03-28 14:41:57 +00:00
Andrew Benbow 54d5ded602 Update form-shipping.php 2014-03-28 14:41:43 +00:00
Andrew Benbow d9c82975b4 Update form-shipping.php 2014-03-28 10:38:48 +00:00
Andrew Benbow 6cb5451e15 Update form-shipping.php
Add filter to allow needs_shipping() to be overridden, useful if you want to collect a shipping address for virtual products.

Allows a filter to be used as replacement for get_option('woocommerce_require_shipping_address')

Previous suggestion of add_filter('woocommerce_cart_needs_shipping', '__return_true'); is not suitable
2014-03-28 02:27:24 +00:00
Mike Jolley 1140fd2407 Wrap billing and shipping fields with a div/class Closes #4758 2014-02-13 10:22:25 +00:00
splashingpixels 454b97080a coding standards fixes 2014-01-22 20:36:24 -08:00
splashingpixels b16d5195c8 coding standards fixes 2014-01-14 21:53:37 -08:00
Mike Jolley b774e84e29 Revert "Replaced templates functions"
This reverts commit 4ce301a080.
2013-11-25 14:16:26 +00:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Mike Jolley 4ce301a080 Replaced templates functions 2013-11-25 14:01:37 +00:00
Mike Jolley 03af136986 Separate ship to options from sell to. Closes #3215. 2013-08-02 16:54:28 +01:00
Mike Jolley f23f536f12 Logic for additional info header 2013-07-11 16:11:28 +01:00
Mike Jolley 0b9689f73a Get rid of un-useful options. 2013-06-05 11:13:36 +01:00
Mike Jolley ac51ebf2b8 Revised checkout shipping process. Checkbox within heading. Closes #2571. 2013-05-28 14:19:08 +01:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
Mike Jolley ef7ec98f2e templates 2012-08-14 23:43:54 +01:00
Mike Jolley 68586f3005 Collect shipping address even when not required 2012-04-21 19:30:37 +01:00
Mike Jolley b9bec0be75 show_shipping. Closes #901. 2012-04-11 13:08:04 +01:00
Geert De Deckere 1cd6ab9bf1 Fixed label for "ship to billing" checkbox 2012-03-01 14:12:56 +01:00
Mike Jolley 3b5272e72e Improved template loader 2012-02-03 16:42:21 +00:00