Mike Jolley
6201c7e22b
Add get_min_purchase_quantity and max helper
2017-02-17 15:52:39 +00:00
Mike Jolley
846e1ca25c
If max and min value are identical, don't show qty input
2017-02-17 15:51:59 +00:00
Mike Jolley
3a6b4ffb38
Doing it wrong notice when setting a negative fee in cart.
...
#13224
2017-02-17 12:28:18 +00:00
Kathy
c30b1c1bb3
Coupon tweaks ( #13222 )
...
* pass coupon to applied/removed JS trigger
* add coupon id and coupon object to action hooks in admin metabox
2017-02-17 11:58:15 +00:00
pierrebuet
f6c9dce9b4
fix user id for download file ( #13220 )
2017-02-17 11:55:11 +00:00
Mike Jolley
232162bbf0
Download BW compat
...
#13220
2017-02-17 11:54:50 +00:00
Mike Jolley
f8926a5307
Exclude legacy from quality check
2017-02-17 11:48:31 +00:00
Mike Jolley
e8d5da5c05
Merge pull request #13225 from woocommerce/crud-rest-api
...
Replaced `WP_Post` by `WC_Data` objects in REST API v2
2017-02-17 11:46:20 +00:00
Claudio Sanches
b0e6a5ab5d
Get object again after saved
2017-02-17 01:46:42 -02:00
Claudio Sanches
a46aea1b77
Fixedd status
2017-02-17 01:17:52 -02:00
Claudio Sanches
58d90a2ee8
Added legacy classes
2017-02-17 00:27:40 -02:00
Claudio Sanches
6af3b2255e
Fixed default used_by
2017-02-17 00:10:46 -02:00
Claudio Sanches
ba7607fe00
Improved delete_item() for products and variations
2017-02-17 00:10:25 -02:00
Claudio Sanches
18dc63757b
BCheck if object exists
2017-02-17 00:09:46 -02:00
Claudio Sanches
94b0800735
Use CRUD Controller for product variations
2017-02-16 22:51:36 -02:00
Claudio Sanches
55977d03f3
Do not allow manipulate variations on products endpoint
2017-02-16 22:51:24 -02:00
Claudio Sanches
63cb7e7c27
Use CRUD Controller for products
2017-02-16 22:26:21 -02:00
Claudio Sanches
31f68377f9
Fixed docblock
2017-02-16 22:25:20 -02:00
Claudio Sanches
01a5296e7e
Fixed how CRUD delete items by REST API
2017-02-16 22:25:07 -02:00
Claudio Sanches
197d2eb98e
Use CRUD Controller for order refunds
2017-02-16 21:45:12 -02:00
Claudio Sanches
687433d5cc
Use CRUD Controller for orders
2017-02-16 21:15:34 -02:00
Claudio Sanches
34cf70407e
Use CRUD Controller for coupons
2017-02-16 20:31:36 -02:00
Claudio Sanches
d4ce22cb76
Created WC_REST_CRUD_Controller
2017-02-16 20:27:07 -02:00
Claudio Sanches
7a52ec465b
Fixed docblocks and removed dead variables
2017-02-16 18:05:06 -02:00
Mike Jolley
70d46fe008
Fix index checks
2017-02-16 16:45:50 +00:00
Mike Jolley
b37e4da43c
Move legacy classes to correct dir
2017-02-16 16:39:56 +00:00
Mike Jolley
bc751acb57
Merge pull request #13176 from woocommerce/db-schema-tweaks
...
DB schema tweaks
2017-02-16 16:34:08 +00:00
Mike Jolley
1348f6efd7
Merge branch 'master' into db-schema-tweaks
...
# Conflicts:
# includes/admin/class-wc-admin-duplicate-product.php
2017-02-16 16:33:20 +00:00
Mike Jolley
36092cba54
Merge branch 'includes'
2017-02-16 16:28:56 +00:00
Mike Jolley
dd3d46ccaf
Merge branch 'master' into includes
...
# Conflicts:
# includes/admin/class-wc-admin-duplicate-product.php
2017-02-16 16:28:46 +00:00
Mike Jolley
93e21a09c7
Convert alert to regular notice.
...
Fixes #13216
2017-02-16 16:27:37 +00:00
Mike Jolley
2505abeb21
Merge pull request #13202 from woocommerce/fix-13199
...
Duplicate products; fix variation creation and add actions
2017-02-16 16:18:53 +00:00
Mike Jolley
b69988fe39
Correct changes in variation data update and fix context
2017-02-16 16:07:11 +00:00
Mike Jolley
4271352502
Escaping dates and statuses
2017-02-16 15:59:28 +00:00
Claudio Sanches
9c15ca936b
Merge pull request #13206 from woocommerce/rest-api-v2
...
REST API v2
2017-02-16 12:53:46 -02:00
Mike Jolley
9427c2874f
Readme fix
2017-02-16 14:49:03 +00:00
Mike Jolley
ffcb1591c2
Readme
2017-02-16 14:45:40 +00:00
Mike Jolley
fadc0937c3
product category count fix
...
Fixes #13191
2017-02-16 12:57:48 +00:00
Mike Jolley
5309b4ca7d
woocommerce_delete_order_refund
2017-02-16 12:33:47 +00:00
Mike Jolley
244f075958
Fix preg match
...
Fixes #13205
2017-02-16 12:21:05 +00:00
Mike Jolley
bbf8e750ce
Tidy up includes
2017-02-16 11:46:01 +00:00
Mike Jolley
2afefcad90
Merge pull request #13203 from woocommerce/deprecated-hooks-tests
...
Deprecated hook handler unit tests
2017-02-16 11:01:45 +00:00
Mike Jolley
a06f83ac50
Fix variation image change
2017-02-16 11:00:09 +00:00
Mike Jolley
d8a00b97a1
Minify
2017-02-16 10:44:43 +00:00
Mike Jolley
47078b4c15
Check product exists before getting permalink
...
Closes #13210
2017-02-16 10:38:14 +00:00
Mike Jolley
bf384d07be
use global in factory if no id is passed
...
Fixes #13211
2017-02-16 10:33:59 +00:00
Mike Jolley
1b2bdf7bfd
Merge pull request #13207 from duracelltomi/master
...
Adding WP filter to is_order_received_page()
2017-02-16 10:12:05 +00:00
Mike Jolley
771dfc4741
Merge pull request #13209 from woocommerce/issues/13208/fix-deprecated-woocommerce_format_decimal
...
Replaced deprecated woocommerce_format_decimal with wc_format_decimal.
2017-02-16 10:07:29 +00:00
Akeda Bagus
9ad529f170
Replaced deprecated woocommerce_format_decimal with wc_format_decimal.
...
Fixes #13208 .
2017-02-16 13:49:56 +07:00
Thomas Geiger
5f6295264d
Adding WP filter to is_order_received_page()
...
Many plugins and themes rely on is_order_received_page() to include special codes when the user places an order. Some plugins however alter the flow: Klarna checkout for example uses a completely custom checkout flow, some other plugins adds the option to the user to specify a WP page as "the" order received page instead of the WooCommerce default. All those plugins break codes where is_order_received_page() is being used.
2017-02-16 07:00:16 +01:00