Commit Graph

66 Commits

Author SHA1 Message Date
IanDelMar 56592ce140
Fix WPCS sniff exclusion
The `WordPress.WP.GlobalVariablesOverride.OverrideProhibited` error code has been replaced by the `WordPress.WP.GlobalVariablesOverride.Prohibited` error code in WPCS v2.0.0.
2020-06-12 14:30:54 +02:00
Claudio Sanches 3dfe1037ba Use non-breaking space for product quantity in templates 2019-08-02 18:42:58 -03:00
Mike Jolley b37d58c934 phpcs in touched files 2019-04-23 17:04:11 +01:00
Mike Jolley ff61a4ab73 __ -> esc_html__ 2019-04-23 16:15:05 +01:00
Mike Jolley 9d10d107e2 Add names to nonces in template files. 2018-03-13 14:15:41 +00:00
Claudio Sanches cac9e0d872 Fixed number of args passed to woocommerce_order_item_meta
Part of #18437
2018-01-11 14:47:19 -02:00
Claudio Sanches 452cc738cb Fixed number of args passsed to woocommerce_order_item_meta_start
Closes #18437
2018-01-11 14:21:49 -02:00
Gerhard Potgieter 674252ae47 input to button for submit in form-pay.php template 2017-11-07 11:51:25 +02:00
Gerhard Potgieter 702c085ab9 PHPCS fixes for template form-pay.php 2017-11-07 11:50:15 +02:00
Mike Jolley 430a31a963 Add notice class to checkout message
Closes #12245
2016-11-22 14:21:21 +00:00
Aristeides Stathopoulos 741f2b954a Squiz.WhiteSpace.SuperfluousWhitespace.EndLine 2016-08-27 07:01:22 +03:00
Mike Jolley 7cf75f5085 Remove use of deprecated functions 2016-08-22 16:57:54 +01:00
Mike Jolley 3f4ffe8a49 More crud updates 2016-08-19 17:05:47 +01:00
Mike Jolley 190cd0bf86 Remove direct access of item props in admin 2016-08-19 15:08:00 +01: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
Manos Psychogyiopoulos 306a6f6083 add missing hooks to the form-pay.php template 2016-04-26 12:35:27 +03:00
Mike Jolley bd4c90dbec Docblocks
Fixes #10336
2016-02-12 11:28:44 +00:00
Mike Jolley 89ede21ff2 Terms before button
@jameskoster any problem using that float?

Closes #9880
2015-12-18 22:11:45 +00:00
Mike Jolley dcef386d6c form pay hooks before and after button Closes #9746 2015-12-03 12:06:14 +00:00
Mike Jolley 31a7c7df99 Show meta data on form-pay
Fixes #9674
2015-11-23 18:22:31 +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
James Koster 1d0f52f6db revert order pay responsive table. #9015
Would require a conditional colspan for handheld. Not worth the
overhead for this small table which should perform adequately already.
2015-11-02 13:59:07 +00:00
James Koster 2b05a493f6 Makes the order payment table responsive. #9015 2015-11-02 13:59:07 +00:00
Mike Jolley 77054e11fa Improve appearance when only 1 gateway is active.
Closes #8982
2015-10-30 15:23:16 +00:00
Mike Jolley 277dbeb029 Merge branch 'WPprodigy-patch-2' 2015-10-06 12:33:55 +01:00
Mike Jolley 5ec400e514 Validate terms and conditions and improve templates 2015-10-06 12:33:45 +01: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
Caleb Burks 84f8d606b3 Add Terms and Conditions checkbox 2015-09-07 10:10:28 -05:00
James Koster 69d151ab2a Remove the unnecessary clear and update changelog 2015-09-04 11:06:19 +01:00
Shiva Poudel 1e8460fa34 Payment heading tag removed in pay for order form 2015-09-03 18:41:26 +05:45
shivapoudel fbf0314bb6 Absolute path should have curly braces - part 1 2014-09-22 22:16:03 +05:45
Geert De Deckere 24d588544b Removed unused global $woocommerce variable from the templates
The WC() function is to be used since v2.1
2014-08-17 22:29:51 +02:00
Michael Silber 32bd50c379 Move TFOOT to after TBODY element throughout templates and classes 2014-07-10 21:50:51 -04:00
splashingpixels 1e998f776e template coding standard fixes 2014-04-07 19:29:39 -07:00
Mike Jolley 39344f2ed5 Allow gateways to change the checkout place order button text on selection. Closes #4573 2014-01-28 11:25:57 +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
Roy Ho 2dcd0149db missing ending semicolons on wp_nonce_field() 2013-12-07 10:49:53 -08:00
Illimar Tambek 82a130e23d Introduce woocommerce_pay_order_button_text and woocommerce_pay_order_button_html filters 2013-11-28 18:10:50 +02:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
James Koster 2ce069ea2e payment heading 2013-11-06 13:56:59 +00:00
thenbrent 9716c985cd Fix markup on form-pay.php
Payment method fields were not displaying on the "Checkout -> Pay" page
because checkout.js was using a input#payment_method_{name} selector, which
worked fine with the payment method markup used in the review-order.php template,
but not with the markup used in the form-pay.php template.

This moves the #payment_method_{name} attribute from the <li/> elements to the
<input/> element so that checkout.js correctly display's payment method fields.
2013-11-01 11:54:29 -07:00
Mike Jolley d41979a5d0 Merge pull request #3976 from samuelaguilera/master
Changed id for payment_method_$gateway from <input> to <li>
2013-10-22 05:33:28 -07:00
samuelaguilera 301d8e1820 Changed id for payment_method_$gateway from <input> to <li>
Changed CSS ID for payment_method_$gateway from radio button to <li> container. This allows to apply custom CSS style for all elements of gateways. And not only to radio button (that has no sense).
2013-10-21 23:46:00 +02:00
Mike Jolley 4cabf24422 needs_payment for 2.1 #3928 2013-10-16 14:14:15 +01:00
Mike Jolley c72ae714f7 Removed nonce helper
@coe
2013-06-11 17:55:55 +01:00
Coen Jacobs 88a7f0f720 Abstracted nonce helper to class #3282 2013-06-05 15:43:24 +02:00