Commit Graph

8433 Commits

Author SHA1 Message Date
claudiosmweb 7e17443be4 added new html-order-shipping.php to work in order items metabox 2014-07-14 16:22:01 -03:00
claudiosmweb ef2bff285a created new order totals display in order items 2014-07-14 15:23:56 -03:00
claudiosmweb c1b8878587 removed order_type taxonomy from wc_create_refund() 2014-07-11 15:39:20 -03:00
claudiosmweb 8c77382d95 removed old order_type taxonomy stuffs and fixed some code standards 2014-07-11 15:38:23 -03:00
claudiosmweb cdadc18665 fixed an fatal error in admin dashboard 2014-07-11 15:03:34 -03:00
Mike Jolley 6ba4dc3dc1 Merge branch 'refunds-and-order-types' into credit-notes 2014-07-11 15:31:08 +01:00
Mike Jolley 755001f19b Use order types where required 2014-07-11 12:43:42 +01:00
Mike Jolley 2545e55b73 wc_get_order_types and wc_register_order_type
Uses CPT rather than terms. #3164
2014-07-11 10:42:49 +01:00
Mike Jolley eca4025f5e Delete and display refunds 2014-07-10 16:39:10 +01:00
Mike Jolley 6862829fce Show total available 2014-07-10 14:52:36 +01:00
Mike Jolley 280b884c28 Create refunds and process via gateway 2014-07-10 14:49:04 +01:00
Mike Jolley d88279fe53 Start on ajax handlers 2014-07-10 13:33:05 +01:00
Mike Jolley e7dc58ac31 Tidied up order script 2014-07-10 11:25:50 +01:00
Mike Jolley 0e418a2961 Helper for getting tax rate percent 2014-07-10 11:01:00 +01:00
Mike Jolley 8ccd716062 Fix parsefloat 2014-07-10 11:00:48 +01:00
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
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
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
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 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
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
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
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
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