Commit Graph

9736 Commits

Author SHA1 Message Date
Mike Jolley 4d45121791 Merge pull request #5817 from claudiosmweb/improved-refund-and-order-classes
Improved refund and order classes
2014-07-09 15:34:54 +01:00
claudiosmweb 31a8483b4f created method to get the total amount already refunded 2014-07-08 16:59:38 -03:00
claudiosmweb 87d8cd1c95 set order_type for refunds 2014-07-08 16:41:07 -03:00
claudiosmweb 7d340abd6d fixed the get_refunds() method in WC_Order class 2014-07-08 16:41:03 -03:00
claudiosmweb 235deeacfe created get_refunds() method for WC_Order class 2014-07-08 15:23:22 -03:00
claudiosmweb 03d9ab0c81 created initial methods for WC_Order_Refund class 2014-07-08 15:22:58 -03:00
claudiosmweb 9d4ef6fd9b add refund term in order_type when install 2014-07-08 14:27:46 -03:00
claudiosmweb 7e36d05c75 created order_type taxonomy 2014-07-08 14:23:11 -03:00
Patrick Rauland 0ac68cbd8e removing webkit only styles from email templates; 2014-07-08 11:13:26 -06:00
Claudio Sanches dfcc2a78ee Merge pull request #5814 from woothemes/revert-5804-feature-register-order-type
Revert "order_type taxonomy and register_order_type() function"
2014-07-08 14:10:46 -03:00
Claudio Sanches 9701cfe2a7 Revert "order_type taxonomy and register_order_type() function" 2014-07-08 14:10:37 -03:00
Mike Jolley 694f3a5744 Merge pull request #5810 from claudiosmweb/feature-create-order-refund-function
Initial refund class and function
2014-07-08 15:50:03 +01:00
Mike Jolley cc5b722a22 Merge pull request #5804 from claudiosmweb/feature-register-order-type
order_type taxonomy and register_order_type() function
2014-07-08 15:49:28 +01:00
claudiosmweb 73a273caf8 removed order_type hidden input in order actions meta box 2014-07-08 11:46:39 -03:00
claudiosmweb 840def82e7 fixed tax default value 2014-07-08 11:44:12 -03:00
Mike Jolley 2e59b1c9ce Merge pull request #5793 from maxrice/fix-disappearing-checkout-notices
Only print checkout notices when not reloading the checkout
2014-07-08 15:35:49 +01:00
Mike Jolley 58d17216c1 Merge pull request #5791 from EmilEriksen/master
pass  to get_subtotal_to_display(). Fixes #5790
2014-07-08 15:34:28 +01:00
claudiosmweb 1ba7788991 fixed refund tax 2014-07-08 11:34:09 -03:00
claudiosmweb 09cb28a7bb created initial refund class and function 2014-07-08 11:32:47 -03:00
Mike Jolley 2826da47f6 Merge pull request #5801 from coenjacobs/check-right-order-status
Correct order status for checking downloads
2014-07-08 15:28:55 +01:00
Mike Jolley 2c193cb6f9 Merge pull request #5809 from coenjacobs/turkish-lira-symbol
Updated Turkish Lira symbol
2014-07-08 15:28:24 +01:00
Mike Jolley c15b8e817c split up meta box scripts 2014-07-08 14:14:41 +01:00
Mike Jolley 2282d76efb More UI / Split up meta box scripts 2014-07-08 14:14:29 +01:00
Coen Jacobs f427ebaf7c Updated Turkish Lira symbol 2014-07-08 14:34:42 +02:00
Mike Jolley 5c0ea16a39 More refund UI -show qty boxes and totals 2014-07-08 10:51:10 +01:00
claudiosmweb 16953e96f8 save the order type when create a order with wc_create_order() 2014-07-07 17:23:43 -03:00
claudiosmweb 90110f300f added order_type when save the order data 2014-07-07 17:11:40 -03:00
claudiosmweb 72aae0e69d created order_type taxonomy and register_order_type() function 2014-07-07 16:19:51 -03:00
Mike Jolley fdccaa21d3 Rough, non-functioning example of the UI for refund total and add items in the order items panel
#3164
2014-07-07 16:45:08 +01:00
Coen Jacobs 93bd5a04df Correct order status for checking downloads 2014-07-07 13:30:07 +02:00
Mike Jolley 5b6c574664 Use get_transaction_id 2014-07-07 11:44:35 +01:00
Mike Jolley f6b78be21c Prevent notices in factory 2014-07-07 11:44:27 +01:00
Mike Jolley 8a1d7707ac PayPal implementation of Process_refund()
#3164
2014-07-07 11:44:15 +01:00
Mike Jolley 664dad3766 Process_refund()
#3164
2014-07-07 11:43:27 +01:00
Mike Jolley 979f2c0b48 Get transaction ID method 2014-07-07 11:43:06 +01:00
Max Rice 10046cb8a1 Only print checkout notices when not reloading the checkout
Any notices that are added during checkout are immediately lost when
the checkout is forced to reload. This commit fixes that by only
printing the notices if the checkout is not being reloaded, otherwise
they’re printed on the page reload and properly displayed to the user.
2014-07-04 17:22:58 -04:00
EmilEriksen 2f3793e49b pass to get_subtotal_to_display(). Fixes #5790 2014-07-04 20:29:17 +02:00
Mike Jolley 72396bf987 Add an order action to 'create credit note' 2014-07-04 15:20:29 +01:00
Mike Jolley 0b05f10995 Merge pull request #5787 from splashingpixels/bacs-html
moved h3 bank account title out of UL element for correctness
2014-07-04 11:04:14 +01:00
Mike Jolley 170399e5c3 Filter is_valid_for_product even when not relevant.
#5681
2014-07-04 11:03:12 +01:00
Paul Kilmurray 8c2f7a1388 Add woocommerce_product_visibility_options filter
Matches filter used in class-wc-admin-post-types.php
2014-07-04 14:42:14 +08:00
splashingpixels 63371ac520 moved h3 bank account title out of UL element for correctness 2014-07-03 11:54:36 -07:00
Mike Jolley abe0d0004a Merge pull request #5678 from coenjacobs/order-factory-refactor
Order factory refactor implementation (take two)
2014-07-03 15:14:43 +01:00
Mike Jolley a4346d9c90 Fix shop page when using verbose page rules
cc @claudiosmweb
2014-07-03 15:14:00 +01:00
Mike Jolley 5946e3fd7c $key should be $transient_name
#5777
2014-07-03 13:02:19 +01:00
Mike Jolley ee48dcd5fd Invalidate query transients to avoid cache flush
Part of #5777. These transients are required and cannot be predicted.

If not using an external cache system, the DB is cleared still to keep
size down after invalidation.

For these 2 transients, invalidation occurs when visibility altering
product attributes are edited.
2014-07-03 12:59:57 +01:00
Mike Jolley 3974c1028a Remove wp_cache_flush() Closes #5777
Carrying on from previous commits, the need for a wildcard delete for
products is unnecessary. This removes the $wpdb query and
wp_cache_flush()
2014-07-03 12:59:57 +01:00
Mike Jolley ad2c483370 No need to clear all transients here - only clear parent's cache
Part of #5777
2014-07-03 12:59:57 +01:00
Mike Jolley d1dbe4492e Clear comment transients only on wp_update_comment_count
Does not need to be flushed when editing a product. Part of #5777
2014-07-03 12:59:57 +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