Commit Graph

10207 Commits

Author SHA1 Message Date
Bryan Purcell 0213fcce85 Refactoring, resetting settings after test.
Testing multiple combinations of store default shipping methods, moving
helper methods to a unit test Helper Class.
2014-12-10 17:02:43 -06:00
Bryan Purcell 37fc5c2bda Merge branch 'master' of github.com:woothemes/woocommerce 2014-12-10 17:00:28 -06:00
Claudio Sanches 53b1c66427 [API] Added parent_id in products endpoint, closes #6786 2014-12-10 16:28:30 -02:00
Claudio Sanches 130ddb2b56 [Tests] Fixed the tests for wc_timezone_string() 2014-12-10 16:09:01 -02:00
Claudio Sanches a579ce4578 Merge pull request #6894 from franticpsyx/add_shop_prices_in_variation_data_array
Add display_prices in available_variations array
2014-12-10 15:52:57 -02:00
Claudio Sanches 51c5c65c9a [Tests] removed deprecated tax method 2014-12-10 15:47:35 -02:00
Claudio Sanches 7450828304 Show the shipping calculator only in cart page 2014-12-10 15:40:18 -02:00
Claudio Sanches a5d70fa24c Fixed API products when save multiple images from the media library, closes #6792 2014-12-10 15:23:36 -02:00
Mike Jolley fd15ac4c64 Allow a cancelled order to be marked paid, if there is a payment delay
Closes #6810
2014-12-10 16:54:08 +00:00
Mike Jolley 0e3cb2498e set timezone_name_from_abbr 3rd arg to 0
Closes #6897
2014-12-10 16:46:25 +00:00
Mike Jolley fe34eb7bf8 Fix state box by seeing if states is empty object 2014-12-10 14:44:59 +00:00
Bryan Purcell 18fe337fac Refactoring the WC_Customer Unit Tests 2014-12-09 19:50:31 -06:00
Bryan Purcell 4af6f1765d Unit Tests for business logic in the WC_Customer class 2014-12-09 16:11:31 -06:00
Mike Jolley 5aa058249c Allow plugins to filter the taxable location
Passes tax_class so we can workaround mixed carts and EU VAT.
cc @barrykooij
2014-12-09 16:41:30 +00:00
James Koster ddc856880a shipping calculator. #6412 2014-12-09 16:20:43 +00:00
James Koster 316b43f770 coupons. closes #6836 2014-12-09 16:06:34 +00:00
Mike Jolley 317808a219 [2.2] If order_item_type is not set, don't query it in reports class 2014-12-09 12:59:01 +00:00
Mike Jolley 76ec750dbb [2.2] remove_taxes needs to clear line_tax_data 2014-12-09 12:58:25 +00:00
Mike Jolley 76898699cd Clarify variable comment #6830 2014-12-09 11:00:41 +00:00
Mike Jolley caec42dc13 Merge pull request #6917 from webaware/cleanup-sessions-escape-for-like
Escape `_` in LIKE to allow index search
2014-12-09 10:47:19 +00:00
Mike Jolley ba4fc09eeb Merge pull request #6920 from SiR-DanieL/patch-2
Fix possible notice with taxes
2014-12-09 10:44:48 +00:00
Mike Jolley 56e0e0dc55 Add special wc_query variable when querying products. #6444 2014-12-09 10:21:50 +00:00
Mike Jolley 95a504cf84 Fix admin term output
Resolves an issue decoding foreign chars caused by #6555
Fixes #6550
2014-12-09 09:54:42 +00:00
Nicola Mustone 7ebd7399cb Fix possible notice 2014-12-09 10:14:25 +01:00
Mike Jolley e6b94e486b Leave postcode before city swapping to JS
Fixes #6842
2014-12-09 09:07:28 +00:00
Mike Jolley 2f66bbd8c0 woocommerce_price_filter_meta_keys filter to allow plugins to define min/max meta keys that require searching
Closes #6492
2014-12-09 08:33:33 +00:00
Ross McKay 648040d458 Don't return option_value from cleanup_sessions() query, no longer required 2014-12-09 08:16:40 +11:00
Ross McKay d37d58d19f Escape `_` in LIKE to allow index search
Also filters for expired sessions in DB, not PHP.
Fixes #6916
2014-12-09 08:07:12 +11:00
Mike Jolley e5693f317f Merge pull request #6914 from SiR-DanieL/patch-2
Retrieve reviewers avatar using the email
2014-12-08 15:54:08 +00:00
Mike Jolley b470e64b61 Error in previous commit. 2014-12-08 12:34:42 +00:00
Mike Jolley 80d08787a8 Correctly save custom address fields in admin 2014-12-08 12:30:11 +00:00
Nicola Mustone 7aeb9d27bb Retrive reviewers avatar using the email
Using the email will fix the wrong avatar issue occurring while creating manually the review from the admin panel.
2014-12-08 12:07:22 +01:00
Mike Jolley 2874ef9947 Merge pull request #6909 from webaware/cleanup-sessions-cached
Delete cached sessions when clearing expired sessions
2014-12-08 07:47:10 +00:00
Mike Jolley 9007a2c75f Merge pull request #6911 from splashingpixels/checkout-coupons
ajaxified coupon removal on checkout page for better UX closes #6881
2014-12-08 07:46:12 +00:00
splashingpixels 25b6377298 ajaxified coupon removal on checkout page for better UX closes #6881 2014-12-07 22:15:03 -08:00
Ross McKay ee0cbb27c6 only delete sessions from object cache if using persistent object cache 2014-12-08 09:04:55 +11:00
Ross McKay 95a25d3023 Delete cached sessions when clearing expired sessions
Fixes #6907
2014-12-06 18:43:56 +11:00
Mike Jolley 72f41440dd Fix purchase note output
Fixes #6835
2014-12-05 14:54:12 +00:00
Mike Jolley fffc1c772b Correctly show terms when attribute has outfit chars Closes #6872 2014-12-05 14:44:48 +00:00
Mike Jolley caee0cd679 Fix timezone_name_from_abbr unit test 2014-12-05 14:21:05 +00:00
Mike Jolley cf694bcae6 Merge pull request #6875 from tamarazuk/limit-order-action
Execute `woocommerce_order_action_{$action}` only once
2014-12-05 14:04:47 +00:00
Mike Jolley 6da8be66a6 Merge pull request #6905 from SiR-DanieL/patch-2
Clickable item name in orders table
2014-12-05 14:04:16 +00:00
Mike Jolley 25b1f03179 Merge pull request #6908 from franticpsyx/order_item_visible_filter
[2.3] Add order_item_visible_filter
2014-12-05 14:03:34 +00:00
Mike Jolley e13c01e7f4 Adjust wc_timezone_string to use is_dst and return the timezone when not false. Only fallback to UTC when needed.
Fixes #6897
2014-12-05 14:01:08 +00:00
Mike Jolley 508bfd5c06 Merge branch 'breadcrumbs-class'
Adds endpoint page titles for #5522
Fixes link back to endpoint pages and closes #6638
Avoids need for breadcrumb fix which closes #6834
Removes the need and closes #6834
Fixes #6840
2014-12-05 13:42:19 +00:00
Manos Psychogyiopoulos df96a33f20 add order_item_visible_filter
In line with the existing 'cart_item_visible' filter.
2014-12-05 09:22:09 +02:00
Nicola Mustone e59070ab01 clickable item name in orders table 2014-12-04 16:57:12 +01:00
Claudio Sanches 6841ca81c9 Fixed the coupons tests and improved the tax tests 2014-12-04 11:44:55 -02:00
Claudio Sanches 256216e13d Fixed the wc_update_new_customer_past_orders() function, closes #6903
get_post_status() returns post status (string) or false (bool) on failure.
2014-12-04 11:09:37 -02:00
Claudio Sanches ab59a1835c Merge pull request #6901 from MindyPostoff/master
Update form-tracking.php
2014-12-03 17:07:29 -02:00