Mike Jolley
67dde58d83
Tests
2017-05-26 16:00:32 +01:00
claudiulodro
df06d6f942
Merge remote-tracking branch 'origin/feature/product-csv-import-export' into HEAD
2017-05-25 12:41:26 -07:00
claudiulodro
a99d7ff099
Exporter tests and tweaks
2017-05-25 12:33:14 -07:00
Mike Jolley
ba305eacb5
Fix tests
2017-05-25 18:16:10 +01:00
claudiulodro
6d098b9c21
Clean up and some tests
2017-05-25 08:41:11 -07:00
Claudio Sanches
3fbaa8607a
Fixed unit tests for WC_Product_CSV_Importer
2017-05-24 03:44:27 -03:00
Claudio Sanches
f294447543
Fixed unit tests
2017-05-19 19:18:09 -03:00
Mike Jolley
3d5f1c1fe6
Merge branch 'feature/product-csv-import-export' into feature/csv-importer
2017-05-17 10:36:39 +01:00
Claudio Sanches
8f1eb262e3
Updated importer tests
2017-05-16 01:42:55 -03:00
Claudio Sanches
020e61927b
Created abstract product class
2017-05-16 01:02:46 -03:00
Claudio Sanches
c375fa03ff
Disable importer tests for now
2017-05-15 20:43:53 -03:00
Claudio Sanches
09cf382d29
Initial code to create/update in the CSV importer
2017-05-15 20:23:44 -03:00
Claudio Sanches
121f8f6315
Abstract the product importer
2017-05-15 19:49:53 -03:00
claudiulodro
824d8898a2
Fix unit tests
2017-05-12 08:44:02 -07:00
claudiulodro
fc365d29eb
Change test to better check validity
2017-05-10 13:20:07 -07:00
claudiulodro
93835f69db
New working date query format
2017-05-09 14:49:45 -07:00
claudiulodro
c89e389b3f
Good progress towards better date queries
2017-05-09 11:37:45 -07:00
Claudio Sanches
58fa8542b6
Merge pull request #14933 from woocommerce/fix/14815
...
Use numeric, not decimal
2017-05-08 15:36:39 -03:00
Mike Jolley
24fe8db5eb
Fix test
2017-05-08 19:14:33 +01:00
Claudio Sanches
257594a67c
Merge pull request #14945 from woocommerce/pr/14875
...
Pr/14875
2017-05-08 13:56:12 -03:00
Mike Jolley
dd3be1278b
Merge pull request #14733 from woocommerce/feature/13646
...
WC_Object_Query & WC_Order_Query
2017-05-07 14:24:12 +01:00
claudiulodro
b907aa74f6
Finish parser and unit test
2017-05-04 14:20:59 -07:00
Paul Kilmurray
71e462469a
Problem in WC_Abstract_Order->get_items()
...
This only effects new items, which are given duplicate array keys, eg: `new:0`, `new:1` etc.
2017-05-04 19:12:19 +09:00
Paul Kilmurray
b5f182e14d
Problem in WC_Abstract_Order->get_items()
...
This test will fail.
If the order is created with different item types, eg: *line_item* and *fee*, they will both be given the key `new:0`. Items with duplicate keys are not combined in the `get_items` function ([line 703](https://github.com/woocommerce/woocommerce/blob/master/includes/abstracts/abstract-wc-order.php#L703 )).
2017-05-04 18:47:43 +09:00
Claudio Sanches
7b5d56c643
[REST API] Adds missing "id" in shipping zone methods endpoint
...
This missing "id" will break CLI.
Added as duplicated with `instance_id` to keep backwards compatibility.
Fixes #14831
2017-05-02 20:37:03 -03:00
Mike Jolley
4b0fff3437
Fix zone routes in CLI
...
Fixes #14750
2017-04-28 15:49:51 +01:00
claudiulodro
11c7722eff
Update tests
2017-04-27 14:46:00 -07:00
claudiulodro
027e7b1f94
Add restored webhook
2017-04-27 11:44:57 -07:00
Mike Jolley
a68934d7db
Merge pull request #14731 from crodas/make_sure_meta_data_cache_is_not_shared
...
Make sure the meta data cache is not shared among instances
2017-04-27 16:50:10 +01:00
claudiulodro
6aecb15505
Reduce scope
2017-04-27 08:38:18 -07:00
Mike Jolley
fc0f5f3765
fix test
2017-04-27 15:23:04 +01:00
Cesar Rodas
91de312eb2
Make sure the meta data cache is not shared among instances
...
See #14620 for more context. In there I thought this was the desired behaviour and I enhanced it. After talking with @mikejolley he explained to me that it was not by designed.
This commit makes sure the meta data cache is not shared among instances
2017-04-26 13:51:52 -04:00
claudiulodro
9f0f0cd246
Polish and cleanup
2017-04-26 10:49:19 -07:00
claudiulodro
efa1dbbda5
Basic working order queries
2017-04-25 14:52:17 -07:00
Mike Jolley
a27e03378f
update test
2017-04-25 14:46:17 +01:00
claudiulodro
553a12203b
WC_Order_Query
2017-04-24 16:28:13 -07:00
claudiulodro
29fa59a0b7
WC_Object_Query
2017-04-24 11:33:17 -07:00
Mike Jolley
a325d03deb
wc_get_orders support for guest orders and unit tests
...
Fixes #14575
2017-04-20 18:05:58 +01:00
Claudio Sanches
e208e35e33
Fixed coding standards in tests
2017-04-20 01:34:58 -03:00
Mike Jolley
65b6ee58f7
Fix map URL unit test.
2017-04-17 12:10:38 +01:00
Claudio Sanches
627d7a8790
Merge pull request #14278 from woocommerce/fix/14209-alt
...
Variation Attribute Name Fixes (simplified)
2017-04-11 17:25:28 -03:00
Mike Jolley
5cfed7569c
Simplify wc_is_attribute_in_product_name and change separator
2017-04-11 21:12:30 +01:00
Claudiu Lodromanean
715656921d
wc_is_attribute_in_product_name
2017-04-10 14:35:16 -07:00
Mike Jolley
e478527c03
Fix test
2017-04-10 21:57:10 +01:00
Claudiu Lodromanean
903b176b99
Attribute title tweaks
2017-04-10 13:16:58 -07:00
Claudio Sanches
42ca7bda3d
Merge pull request #13989 from woocommerce/fix/product-meta-save_post
...
Fix saving meta when using `save_post`.
2017-04-06 14:38:16 -03:00
James Collins
285daf466b
Correctly calculate order total when adding the product
2017-04-06 18:02:06 +08:00
James Collins
09cbf5f816
Avoid deprecated warning when creating an order in unit tests
...
Unexpected deprecated notice for Action: woocommerce_order_add_product
2017-04-06 17:11:59 +08:00
Justin Shreve
08537218b1
mend
2017-04-05 14:46:17 -07:00
Justin Shreve
15bf1da7d5
Call save_meta_data before wp_update_post for data stores that use it, and refresh meta cache after.
2017-04-05 14:39:41 -07:00