Commit Graph

18033 Commits

Author SHA1 Message Date
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
Claudio Sanches 4513e33031 Introduces the wc_get_coupon_code_by_id() function 2016-08-23 19:52:14 -03:00
Claudio Sanches 5e069a4f4e Merge pull request #11756 from woothemes/update/coupon-api-crud
Update Coupon API to use CRUD
2016-08-23 19:51:27 -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
Mike Jolley b727acd96e Implement get and set prop methods 2016-08-23 18:48:48 +01:00
Mike Jolley e08e5a816d 2d array handling 2016-08-23 15:49:34 +01:00
Mike Jolley 2636d04ba6 Setters 2016-08-23 15:25:50 +01:00
Mike Jolley b1bd1c2227 Fee 2016-08-23 15:02:57 +01:00
Mike Jolley 3e3e35d50d Add set prop/get prop helper, error handler, and validation to item product class 2016-08-23 14:58:44 +01:00
opportus 9001f094ff improved structured data - branch update 2016-08-23 15:49:20 +02:00
opportus 713adf2439 improved structured data - disable variable offers for looped products 2016-08-23 15:44:46 +02:00
Mike Jolley e0fcc9357b Remove exception class include 2016-08-23 13:43:48 +01:00
Mike Jolley 7c271e5dc5 Remove exception class 2016-08-23 13:43:35 +01:00
Mike Jolley 74c96e305b Error method 2016-08-23 13:43:26 +01:00
Mike Jolley 42ce6443e8 Remove backslash 2016-08-23 11:15:41 +01:00
Mike Jolley aa5fee3372 Merge pull request #11752 from corsonr/issue_11751
Fix issue 11751
2016-08-23 10:35:21 +01:00
Mike Jolley cdc9fae5a3 Merge pull request #11750 from nishitlangaliya/master
Fixed Issue #11630
2016-08-23 10:34:53 +01:00
corsonr f430c23cdc fix issue 11751 2016-08-23 11:16:38 +02:00
Multidots 41d079f086 Fixes add reply-to to admin emails ref #11630 2016-08-23 13:09:27 +05:30
Multidots c7fc7cce07 Merge branch 'master' of https://github.com/nishitlangaliya/woocommerce 2016-08-23 12:41:22 +05:30
Claudio Sanches 2407a880f7 Updated the default colors for emails to match the Woo Style Guide
Closes #11748

cc @jameskoster
2016-08-22 20:59:56 -03: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
Claudio Sanches 7c636ff781 Merge pull request #11747 from woothemes/oauth1-headers
Allow oAuth1.0a authentication using headers
2016-08-22 17:42:06 -03:00
Claudio Sanches eb55096a32 Allow oAuth1.0a authentication using headers 2016-08-22 17:39:41 -03:00
Claudio Sanches 7a0c5bc19b REST API expect meta data ID as an integer value
cc @mikejolley
2016-08-22 16:59:03 -03:00
Claudio Sanches 38e1be71eb ID first for all elements in the REST API
cc @mikejolley
2016-08-22 16:58:34 -03:00
Claudio Sanches 0da91bb7d7 Merge pull request #11746 from woothemes/crud-meta-id
Swaps meta_id for id across crud and api
2016-08-22 16:43:57 -03:00
Mike Jolley f34f1aa635 Simplify prepare_line_items logic 2016-08-22 19:58:30 +01:00
Mike Jolley 39f4a1cdca Swaps meta_id for id across crud and api 2016-08-22 19:37:34 +01:00
Claudio Sanches c8757a1fda Merge branch 'master' of github.com:woothemes/woocommerce 2016-08-22 14:44:09 -03:00
Claudio Sanches e72320d33c Include WooCommerce docs in the apigen menu 2016-08-22 14:43:57 -03:00
Mike Jolley 169780d31b woocommerce-message--success
Followed
https://github.com/woothemes/woocommerce/wiki/CSS-SASS-coding-guidelines
-and-naming-conventions

Closes #11722
2016-08-22 18:41:38 +01:00
Mike Jolley 2cea613566 Fix shipping meta save
#11601
2016-08-22 18:07:52 +01:00
Mike Jolley a8e47992a6 Put back add_product for convenience. Fix unit tests. 2016-08-22 18:00:52 +01:00
Mike Jolley 3d696266d2 Set_address 2016-08-22 17:03:59 +01:00
Mike Jolley 7cf75f5085 Remove use of deprecated functions 2016-08-22 16:57:54 +01:00
Mike Jolley 95b11606fc get_product_from_item -> get_product 2016-08-22 16:51:24 +01:00
Mike Jolley c88984eb0e Replace add methods 2016-08-22 16:48:19 +01:00
Mike Jolley e079895c08 Set rate in one go for tax rate items 2016-08-22 14:52:03 +01:00
Mike Jolley fc2e039882 Deprecate add_product etc
#11601
2016-08-22 14:51:53 +01:00
Mike Jolley 09e43cf797 read only refunded by 2016-08-22 13:15:15 +01:00
Mike Jolley fdd7e797ba API get refunds 2016-08-22 13:15:15 +01:00
Mike Jolley 9e45927803 Create refund with crud 2016-08-22 13:15:15 +01:00
James Koster df624b218b product title size consistency regardless of tag. closes #11562 2016-08-22 12:27:08 +01:00
Mike Jolley 7eb9720fde Merge pull request #11737 from thii/add/paypal-here-txn-type
Add PayPal Here as a valid transaction type
2016-08-22 09:50:29 +01:00
Mike Jolley 698c84827d Merge pull request #11717 from woothemes/improve-configure-terms
Change "Configure terms" into a link
2016-08-22 09:49:27 +01:00
Mike Jolley 9558c9e99a Merge pull request #11730 from woothemes/improve-log-viewer
Removed internal scroll from log viewer
2016-08-22 09:48:55 +01:00
nishit.langaliya 94ed2fd96d Fixes: Add reply-to to admin emails ref #11630 2016-08-22 11:42:21 +05:30