Commit Graph

17105 Commits

Author SHA1 Message Date
Diego 9c3309c565 Added filter to alter base tax rates
The filter will come useful in international shops which have more than one branch/base shop and require higher flexibility in tax calculation.
2014-10-31 17:52:24 +00:00
Mike Jolley 591086eb9b Show notice when nonce isn't set. Fixes #6658
Wrap entire process_checkout method in try catch block to make errors
output correctly.
2014-10-31 15:03:53 +00:00
Mike Jolley 03e7a0ceaa Check order exists in wc_clear_cart_after_payment()
Fixes #6649
2014-10-31 12:37:13 +00:00
claudiosmweb 956f003175 Unit Tests: Created initial shipping tests and added shipping value for coupon tests 2014-10-30 17:58:19 -02:00
claudiosmweb 8faf3ec85a Unit Tests: Created test_fixed_product_discount and test_percent_product_discount methods 2014-10-30 16:22:14 -02:00
claudiosmweb 720ef008d7 Unit Tests: Created WC_Helper_Fee class and WC_Tests_Cart::test_cart_fee method 2014-10-30 16:08:33 -02:00
claudiosmweb 9dd82ad5a6 Unit Tests: Created test_percent_cart_discount method 2014-10-30 15:13:42 -02:00
Mike Jolley 80cba5ee05 Adjust ZIP code UI in local pickup
Closes #6647
2014-10-30 16:11:02 +00:00
James Koster dd07bbabff report wrapping. closes #6608 2014-10-30 14:02:55 +00:00
claudiosmweb 410e12a166 Merge branch 'master' of github.com:woothemes/woocommerce 2014-10-30 12:00:07 -02:00
claudiosmweb 28dc830d28 Unit Tests: Created WC_Tests_Coupon class 2014-10-30 11:59:53 -02:00
James Koster 27cd939cde wc icon font 1.0.3 2014-10-30 13:52:57 +00:00
claudiosmweb 8b0d6ed185 Unit Tests: Clear cart notices in test_fixed_cart_discount method 2014-10-30 11:37:54 -02:00
claudiosmweb c269c52f68 Unit Tests: Added test_fixed_cart_discount method 2014-10-30 11:29:59 -02:00
claudiosmweb 324a86cea8 Fixed DocBlock for wc_get_core_supported_themes() 2014-10-30 11:00:24 -02:00
claudiosmweb d5e10887cf fixed the WC_Tests_Core_Functions::test_get_woocommerce_currencies() 2014-10-30 10:47:36 -02:00
claudiosmweb fa6edff86d Added UAH currency, closes #6653 2014-10-30 10:27:16 -02:00
claudiosmweb 820ba2cf42 Excluded tests and tmp directory when create new .pot files 2014-10-29 17:45:29 -02:00
Nicola Mustone 011bb0a784 Added cancelled order admin email 2014-10-29 15:05:43 +01:00
Mike Jolley d05500637c Telangana state 2014-10-29 11:54:36 +00:00
Mike Jolley ab562615ce [2.2] Remove strtolower and capitalize status names
Fixes #6624
2014-10-29 11:15:00 +00:00
Mike Jolley 69ca69ce52 Split up the product widget methods 2014-10-29 11:07:06 +00:00
Mike Jolley 9be06dd9e5 Merge pull request #6635 from tivnet/patch-2
Avoid notices if file does not exist
2014-10-29 10:37:28 +00:00
Mike Jolley 3d1285c8c4 Allow some limited html in text attributes
Fixes #6620. @claudiosmweb @barrykooij see any issues with adding this
one? Doesn’t appear to break anything…
2014-10-29 10:29:51 +00:00
Mike Jolley bcaf0e0779 Merge pull request #6641 from coenjacobs/filter-empty-rate-code
Allow to filter empty tax rate code
2014-10-29 10:04:34 +00:00
claudiosmweb a5ad428faf [2.2] fixed the value format in stock field with wc_stock_amount(), closes #6622 2014-10-28 18:37:53 -02:00
Barry Kooij 5405581ce4 Unit Tests: add method test_add_discount_duplicate. 2014-10-28 12:25:50 +01:00
Coen Jacobs 7ea0d586c9 Allow to filter empty tax rate code 2014-10-28 12:24:09 +01:00
Barry Kooij b76fc7c68a Merge branch 'master' of github.com:woothemes/woocommerce 2014-10-28 11:53:44 +01:00
Barry Kooij 4a6b880a41 Unit Tests: updated product class doc. 2014-10-28 11:53:36 +01:00
Barry Kooij db4eb9a2c6 Unit Tests: Only check for error notices as methods add success notices. 2014-10-28 11:53:22 +01:00
Barry Kooij 1bfab57e29 Unit Tests: Added test_add_discount method. 2014-10-28 11:52:44 +01:00
Barry Kooij e2df8e9b87 Coupon helper. 2014-10-28 11:51:46 +01:00
Barry Kooij 6312683eec Small codestyle fix to add_discount method. 2014-10-28 11:51:33 +01:00
Mike Jolley f4556fe710 [2.2] Fixed nonce check in form handler 2014-10-28 09:40:50 +00:00
Gregory Karpinsky 5460e0fed0 Avoid notices if file does not exist
1. I've got notices on files
my-theme/woocommerce/single-product\add-to-cart\bundle.php, 
my-theme/woocommerce/single-product\bundled-item-image.php, 
my-theme/woocommerce/single-product\bundled-item-title.php
which are Template Overrides (WooCommerce Product Bundles)
and do not exist in the WC plugin.

2. There should be a more elegant way, because this is just to shut up notices. No version comparison performed.
2014-10-27 20:21:33 -04:00
Mike Jolley d53d61dc03 Split setup_environment() 2014-10-27 15:00:14 +00:00
Mike Jolley b9eb83403e Split prevent_caching() method 2014-10-27 15:00:14 +00:00
Mike Jolley d5ca220eb4 Merge pull request #6630 from vachan/patch-1
Added Address Format for India
2014-10-27 14:09:04 +00:00
Mike Jolley b55812a8db Parse_file_path can just do replacements 2014-10-27 13:38:29 +00:00
James Koster fd81658cba storefront prompt. closes #6351 2014-10-27 13:38:04 +00:00
Vachan Kudmule 755d065107 Added Address Format for India
In India the Postcode is at the city level, thus updated the file in accordance with the Indian Standard of Address Formatting.
@line#382: Hyphenated Postcode to the City Name & State then Country.
REF: 
1) I am an Indian Citizen myself
2) http://en.wikipedia.org/wiki/Address_(geography)#India
3) http://www.addressdoctor.com/en/countries-data/address-formats.html#fbid=Bv4FMyXjoPh
4) http://www.bitboost.com/ref/international-address-formats/india/
2014-10-27 18:12:51 +05:30
Barry Kooij 1d4800ee98 Unit Tests: test_coupons_enabled, test_ship_to_billing_address_only, test_needs_shipping_address 2014-10-27 13:30:50 +01:00
Barry Kooij aec79a9222 Merge branch 'master' of github.com:woothemes/woocommerce
Conflicts:
	tests/unit-tests/cart.php
2014-10-27 13:30:27 +01:00
Barry Kooij 26073e5668 Unit Tests: test_coupons_enabled, test_ship_to_billing_address_only, test_needs_shipping_address 2014-10-27 13:29:03 +01:00
Mike Jolley 04dcc6a3f2 Tweak download_product() method 2014-10-27 12:25:05 +00:00
Mike Jolley 8a310f96d8 Split download_headers() method 2014-10-27 11:01:27 +00:00
Mike Jolley abd81e6685 Split check_current_user_can_download() method 2014-10-27 11:01:27 +00:00
claudiosmweb da4e7026a2 Fixed coding standards 2014-10-24 20:33:30 -02:00
Barry Kooij 75484c6d43 Unit Tests: split cart check methods. 2014-10-25 00:27:14 +02:00