Commit Graph

86 Commits

Author SHA1 Message Date
shivapoudel 893e1e508c Absolute path fix for wc-formatting-functions.php 2014-09-21 00:54:16 +05:45
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Max Rice f70c00ed24 Formatting functions tweaks 2014-09-05 14:35:18 -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
Mike Jolley 19b6922044 Refund line items and taxes 2014-07-24 15:34:14 +01:00
Mike Jolley 822d477f72 wc_price filters suggested in #5664
Closes #5664
2014-07-11 16:13:03 +01:00
Mike Jolley eca4025f5e Delete and display refunds 2014-07-10 16:39:10 +01:00
Mike Jolley 0f6f04e017 Added wc_stock_amount() core function and replaced intval
#4612
2014-06-25 11:25:28 +01:00
Mike Jolley 83f1236875 [2.2] Simplified attribute name sanitisation which maintains UTF8 char integrity.
Fixes #5434
2014-05-07 15:02:03 +01:00
Mike Jolley 324e17d85f [2.2] Allow spaces and use formatted postcodes for wildcard in local pickup
Fixes #5250. Should go in 2.2 since it could affect existing setup
codes.
2014-04-07 15:46:40 +01:00
Mike Jolley a67c91db7b Flip default status of price_trim_zeros
#4828 #4823 enabled with add_filter( 'woocommerce_price_trim_zeros',
'__return_true’ );
2014-02-17 10:19:12 +00:00
Mike Jolley 9771bf1b66 Clean up wc_price Closes #4714 2014-02-11 13:47:54 +00:00
Nik-v a005e3e71f Some braces for the new WordPress standard
Simple braces being added
2013-12-08 16:08:46 -06: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
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Max Rice deac0be31b Implement order status update endpoint
Closes #4161
2013-11-23 12:59:21 -05:00
Mike Jolley 0dc0b9cbb0 Indenting fail. 2013-11-20 16:13:53 +00:00
Mike Jolley 7cb88db630 Merge pull request #4143 from mihaigrigori/master
Show order currency
2013-11-20 08:12:21 -08:00
Gerhard 475e9abe83 Add formatted_woocommerce_price filter. 2013-11-20 10:40:29 +02:00
mihaigrigori fac0bf69eb Show order currency
- method to return the order currency
- allow 'currency' parameter for 'woocommerce_price'
2013-11-19 15:13:11 +02:00
Coen Jacobs e41687ba4f Merge pull request #4138 from woothemes/api-implementation
API implementation merge to master
2013-11-19 00:53:11 -08:00
Max Rice 87ff36db12 Properly handle datetimes
Part of #4055
2013-11-18 16:47:38 -05:00
Mike Jolley 9eabb9a4fb Fix yard conversion Closes #4129
@coenjacobs for .21
2013-11-18 12:31:55 +00:00
Mike Jolley 3fd02a57d0 Locales - store standardised values, and display using locale in admin #3862 2013-11-12 17:43:30 +00:00
Mike Jolley c7429357c7 Fix notices and rounding issues in orders 2013-10-25 20:02:21 +01:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley 0d8d95e8e6 total calcs 2013-10-24 13:41:42 +01: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 4204b25879 Remove accents from taxonomy names + run through filter Closes #3832 2013-10-04 16:10:49 +02:00
Mike Jolley 66c04b0f72 Check values are set before casting as floats 2013-10-02 12:50:03 +01:00
Mike Jolley 24a3e3e17b Format decimals with single function, convert locale to standard form. #3862 2013-10-01 17:54:32 +01:00
Mike Jolley 3bedaf5e94 Number format taxes, and allow 'auto' DP (we don't want to round these values) Closes #3703 2013-10-01 13:02:58 +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 57157db9bf Function refactoring. 2013-08-09 17:11:21 +01:00