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
Barry Kooij
1a3d15ad4c
Merge branch 'master' of github.com:woothemes/woocommerce
2014-10-25 00:20:13 +02:00
Barry Kooij
4fd09d9c11
Unit Tests: skip this test for now.
2014-10-25 00:20:05 +02:00
claudiosmweb
dfde3f0028
Prevents adding trashed products in the cart
2014-10-24 20:12:55 -02:00
Mike Jolley
cac813c1de
Attempt to improve check_current_user_can_download()
2014-10-24 23:08:50 +01:00
Mike Jolley
63c923394c
Additional download handler tweaks
2014-10-24 22:50:23 +01:00
Barry Kooij
8a104ee642
Unit Tests: Added test_get_total and test_get_total_ex_tax methods.
2014-10-24 22:34:10 +02:00
Barry Kooij
fdfabc89f9
Unit Tests: added test_check_cart_item_validity method
2014-10-24 21:26:38 +02:00
Barry Kooij
e5d418305d
Unit Tests: Added assertIsWPError to WC unit test framework
2014-10-24 21:26:26 +02:00
Barry Kooij
6960138876
Unit Tests: force delete on cleanup
2014-10-24 21:14:19 +02:00
Barry Kooij
a4bb50aaa5
Unit Tests: added test_get_remove_url
2014-10-24 20:56:56 +02:00
Barry Kooij
80dc739ef0
Add return statement to check_cart_items
2014-10-24 20:56:06 +02:00
Barry Kooij
4b510dc7d6
Merge branch 'master' of github.com:woothemes/woocommerce
2014-10-24 20:37:06 +02:00
Barry Kooij
4eb50a198b
Unit Tests: added test_add_to_cart_sold_individually method
2014-10-24 20:36:07 +02:00
Barry Kooij
aa85f8dcb1
Unit Tests: add extra checks to add_to_cart tests.
2014-10-24 20:35:49 +02:00
Mike Jolley
c3023d4c8c
WC_Download_Handler - Split download and download_product into multiple methods
2014-10-24 18:21:21 +01:00
Mike Jolley
3aaa397361
WC_Download_Handler - readfile_chunked refactor
2014-10-24 18:21:21 +01:00
Barry Kooij
1ffa095ef1
Merge branch 'master' of github.com:woothemes/woocommerce
2014-10-24 17:04:30 +02:00
Barry Kooij
ef3c2e02f0
Unit Tests: cart todo's
2014-10-24 17:04:21 +02:00
Barry Kooij
98851c8aa7
Unit Tests: test_set_quantity method
2014-10-24 17:04:10 +02:00
Mike Jolley
270e26c3cc
Allow linking to #reviews tab Closes #4630
2014-10-24 15:50:15 +01:00
Barry Kooij
fbff5936d9
Added return statement to set_quantity
2014-10-24 16:02:31 +02:00
Mike Jolley
2b8be95360
Remove # (hash) from get_order_number and add to strings instead as needed.
...
Most places use Order #X
Some places use Order Number: X
Both are now valid.
Fixes #6518
2014-10-24 14:53:43 +01:00
Barry Kooij
31e61bbf5c
Unit Tests: added test_generate_cart_id method
2014-10-24 15:43:26 +02:00
Barry Kooij
def3e98f04
Unit Test: use correct product helper method.
2014-10-24 15:37:22 +02:00
Barry Kooij
ae6a3ef287
Unit Tests: Added test_find_product_in_cart method
2014-10-24 15:37:09 +02:00
Barry Kooij
eabb8eb712
Unit Tests: product helper codestyle
2014-10-24 15:36:29 +02:00
Barry Kooij
f88fe50ab4
Unit Test: Added delete_product helper method.
2014-10-24 15:36:13 +02:00