Commit Graph

17239 Commits

Author SHA1 Message Date
Gerhard db2de990e7 Modify duplicate coupon error code 2014-03-05 09:28:59 +02:00
Gerhard f2f7e09143 Change duplicate coupon error code 2014-03-05 09:28:03 +02:00
Gerhard 826085698b Validate coupon types 2014-03-05 09:25:11 +02:00
Gerhard 7dc7353e60 Coding standards & cleaning of data before saving 2014-03-05 08:07:42 +02:00
Gerhard 268ef2faab Check if coupon was updated when using wp_update_post and return error if not 2014-03-05 08:03:10 +02:00
Gerhard a2ecd3885c edit_coupon REST API look for type and not discount_type 2014-03-05 07:59:27 +02:00
Gerhard fa6eb98535 Rest API edit_coupon function 2014-03-05 07:43:13 +02:00
Gerhard 42d42ae751 REST API create_coupons function 2014-03-05 07:28:05 +02:00
claudiosmweb 344a0d92c6 improved the validation for WC_API_Customers::edit_customer() and WC_API_Customers::delete_customer() 2014-03-04 23:42:36 -03:00
claudiosmweb f2d8912bc1 fixed coding standards in includes/api/class-wc-api-customers.php 2014-03-04 22:48:54 -03:00
splashingpixels b279487535 get_related fixed tags OR query not excluding product ID 2014-03-04 16:19:12 -08:00
claudiosmweb 3b4b73851b added missing textdomain 2014-03-04 18:05:55 -03:00
claudiosmweb 41a5b147e9 improved the WP_Error's ids in customers api 2014-03-04 18:05:22 -03:00
Gerhard a53b93283c Fix create coupon api method 2014-03-04 17:05:38 +02:00
Mike Jolley e557ff5aec Use woocommerce_notify_no_stock_amount not 0, Closes #5035 2014-03-04 14:46:17 +00:00
Mike Jolley 5c75f8a20e Recoded set_stock to only make a variable product out of stock if all variations are stock managed, to to resync prices after stock changes #5035 2014-03-04 14:45:27 +00:00
Mike Jolley decfca94a4 Updated sync logic to exclude hidden and out of stock variations from the price display #5035 2014-03-04 14:44:24 +00:00
Gerhard 38f701e90a Better coupon create error messages 2014-03-04 15:50:31 +02:00
Gerhard 70fb3c004d Create coupons via API 2014-03-04 15:44:33 +02:00
Mike Jolley 4ab4811c57 Remove admin check around global po Closes #5029 2014-03-04 12:42:39 +00:00
Mike Jolley 256b1e011c Tweak shipping language Closes #5030 2014-03-04 12:39:39 +00:00
Mike Jolley 56c1ce4bd9 Merge pull request #5031 from BFTrick/uk-counties
Returning False Instead of Empty Array for Countries Without States
2014-03-04 11:49:34 +00:00
Mike Jolley e0b11c8c2e Corrected the "Show Siblings and Children Only" queries Closes #5028 2014-03-04 11:47:17 +00:00
claudiosmweb ee907b0c20 removed sanitize_text_field() function in favor to wc_clean() function in customers api 2014-03-04 02:48:17 -03:00
claudiosmweb 68b8c9f020 improved the customer api creation/edition 2014-03-03 23:01:07 -03:00
claudiosmweb 4204a86022 added method do delete customers via api 2014-03-03 22:16:54 -03:00
claudiosmweb 6c4f82665e added the woocommerce_api_edit_customer action in WC_API_Customers::edit_customer() 2014-03-03 22:09:50 -03:00
claudiosmweb 906273c20b added the woocommerce_api_create_customer action in WC_API_Customers::create_customer() 2014-03-03 22:09:05 -03:00
claudiosmweb f54909f715 added method to edit customer via api 2014-03-03 22:07:28 -03:00
claudiosmweb 5b95346825 fixed the customer creation via api 2014-03-03 21:41:53 -03:00
claudiosmweb 371665cd79 added route to create customers via api 2014-03-03 21:13:44 -03:00
claudiosmweb 14b63541a3 Added the WC_API_Server::urldecode_deep() method
To make it possible to get a more complex data structure.
Example:

array( 'data' => array( 'key' => 'value' ), 'data2' => array( 'key' => 'value' ) )
2014-03-03 21:09:11 -03:00
claudiosmweb 584bfda988 added method to create users with the api 2014-03-03 21:04:40 -03:00
Patrick Rauland f78482dd6e returning false instead of array for countries without states 2014-03-03 16:04:00 -08:00
Mike Jolley 48ebfae145 Made woocommerce_update_cart_action_cart_updated a filter which can return true or false to recalc totals Closes #4905 2014-03-03 15:15:32 +00:00
Mike Jolley 0b62f070ae Regen pot files #4986 2014-03-03 14:48:08 +00:00
Mike Jolley 31ee45cf5c Add context to strings #4986 2014-03-03 14:47:19 +00:00
Mike Jolley ba927d0bba Revert load order change #4986 2014-03-03 14:47:04 +00:00
Mike Jolley d9c10aae62 Later hook for template redirect and the_post Closes #4984 2014-03-03 13:37:45 +00:00
Mike Jolley 30eee00c1b Change the save order so email data is correct for manual orders Closes #4995 2014-03-03 13:27:20 +00:00
Mike Jolley 1c0e55c685 Correctly recompile scripts on update. Frontend css option no longer exists Closes #5014 2014-03-03 12:19:29 +00:00
Mike Jolley c01022f189 Fix variable product add file button after adding a new variation Closes #4994 2014-03-03 12:09:43 +00:00
Mike Jolley 47d1782b7e Resolve conflicts 2014-03-03 11:59:47 +00:00
Mike Jolley 74e7829e02 wc_get_endpoint_url - added support for permalinks containing a query string Closes #5016 2014-03-03 11:54:53 +00:00
Mike Jolley c6e63c663b Merge pull request #4998 from BFTrick/plain-text-flag
Add Plain Text Flag Gateways
2014-03-03 10:53:53 +00:00
Mike Jolley f2daf7aeec Merge pull request #4997 from BFTrick/wp-bacs-formatting
Use WordPress Brace Code Style in BACS Gateway Class
2014-03-03 10:53:04 +00:00
Mike Jolley ab3ebfd818 Merge pull request #5003 from splashingpixels/coupon
wc_get_product_ids_on_sale should never return post id of 0 fixes #5002
2014-03-03 10:52:28 +00:00
Mike Jolley c989ebd967 Merge pull request #5005 from splashingpixels/shop-order
shop order - fixes non object error on comments when order is in the tra...
2014-03-03 10:43:33 +00:00
Mike Jolley 365b98b1bf Merge pull request #5010 from splashingpixels/review-comments
Review comments
2014-03-03 10:42:35 +00:00
Mike Jolley d050cb1b24 Notice functions are 'core' so it makes sense to load session classes 'core' too (not just frontend) 2014-03-03 10:38:42 +00:00