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
Mike Jolley
8e74d043c1
template
2012-11-09 21:17:48 +00:00
kathy
3acd6f21de
Merge branch 'master' of https://github.com/woothemes/woocommerce
...
Conflicts:
templates/checkout/form-pay.php
templates/checkout/review-order.php
2012-11-07 19:04:00 -06:00
Mike Jolley
9971da5f86
Fix for #1707 .
2012-11-07 21:23:45 +00:00
kathy
6eb5215da0
fix for #1707
2012-11-07 14:53:23 -06:00
Coen Jacobs
80fc5fc086
[3.2.3] Templates XSS #1575
2012-10-16 17:35:16 +02: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
34f230a0d0
Tax display tweaks.
2012-10-12 12:57:08 +01:00
Brent Shepherd
137b01c74c
Show taxes if there are formatted taxes
...
The cart only checks if an order has tax when deciding to
display taxes. Subscriptions 1.2+ stores recurring taxes
separately, so when an order has a free trial period
and no sign-up fee, order tax will be 0 but the
recurring taxes should still be displayed.
2012-09-24 12:55:57 +10:00
Mike Jolley
584c65eeb0
Session fixes
2012-09-12 12:48:30 +01:00
Mike Jolley
fdd34e5c0e
session -> transient WIP
2012-09-07 18:26:13 +01:00
Mike Jolley
3267de6daa
Hooks for #1376 . Closes #1376 .
2012-08-21 13:06:54 +01:00
Adam Pickering (Mint Themes
c42e0c7fcd
Fixes issue with coupon field box styling
...
The coupon box doesn't have the correct input type so theme designers can't apply there custom style to the box field.
It doesn't have input type="text" so this commit fixes the issue.
See screen shot of issue: http://o7.no/NfKtDe
2012-08-20 17:40:05 -03:00
Mike Jolley
ef7ec98f2e
templates
2012-08-14 23:43:54 +01:00
Mike Jolley
9acb170520
Option to register using the email address as the username instead of entering a username. Closes #1027 .
2012-08-10 12:15:32 +01:00
Mike Jolley
1b0a206bd9
Handling for non-JS checkout
2012-07-16 20:21:44 +01:00
Mike Jolley
5cd01f58a0
get_order_item_totals() total_rows have fixed indexes for easier manipulation. Closes #1059 .
2012-07-11 19:32:00 +01:00
Mike Jolley
58f84bb2c1
incl. Closes #1184 .
2012-06-29 20:45:09 +01:00
Mike Jolley
3cc8f41b90
get_icon get_title get_description for #1201
2012-06-29 19:44:33 +01:00
Coen Jacobs
863918f7f4
Revert "Moved # character in translatable order strings. Closes #1161 "
...
This reverts commit f6c83fe6aa
.
2012-06-20 19:18:16 +02:00
Coen Jacobs
f6c83fe6aa
Moved # character in translatable order strings. Closes #1161
2012-06-20 19:14:33 +02:00
Mike Jolley
c9ddba1e35
Hooks for stripe
2012-06-19 19:09:51 +01:00
Manos Psychogyiopoulos
a64ac21fb1
Added filtered class attributes to tr table elements in cart, review-order and order-details templates.
...
Makes it possible to style the appearance of these tables depending on
the item's properties. E.g. smaller fonts or no borders for bundled
items.
2012-06-09 18:31:17 +03:00
Manos Psychogyiopoulos
b57183f337
Add filters to get_product_subtotal in review-order & cart templates.
2012-06-09 17:39:59 +03:00
James Koster
d810998980
handy class
2012-06-06 16:48:35 +01:00
Brent Shepherd
808a482fed
Centralising use of woocommerce_price() for cart taxes with new WC_Cart::get_formatted_taxes() function and adding new woocommerce_cart_formatted_taxes filter.
2012-05-23 15:24:04 +10:00
Mike Jolley
26a8af2440
radio shipping methods
2012-05-13 21:02:07 +01:00
Mike Jolley
90ad5da65b
Merge pull request #990 from thenbrent/new-order
...
New WC_Order Class Formatting Filters & Function
2012-05-01 17:07:25 -07:00
Mike Jolley
7840c79251
style rework. Shareyourcart (needs more work)
2012-04-28 18:28:18 +01:00
Brent Shepherd
6df9fff54d
Adding "Replacing instances of "woocommerce_price($order->order_total)" with new WC_Order::get_formatted_order_total() function.
2012-04-27 12:22:19 +10:00
Mike Jolley
68586f3005
Collect shipping address even when not required
2012-04-21 19:30:37 +01:00
Brent Shepherd
0a04b9044c
Fixing bug causing "Billing & Shipping" to display on checkout form even when the cart contents did not need shipping.
2012-04-16 10:45:35 +10:00
Mike Jolley
a36d0b74e7
missing semi-colon. Closes #923 .
2012-04-13 12:44:10 +01:00
Mike Jolley
b9bec0be75
show_shipping. Closes #901 .
2012-04-11 13:08:04 +01:00
Mike Jolley
a9a5f0ceca
extra actions for checkout. @8cc310c14ab55131a79f4340a37ef392283fc3ab
2012-04-10 18:21:33 +01:00
Mike Jolley
f99353a861
Merge pull request #878 from foxrunsoftware/master
...
Adds a Few Shipping Related Action Hooks
2012-03-26 08:17:22 -07:00
Mike Jolley
659d3ee3b4
get order number function complete with filter. Tweak the display of order ID's if you use custom numbering.
...
Had to tweak some localisation strings to dump the '#' symbols.
2012-03-26 11:26:50 +01:00
Justin Stern
37efd18ffc
Adds a Number of Shipping Related Action Calls
...
Adds a number of shipping related action calls to provide more hooks for
customizations
2012-03-24 13:00:59 -04:00
Mike Jolley
8914d1856a
n/a
2012-03-12 16:14:00 +00:00
Mike Jolley
ec83b4d24f
Merge pull request #790 from GeertDD/display_no_tax_row
...
Force the tax row to show up even if no taxes are applicable
2012-03-12 09:00:52 -07:00
Geert De Deckere
3d52b629c3
Added an option to force the tax row to be visible even if no taxes are applicable.
2012-03-12 13:50:38 +01:00
Geert De Deckere
3e13bd5ebf
Instead of hiding the tax row if not applicable, show it explicitely as not applicable.
2012-03-12 12:26:48 +01:00
Geert De Deckere
0401e79ed4
Added option to globally enable/disable the use of coupons for clients
2012-03-12 10:25:06 +01:00
Mike Jolley
9a282ce3ab
Fixes
2012-03-05 13:25:02 +00:00
Geert De Deckere
1cd6ab9bf1
Fixed label for "ship to billing" checkbox
2012-03-01 14:12:56 +01:00
Mike Jolley
94028e3528
total rows + readme
2012-02-16 16:54:22 +00:00
Geert De Deckere
9a8581b3a9
Addes same classes for table header cells
2012-02-16 12:29:15 +01:00
Geert De Deckere
8bd4947006
Added classes to the table cells for order review
2012-02-16 12:25:02 +01:00
Geert De Deckere
1984cf5b85
Renamed hooks
2012-02-15 16:39:22 +01:00
Geert De Deckere
0c8ad83c28
Added action 'woocommerce_cart_contents_review' to the order review page
2012-02-15 13:26:35 +01:00
Mike Jolley
29c29b6198
Strip tags
2012-02-14 14:45:43 +00:00
Geert De Deckere
b0f4660801
Fixed HTML escaping of the method label
2012-02-13 10:16:22 +01:00
Mike Jolley
f41242a1c6
Merge pull request #618 from GeertDD/shipping_select
...
Don't show a select list if there's only a single shipping method to choose from.
2012-02-12 03:41:34 -08:00
Mike Jolley
9cf264504b
Checkout error page
2012-02-12 11:36:33 +00:00
Geert De Deckere
08db90e9a0
Added shipping_method id which is used in the javascript file.
2012-02-11 15:17:03 +01:00
Geert De Deckere
0f59bd797d
Don't show a select list if there's only a single shipping method to choose from. Closes issue #605 .
2012-02-11 14:46:54 +01:00
Mike Jolley
44794833f6
Goodbye to free Closes #602 .
2012-02-09 09:45:11 +00:00
Mike Jolley
3b5272e72e
Improved template loader
2012-02-03 16:42:21 +00:00
Mike Jolley
35fadb00fe
More consistent template file naming, broken checkout into templates
2012-01-29 13:36:33 +00:00
Mike Jolley
0226faa96b
incl. to checkout too
2012-01-28 15:34:21 +00:00
Mike Jolley
89a226a895
Store cart + shipping tax rows instead of a combination
2012-01-27 15:00:03 +00:00
Mike Jolley
1f89670da2
Date fixes
2012-01-25 15:23:32 +00:00
Mike Jolley
ad30381ba3
Changed functions in order total rows - renamed to make more sense
2012-01-22 02:35:26 +00:00
Mike Jolley
23a3776f04
Tweaks to order/validation class to improve performance
2012-01-13 00:46:56 +00:00
Mike Jolley
a2d51aa201
Github sabotages files -.-
2012-01-12 00:54:45 +00:00
Mike Jolley
1dc5a3bc0b
Revert 136456f805ccdf9b7b6bce027dc24da3c14d4281^..HEAD
2012-01-12 00:43:30 +00:00