Commit Graph

34 Commits

Author SHA1 Message Date
Mike Jolley 700369c386 Refund report changes
1. Ensure refund order_total is negative and reflects the full amount,
not just line items
2. Ensure transients are cleared when doing refunds
3. sales-reports order types so we can exclude refunds from pure
‘sales’ reporting
4. Tweak placement of refunds in legend.

Closes #6411
2014-10-06 13:39:53 +01:00
Mike Jolley 9947c22cfe Prevent order statuses affecting other queries.
Closes #6437
2014-10-03 14:35:45 +01:00
claudiosmweb 6a0d5ebf0c Fixed number of processing orders display
Reported in
http://wordpress.org/support/topic/number-of-processing-orders-missing-from-left-panel

Cannot use wc_get_order_type() before wc_register_order_type()

@mikejolley
2014-09-15 23:32:34 -03:00
Vadonis Landfair 1b8ef82d21 Minor Fix: Fixed Product Tag Arguments
Product Tags are labeled as non-hierarchical, but they are labeled with hierarchical labels instead of non-hierarchical labels. On the back-end everything shows up and works as intended. WordPress just ignores the mislabeled args and uses the correct ones by default. Always good to follow register_taxonomy() args :p.
2014-09-11 23:57:43 -05:00
Mike Jolley 5046256cea Prevent 404's caused by attachment link workaround.
Fixes #5975
2014-08-06 11:50:09 +01:00
Max Rice 81297cf94d Add shop_webhook custom post type
Part of #5564
2014-07-30 16:22:40 -04:00
Mike Jolley c465c7235d Merge branch 'credit-notes'
Conflicts:
	includes/abstracts/abstract-wc-order.php
	includes/class-wc-order-factory.php
	includes/class-wc-post-types.php
	includes/wc-formatting-functions.php
	includes/wc-order-functions.php
2014-07-29 12:09:52 +01:00
claudiosmweb 8c77382d95 removed old order_type taxonomy stuffs and fixed some code standards 2014-07-11 15:38:23 -03: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
Claudio Sanches 9701cfe2a7 Revert "order_type taxonomy and register_order_type() function" 2014-07-08 14:10:37 -03:00
claudiosmweb 72aae0e69d created order_type taxonomy and register_order_type() function 2014-07-07 16:19:51 -03:00
Alexandru Furculita 89718fb43b Replace get_page with get_post
get_page is deprecated since WP 3.5
2014-07-03 13:25:50 +03:00
Mike Jolley 8a6a195692 Merge branch 'post-statuses-for-orders' 2014-06-04 05:54:15 +01:00
Mike Jolley 9307fcf66b Internal wc- prefix and get_status filter 2014-06-03 11:04:56 +01:00
claudiosmweb 6577d8086b fixed the product attachment urls when use n/%product_cat% as base url, closes #5159 2014-06-02 15:40:24 -03:00
Mike Jolley fca32a98de Implement is_status functions and update_status 2014-05-30 17:16:22 +01:00
Mike Jolley a8811167f2 pending 2014-05-30 15:54:18 +01:00
Mike Jolley ea55a874db Failed status 2014-05-30 15:28:10 +01:00
Mike Jolley f506549264 Kill shop_order_status taxonomy 2014-05-30 15:27:17 +01:00
Mike Jolley 127bcc7d35 Register statuses for orders 2014-05-30 15:24:53 +01:00
Mike Jolley e198ee517a Made stateless classes static to allow unhooking of hooks
Closes #5151
2014-05-28 14:52:50 +01:00
Coen Jacobs 5d70dae52f Introducing post taxonomy init hook 2014-02-06 14:32:25 +01:00
Mike Jolley 2448a19545 Don't return class, just construct it. Use static methods #4616 2014-02-05 15:02:02 +00: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
Coen Jacobs 47ae00be28 Page functions woocommerce to wc refactor 2013-11-25 15:07:22 +01:00
Mike Jolley 3973beae5d woocommerce_ functions to wc_ - replaced attribute functions 2013-11-25 14:01:37 +00:00
Coen Jacobs f7df17db1c Order functions woocommerce to wc refactor 2013-11-25 14:54:52 +01:00
Mike Jolley 28f8d401d3 Fix term install Closes #3919 2013-10-22 16:34:23 +01:00
Mike Jolley 1d8d86a2e5 Coupon in admin bar new menu Closes #3974 2013-10-22 13:58:55 +01:00
Mike Jolley 355dd16962 Removed @coenjacobs helpers and cleaned up main clas 2013-09-12 14:41:02 +01:00
Mike Jolley 3d078397b3 Merge branch 'Re-organise-settings'
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01:00
Mike Jolley 06bf190599 public false for taxonomies. Closes #3373. 2013-06-28 11:17:56 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00