Mike Jolley
|
df35845d4d
|
wc_get_coupon_id_by_code
|
2016-08-30 11:43:53 +01:00 |
Mike Jolley
|
b0672a000a
|
Fixed unit tests
|
2016-08-26 16:44:00 +01:00 |
Mike Jolley
|
7d8bacc2b3
|
Missing $wpdb
|
2016-08-26 16:15:18 +01:00 |
Mike Jolley
|
f034e1f69d
|
Exception handling and REST optimisation
|
2016-08-26 15:42:42 +01:00 |
Mike Jolley
|
3ff41ceea4
|
No need to add meta since CRUD handles this
|
2016-08-26 15:26:05 +01:00 |
Mike Jolley
|
5c40236d79
|
Fixes notices
|
2016-08-26 15:24:01 +01:00 |
Mike Jolley
|
ed01282340
|
Made data match schema
|
2016-08-26 15:20:44 +01:00 |
Claudio Sanches
|
16e386c873
|
Merge pull request #11757 from woothemes/get-coupon-code-by-id
Get coupon code by
|
2016-08-24 14:18:23 -03:00 |
Claudio Sanches
|
c8726cc42b
|
Fixed method return value in write context
cc @justinshreve
|
2016-08-24 01:50:12 -03:00 |
Claudio Sanches
|
3633960165
|
Removed dead global variables
|
2016-08-23 20:02:38 -03:00 |
Claudio Sanches
|
00b2e43250
|
DRY
|
2016-08-23 20:00:30 -03:00 |
Justin Shreve
|
77088a4a22
|
Coupon ID will also be an integer, so we can switch the prepare statement to expect that
|
2016-08-23 13:55:21 -07:00 |
Justin Shreve
|
a243829db6
|
Convert Coupon Controller to use CRUD operations
|
2016-08-22 15:06:21 -07:00 |
Justin Shreve
|
7da590e422
|
Coupon Tests:
* Move tests for legacy endpoints to a legacy test folder.
* Create a test class to test the WC-API coupons endpoint.
|
2016-08-22 13:50:32 -07:00 |
Mike Jolley
|
61e2969b83
|
[2.6][API] Fix coupon description field
fixes #11633
|
2016-08-08 11:27:07 +01:00 |
Claudio Sanches
|
81690c4dee
|
Fixed duplicated semicolon
|
2016-06-30 18:25:39 -03:00 |
Claudio Sanches
|
d117423f56
|
[2.6] [REST API] Fixed the schema for prices
|
2016-06-20 17:20:12 -03:00 |
Claudio Sanches
|
abac5e2160
|
[REST API] Fixed batch create coupons
|
2016-05-22 18:19:45 -03:00 |
Claudio Sanches
|
2b1d4eced6
|
[REST API] Allow batch create, update and delete for almost all endpoints
|
2016-05-11 16:34:53 -03:00 |
Claudio Sanches
|
552b40ad02
|
[REST API] Defined coupons default values
|
2016-04-28 18:38:35 -03:00 |
Matheus Martins
|
303787b29c
|
Fixing grammar error
Just fixing a little grammar error
|
2016-04-23 01:32:22 -03:00 |
Claudio Sanches
|
ab449a6a62
|
Improved coupons endpoint using the new Coupon Data fields
|
2016-03-31 16:32:12 -03:00 |
Claudio Sanches
|
92da79ce76
|
Changed $namespace from public to protected
|
2016-03-31 15:25:31 -03:00 |
Claudio Sanches
|
9619c041cd
|
Allow filter coupons by code
|
2016-03-30 18:42:51 -03:00 |
Claudio Sanches
|
8e9e9526ac
|
Fixed date params
|
2016-03-30 14:53:46 -03:00 |
Claudio Sanches
|
a16b32825f
|
Fixed rest functions names
|
2016-03-29 19:54:37 -03:00 |
Claudio Sanches
|
ae2b3eb3fc
|
Check if coupon code is empty
|
2016-03-29 19:11:49 -03:00 |
Claudio Sanches
|
a0290a6c65
|
Stop check again if coupon have code when creating
|
2016-03-29 19:09:55 -03:00 |
Claudio Sanches
|
242b362020
|
Fixed file names
|
2016-03-28 09:25:50 -03:00 |