Commit Graph

260 Commits

Author SHA1 Message Date
Mike Jolley 31a7c7df99 Show meta data on form-pay
Fixes #9674
2015-11-23 18:22:31 +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
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
Claudio Sanches 0ff88deb98 Improved wc_coupons_enabled() name and description 2015-10-29 17:23:10 -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
Claudio Sanches 245c36e9eb Removed duplicated woocommerce_get_checkout_url filter on form-checkout.php 2015-10-28 15:56:58 -02:00
Claudio Sanches 3ab4e76cd0 Replaed old WC_Cart methods to the new functions 2015-10-28 15:56:31 -02:00
Mike Jolley 22890c4f94 Thanks page classes
Closes #9398
2015-10-23 12:42:17 +01:00
Breno Alvs eda81121b4 Fixed order review heading when have no checkout fields 2015-10-11 15:37:28 -03:00
Claudio Sanches 2942ae41e6 Removed extra spaces from templates/checkout/form-billing.php #9319 2015-10-09 11:15:26 -03:00
nishitlangaliya a45ef9f814 fixes: done changes using dom operation. ref #8938 2015-10-08 20:14:53 +05:30
nishitlangaliya 2dcd391c21 fixes: If password field is enabled, enforce strong passwords ref #8938 2015-10-07 16:47:13 +05:30
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
James Koster b8d6ee4928 only display the coupon form on the checkout if a coupon hasn't been input already. closes #9099 2015-10-01 16:14:10 +01: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 d86b64a61a changelog update and template bump.
Updated the template version due to
https://github.com/woothemes/woocommerce/pull/9045
2015-09-04 13:49:14 +01:00
Shiva Poudel 47b440fcc6 Remove the unnecessary clear to payment section
CC @jameskoster
2015-09-04 17:32:20 +05:45
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
George Stephanis c7ee929325 Partial _e() => esc_attr_e() changeover.
There’s a lot of them, so I’m breaking them into multiple commits.

This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Claudio Sanches 066aff5222 Escape checkout cart-errors.php 2015-07-14 11:20:48 -03:00
Vignesh e702d47a17 get_permalink to wc_get_page_permalink Updated 2015-07-14 17:51:40 +05:30
thenbrent 571b4a5238 Use wc_cart_totals_taxes_total_html()
The order-review.php template was printing the tax total directly, which
meant extensions could not filter the tax total. This changes the tax total
to use the wc_cart_totals_taxes_total_html() similar to the cart-totals.php
template, which applies the 'woocommerce_cart_totals_taxes_total_html' filter.
2015-07-10 18:10:19 -07:00
Jason Conroy 1061487d7c Incorrectly nested p tag within ul 2015-06-10 19:33:07 +10:00
Mike Jolley 0dcadc668e Hide tax totals based on wc_tax_enabled() 2015-05-15 14:04:13 +01:00
Mike Jolley 3b547c4218 sanitize coupon class names
Closes #7802
2015-03-27 15:38:57 +00:00
Mike Jolley 8554796c4b Show calculate total when shipping is needed, but shipping is hidden.
Closes #7650
2015-03-10 16:57:43 +00:00
Mike Jolley 7c279f278b Add space after item name 2015-02-26 11:59:50 +00:00
Paul Wilde c913316f8b Introduce wc_get_page_permalink. 2015-02-15 19:13:22 +00:00
Claudio Sanches d0f4b43c96 Fixed payment actions executing multiple times, closes #7226 2015-01-29 16:36:05 -02:00
James Koster 8a28054130 order review hooks 2015-01-06 15:01:24 +00:00
Mike Jolley eba8206540 Merge branch 'tax-coupon-handling' Closes #6830
Conflicts:
	assets/js/admin/meta-boxes-order.min.js
	includes/api/class-wc-api-coupons.php
	includes/class-wc-cart.php
	templates/checkout/review-order.php
2014-12-03 12:33:15 +00:00
Mike Jolley 2e398a3a79 Decoupled the order summary and payments area. Both are updated independently via ajax fragments and can be moved around via actions. TEMPLATES OVERRIDING THESE TEMPLATES WILL NEED TO UPDATE THEIR FILES.
Closes #5781
Closes #6570
2014-11-26 14:19:53 +00:00
Mike Jolley 549d7ab2c0 Removed 'apply before tax' options for coupons - this should be the default core behaviour 2014-11-24 17:24:25 +00:00
Mike Jolley 2b8be95360 Remove # (hash) from get_order_number and add to strings instead as needed.
Most places use Order #X
Some places use Order Number: X

Both are now valid.

Fixes #6518
2014-10-24 14:53:43 +01:00
Gregory Karpinsky e86c8ec81c Adding @global docblock for proper code validation 2014-10-04 09:30:42 -04: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
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
Mike Jolley 6e540c3bda Pass is_ajax through from the ajax handler
Fixes #5910
2014-07-31 10:00:16 +01:00
Gerhard dc9043f99c Put the whole coupon message in the filter. 2014-07-17 10:36:12 +02:00
Michael Silber 32bd50c379 Move TFOOT to after TBODY element throughout templates and classes 2014-07-10 21:50:51 -04:00
Mike Jolley cd5bd97c2d Merge pull request #5608 from ragulka/checkout-form-multipart
Make checkout form multipart
2014-06-23 16:54:05 +01:00