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
Gregory Karpinsky
029217e207
Suggestion: before and after actions on terms.php
...
For example, to write an intro sentence: "Please check the box below to proceed:"
2016-02-02 16:53:14 -05:00
Mike Jolley
89ede21ff2
Terms before button
...
@jameskoster any problem using that float?
Closes #9880
2015-12-18 22:11:45 +00:00
Andrew Minion
b296962ca8
update grammar
2015-12-16 13:14:18 -06:00
Mike Jolley
dcef386d6c
form pay hooks before and after button Closes #9746
2015-12-03 12:06:14 +00:00
Mike Jolley
86c9d7c4b8
Changed terms alignment and added *
...
Fixes #9650
2015-12-03 09:49:36 +00:00
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
Illimar Tambek
0aa7d7e87d
Make checkout form multipart
2014-06-03 13:56:02 +03:00
Mike Jolley
309f700283
has_status
2014-06-03 10:45:33 +01:00
Mike Jolley
e0a74fffc4
implement is_status()
2014-05-30 17:43:21 +01:00
Mike Jolley
ec5cb0cffa
Only output wrappers on order-review when not loaded via ajax
2014-04-30 11:20:25 +01:00
Illimar Tambek
79a40ffd06
Supply order to thankyou text filter, if available
2014-04-18 15:33:02 +03:00
Illimar Tambek
cc2a6b75fe
Introduce `woocommerce_thankyou_order_received_text` filter
2014-04-18 15:30:14 +03: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
9e5d895823
Billing Address > Billing Details. We take more than address in this section.
2014-03-24 11:16:07 +00:00
Mike Jolley
6ffd371ee4
Update localisation for terms and conditions text.
2014-03-24 11:16:07 +00:00
thenbrent
bcd3c71c7d
Add no_available_payment_methods_message filter
2014-03-12 21:14:06 +10:00
Mike Jolley
3ab6acc495
wc_cart_totals_coupon_label function and filter to override coupon labels
2014-02-21 15:16:47 +00:00
Mike Jolley
1140fd2407
Wrap billing and shipping fields with a div/class Closes #4758
2014-02-13 10:22:25 +00: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
splashingpixels
6f5bcb8d1b
added coupon text for clarity
2014-01-14 21:13:47 -08:00
Roy Ho
2dcd0149db
missing ending semicolons on wp_nonce_field()
2013-12-07 10:49:53 -08:00
Coen Jacobs
1f5f163916
Added option to hide Returning customer message. Closes #4220
2013-12-05 10:43:46 +01:00
Coen Jacobs
a3200c062e
Made #4284 added filter a little more descriptive
2013-12-05 09:43:57 +01:00
Patrick Rauland
453dc5a645
adding woocommerce_terms_is_checked filter
2013-12-04 10:56:31 -06: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
Coen Jacobs
4afbd0b556
Merge branch 'function-call-refactor'
...
Conflicts:
includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley
b774e84e29
Revert "Replaced templates functions"
...
This reverts commit 4ce301a080
.
2013-11-25 14:16:26 +00:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01: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
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Scott Basgaard
922fa990a5
esc_attr() all the things.
2013-11-20 20:11:59 +01:00
thenbrent
41c1bd6b82
Use wc_print_notice() for checkout notices
2013-11-13 16:10:49 -08:00
thenbrent
2fcd615f88
Update calls to wc_print_messages() function
...
Part of #4034
2013-11-12 20:59:40 -08: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
f6b317f199
Labels need to be clickable
2013-10-31 12:01:11 +00:00
James Koster
1fbb6249ff
Replaced → / ← on frontend with icons from our font. closes #4009
2013-10-28 09:45:59 +00:00
Mike Jolley
c3aba912db
Merge pull request #3975 from samuelaguilera/patch-1
...
Changed id for payment_method_$gateway from <input> to <li>
2013-10-22 05:33:35 -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
samuelaguilera
ef452e9384
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:40:44 +02:00
Mike Jolley
5d2e1ac031
Refactor coupon code so coupons get the actual discount amount, redone edit coupon screen with tabs, added coupon item limits which Closes #3902
2013-10-18 18:10:58 +01:00
Mike Jolley
4cabf24422
needs_payment for 2.1 #3928
2013-10-16 14:14:15 +01:00
James Koster
13bcae2d63
returning customer login. closes #3903
2013-10-10 10:29:16 +01:00
Mike Jolley
622715ec36
Option for itemized vs grouped taxes. Closes #3453 .
2013-09-23 16:10:09 +01:00
Mike Jolley
e01df544ec
Reworked total templates to support coupon lines, and started support for multiple shipping methods per order.
...
@todo store shipping methods in the order
@todo test with PP shipping real world
cc @coe
2013-08-14 21:00:34 +01:00
Mike Jolley
03af136986
Separate ship to options from sell to. Closes #3215 .
2013-08-02 16:54:28 +01:00
Mike Jolley
7221cc1a26
woocommerce_review_order_before_payment hook. #3501
2013-07-22 18:06:03 +01:00
Mike Jolley
f23f536f12
Logic for additional info header
2013-07-11 16:11:28 +01:00
Mike Jolley
3b5d8b7d41
Futher standardisation of cart and order loops. Closes #3348 .
2013-06-17 12:21:24 +01:00
Mike Jolley
c72ae714f7
Removed nonce helper
...
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley
646a8a008c
Make use of new functions
2013-06-11 15:59:54 +01:00
Coen Jacobs
e6bea70f62
Abstracted messages helper to class
2013-06-06 15:56:24 +02:00
Coen Jacobs
a09ebc9cca
Merge branch 'helpers-refactor' into core-class-refactor
...
Conflicts:
classes/class-wc-shortcodes.php
classes/shortcodes/class-wc-shortcode-change-password.php
classes/shortcodes/class-wc-shortcode-view-order.php
templates/myaccount/form-change-password.php
templates/myaccount/form-login.php
templates/order/order-details.php
woocommerce-functions.php
2013-06-06 13:55:36 +02:00
Coen Jacobs
88a7f0f720
Abstracted nonce helper to class #3282
2013-06-05 15:43:24 +02:00
Mike Jolley
0b9689f73a
Get rid of un-useful options.
2013-06-05 11:13:36 +01:00
Mike Jolley
ef49fd62df
Tweak account options
2013-06-03 16:09:04 +01:00
Mike Jolley
ac51ebf2b8
Revised checkout shipping process. Checkbox within heading. Closes #2571 .
2013-05-28 14:19:08 +01:00
Coen Jacobs
6f737227ff
Rename Shipping also on checkout #3160
2013-05-21 12:23:56 +02:00
Coen Jacobs
bb68ce7fd2
Added filter to explicitly hide terms agreement checkbox. Closes #3088
2013-05-13 13:41:52 +02:00
Coen Jacobs
f03735d8f6
Add 'woocommerce_create_account_default_checked' for #3098
2013-05-06 12:03:31 +02:00
Mike Jolley
62c38fb7eb
form-row-wide Closes #3028 .
2013-04-29 15:51:17 +01:00
Roy Ho
83a794bb68
Added filter hook on place order button for easy 3rd party manipulation
2013-04-01 16:45:28 -07:00
Mike Jolley
c752ba4a9f
Merge taxes by CODE so totals are displayed clearer. Also added additonal function for getting merged tax totals, and to keep compatibility with themes. #2815
2013-03-27 18:21:06 +00:00
Mike Jolley
41f44cac0c
#2748 filters consistant with cart
2013-03-18 10:17:25 +00:00
Justin Stern
f4076b888f
Product Stock Filters
...
Added a number of filters related to product stock to allow for improved
control over the stock handling and display
2013-03-18 01:38:22 -04:00
Mike Jolley
5393fc7ddb
Santize custom attributes. #2587
2013-03-07 19:34:29 +00:00
Mike Jolley
69db6a4262
Login form initial state. Closes #2505 .
2013-02-25 10:17:16 +00:00
Mike Jolley
c086d7236a
Initial display Closes #2505 .
2013-02-22 08:55:48 +00:00
Mike Jolley
bc51d5652b
Put back coupon option.
2013-02-11 13:53:24 +00:00
Mike Jolley
7a84ddd6c1
Tidied up settings, removed some un-needed settings, and made some settings automatic e.g. coupons disabled if no coupons exist
2013-02-10 23:02:52 +00:00
Ken Bass
20bfaea36c
Issue 1950
2013-01-21 10:12:15 -05:00
James Koster
cf3369b7e6
Log in language
2013-01-10 15:07:10 +00:00
Mike Jolley
b5e10315aa
Load gateways during checkout + in settings. #2164
2013-01-07 17:23:09 +00:00
Geert De Deckere
e122c78cab
A few more CSS class updates #2086
2013-01-03 13:21:26 +01:00
Mike Jolley
7bd2740ba2
Some code cleanup and comments #1765
2013-01-02 12:59:41 +00:00
Mike Jolley
5486ebb737
Shortcodes/Widgets -> classes, autoload classes to reduce memory, only load gateways when needed, change gateway admin to match shipping #1765
2012-12-31 18:25:09 +00:00
Mike Jolley
4988e0f444
Consistant hooks for review order/cart totals - Closes #2076 .
2012-12-29 19:04:18 +00:00
Mike Jolley
b0c2a11c90
1 table but no colspans, qty column removed
2012-12-16 16:28:54 +00:00
grappler
786d27be88
Split review items from total
...
This change give the user more control and makes the page better for mobile sites. An example can be seen here.
https://www.shultzilla.com/checkout/
2012-12-15 17:29:01 +01:00
Mike Jolley
bfcb3ec1e9
Load options in checkout class and ensure hooks are available to change the options. Closes #1950 .
2012-12-10 12:34:59 +00:00
Mike Jolley
eb2720b04d
Clearfix Closes #1952 .
2012-12-10 11:11:55 +00:00
Mike Jolley
2f04ea576d
Checkout form JS. Closes #1954 .
2012-12-10 11:06:14 +00:00
Mike Jolley
5e4222fb7f
Fix for fatal error on checkout Closes #1901 .
2012-12-04 20:28:17 +00:00
Mike Jolley
60626d25f9
The display options for taxes
2012-12-03 16:37:08 +00:00
Mike Jolley
3f0a698940
Tweak tax display - zeros option removed
2012-12-03 12:41:05 +00:00
Mike Jolley
b1ec4b289a
Nuked whitespace. Closes #1846 .
2012-11-27 16:22:47 +00:00
Leho Kraav
f6e11bdb09
add missing standard classes for .shop_table td
2012-11-24 21:50:25 +02:00
Leho Kraav
eeff8ce1cf
add missing standard classes for .shop_table th
...
this probably needs further work to also add respective classes to td's
2012-11-24 21:36:16 +02:00
James Koster
b91806b6c8
in some countries accepting the terms isn't enough.
2012-11-22 11:29:33 +00:00
Mike Jolley
98ddb3bbc5
Display + storage
2012-11-12 17:15:54 +00:00