Commit Graph

70 Commits

Author SHA1 Message Date
claudiosmweb 93cf3c88bd initial implementation of order items taxes 2014-07-19 01:08:02 -03:00
Mike Jolley 755001f19b Use order types where required 2014-07-11 12:43:42 +01:00
Coen Jacobs 86a4add087 Merge remote-tracking branch 'upstream/master' into order-factory-refactor
Conflicts:
	includes/class-wc-order.php
2014-07-03 13:38:55 +02:00
JDGrimes 0d472cead5 Update copy-pasted docs
Fixes #5707
2014-06-19 15:43:05 -04:00
Mike Jolley cf3cca4c8e Merge branch 'feature-wc-create-order' 2014-06-18 16:07:29 +01:00
Mike Jolley f2ca5e76bd Use a transaction during checkout's order creation method to ensure all data gets set
Closes #5368
2014-06-18 16:03:46 +01:00
Coen Jacobs 89ea6c46ab Replace new WC_Order calls with get_order 2014-06-13 15:24:51 +02:00
Mike Jolley ef3e728855 Setters + wc_create_order + wc_update_order for #4169 2014-06-11 15:10:03 +01:00
Coen Jacobs 3ad8935b20 Removed ununsed global variables in local scopes 2014-06-08 22:33:11 +02:00
Mike Jolley 5d8a1e03c0 Merge pull request #5610 from ragulka/checkout-wc-clean-fix
Check if posted data is_array before doing wc_clean in checkout
2014-06-06 16:09:02 +01:00
Mike Jolley 09c4e1c07a Merge pull request #5614 from mkayan-wakefly/master
RE issue: #5613 - Typo in error message
2014-06-04 11:31:19 +01:00
mkayan-wakefly e6bfd393ac #5613 Typo in "don't ship to" error message
Typo in "don't ship to" country message: Issue #5613

Removing the word "to" from the error message indicating that a site doesn't ship to a certain country.

The function, shipping_to_prefix(), will handle insert the word "to".
Or, in the case of US, GB, and a few other countries, the words "to the".
2014-06-03 15:51:09 -04:00
mkayan-wakefly 32618c72b5 Update class-wc-checkout.php
Removing the word "to" from the error message indicating that a site doesn't ship to a certain country.

The function, shipping_to_prefix(), will handle insert the word "to".
Or, in the case of US, GB, and a few other countries, the words "to the".
2014-06-03 15:45:22 -04:00
Illimar Tambek 6302c0fb8a Check if posted data is_array before doing wc_clean in checkout 2014-06-03 14:16:19 +03:00
Mike Jolley f30e95663b Prefixes for queries 2014-06-03 11:29:01 +01:00
Mike Jolley 309f700283 has_status 2014-06-03 10:45:33 +01:00
Mike Jolley 5af1c5ba59 Update checkout functions 2014-05-30 16:16:57 +01:00
Mike Jolley 6e8e32256b Indentation 2014-05-20 11:08:09 +01:00
Mike Jolley b7efaea79f Tidyup brackets 2014-05-01 14:40:31 +01:00
mkayan-wakefly 84f531f848 Update class-wc-checkout.php
Recalculating the cart totals, in the event a user registers during checkout and in doing so qualifies for any discounts
2014-04-28 14:20:45 -04:00
Mike Jolley edf54ad0c8 Check order exists when resuming on checkout 2014-03-31 11:12:12 +01:00
Mike Jolley ed4f283627 Remove this from earlier as it breaks foreign chars 2014-03-19 15:32:07 +00:00
Mike Jolley 6355a0c54a esc_attr isn't suitable for meta keys 2014-03-19 12:58:39 +00:00
InoPlugs Webdesign a284d7fe69 Update class-wc-checkout.php
We need this hook to mark the fees our plugin (additional fee based on gateway) adds to the the order. Otherwise we can't tell if a fee was added by the user (Add fee button), by another plugin or by our plugin.
2014-03-11 19:48:51 +01:00
Mike Jolley f35c3708bb Rounding order_tax and order_shipping_tax restricts our ability to get an accurate tax_total after an order is made. Fixes some paypal rounding requests.
@coenjacobs
2014-02-20 15:41:08 +00:00
Mike Jolley 3be6664f05 Handle get_rate_code when no matching rate is found. Prevents notices. 2014-02-17 15:11:50 +00:00
Mike Jolley c0c21c8364 Unify textdomains Closes #4814 2014-02-17 13:14:45 +00:00
Mike Jolley 1a92bfeb39 If logged in, and no billing_email is set, set it. 2014-02-13 15:51:16 +00:00
Mike Jolley 5b5183bb35 The checkout's get_value method should return null if a value is not yet set - this allows the 'default' in woocommerce_form_field to be used as a fallback Closes #4746 2014-02-13 09:52:48 +00:00
justinstern 9a2b801e7b A Pair of Useful Shipping Related Actions 2013-12-30 18:59:09 -05:00
Illimar Tambek 9b43089562 Only continue getting checkout value if null 2013-12-27 15:39:21 +02:00
Mike Jolley 33f07a05a8 Pass order ID to woocommerce_payment_successful_result Fixes #4378 2013-12-23 15:47:56 +00:00
Mike Jolley 418a8785b0 woocommerce_checkout_customer_userdata filter Closes #4235 2013-12-03 12:27:53 +00:00
Mike Jolley 6db8ac6f6f Made error counts work with new notices api Closes #4201 2013-11-27 16:15:53 +00:00
Coen Jacobs 47ae00be28 Page functions woocommerce to wc refactor 2013-11-25 15:07:22 +01:00
Coen Jacobs f7df17db1c Order functions woocommerce to wc refactor 2013-11-25 14:54:52 +01:00
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Coen Jacobs 1663eafb68 Customer functions woocommerce to wc refactor 2013-11-25 13:52:53 +01:00
Coen Jacobs aaa14894ca Core functions woocommerce to wc refactor 2013-11-25 13:45:04 +01:00
toddlahman 0c07663b26 wc_ delimiter to identify start of uniquid 2013-11-20 00:03:49 -08:00
thenbrent 2fcd615f88 Update calls to wc_print_messages() function
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent e14e3842b0 Update calls to wc_error_count() function
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent 0d45e19fcf Update calls to wc_add_error() function
Part of #4034
2013-11-12 20:59:39 -08:00
Mike Jolley 3fd02a57d0 Locales - store standardised values, and display using locale in admin #3862 2013-11-12 17:43:30 +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 51aba21d76 Rounding + precision for taxes. Store unrounded. Round down (for the moment) for taxes 2013-10-24 13:15:42 +01: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
Gregory K da19fed52b class-wc-checkout.php : PHPDoc fixes 2013-10-06 00:44:04 -04:00
Mike Jolley 9361ef3120 more hooks closes #3860 2013-10-04 16:58:00 +02:00
Mike Jolley 633ead9390 woocommerce_checkout_update_customer_meta hook Closes #3860 2013-10-04 16:40:03 +02:00