Commit Graph

6581 Commits

Author SHA1 Message Date
Claudio Sanches 26c325acce Fixed __() functions 2016-03-01 17:53:25 -03:00
Claudio Sanches 53db5ff4c8 Created coupons POST and PUT endpoints and coupons schema 2016-02-26 17:24:33 -03:00
Claudio Sanches 7593285824 Fixed docblocks 2016-02-23 15:34:55 -03:00
Claudio Sanches 1fb4108e08 Added methods to delete orders, refunds and products 2016-02-23 15:34:42 -03:00
Claudio Sanches 9ba3747b74 Fixed controller for order notes 2016-02-23 15:34:14 -03:00
Claudio Sanches f10846277b Added method to delete coupons 2016-02-23 15:28:43 -03:00
Claudio Sanches 0d88e3c380 Added endpoint to get coupons 2016-02-23 12:16:21 -03:00
Claudio Sanches 77c968e590 Included wp-api functions 2016-02-23 12:15:25 -03:00
Claudio Sanches f6e9d85ff2 Added version to the WP_REST_Controller class 2016-02-23 12:07:08 -03:00
Claudio Sanches a31ef08ed7 Improved permissions check 2016-02-22 17:48:38 -03:00
Claudio Sanches 54739c5e19 Created GET coupons endpoint 2016-02-22 16:44:47 -03:00
Claudio Sanches 43a5f6f842 Created abstract classes for posts and terms 2016-02-22 16:43:52 -03:00
Claudio Sanches 92ef7303b7 Rename $base to $rest_base 2016-02-22 15:49:38 -03:00
Claudio Sanches c7045ce881 Load WP REST API endpoints only for WP 4.4 or later 2016-02-17 17:40:41 -02:00
Claudio Sanches 7a1f1ff43c Added initial REST API controllers 2016-02-17 17:29:09 -02:00
Claudio Sanches e926c54d29 Created WC_REST_Controller and structure to load WooCommerce controllers 2016-02-16 18:59:18 -02:00
Claudio Sanches f6242506c4 Included WP_REST_Controller class from WP-API v2 2016-02-16 18:57:33 -02:00
Claudio Sanches 2ae38250dd Deprecated our API in favor of WP API 2016-02-16 18:22:12 -02:00
Justin Shreve b2b9d7e4da Give the downloads and payment methods pages their own filters. 2016-02-16 11:52:08 -08:00
Claudio Sanches 2de00c61ff Added account endpoint for customer payment methods 2016-02-16 13:57:46 -02:00
Claudio Sanches d34c580e1d Fixed order default qty 2016-02-16 13:50:06 -02:00
Claudio Sanches daf2f92a8c Added dashboard menu item and created function to get menu item classes 2016-02-16 13:50:06 -02:00
Claudio Sanches d193caa987 Better pagination for account > orders 2016-02-16 13:50:06 -02:00
Claudio Sanches 36c0b6047a Less "my" and more "ours" 2016-02-16 13:50:06 -02:00
Claudio Sanches 564f882fee Fixed typos 2016-02-16 13:50:06 -02:00
Claudio Sanches 6993e52ce5 Account functions tests 2016-02-16 13:50:06 -02:00
Claudio Sanches 3a3380e4ab Created account downloads endpoint 2016-02-16 13:50:06 -02:00
Claudio Sanches e9b5653f0b Created new filter for endpoint title and improved woocommerce_my_account_*_endpoint filter 2016-02-16 13:50:06 -02:00
Claudio Sanches 02e3c6362d Created my account > orders template 2016-02-16 13:50:06 -02:00
Claudio Sanches ad9374785f Fixed wc_get_account_menu_items() endpoints 2016-02-16 13:50:06 -02:00
Claudio Sanches a8c390dae1 Include orders and downloads endpoints 2016-02-16 13:50:06 -02:00
Claudio Sanches 00a0841708 New options for orders and downloads endpoints 2016-02-16 13:50:06 -02:00
Claudio Sanches 211c379af6 My account initial navigation 2016-02-16 13:50:06 -02:00
Claudio Sanches 6e319dfe8d Allow custom endpoints for my account 2016-02-16 13:47:04 -02:00
Claudio Sanches 7ae806d16f Created new account functions file 2016-02-16 13:43:06 -02:00
Mike Jolley 60cd28e802 Fix range for grouped products
Fixes #10359
2016-02-16 13:15:49 +00:00
Mike Jolley 9be6942f29 Merge pull request #10331 from aelia-co/master
Modified scope of WC_Shipping_Method methods
2016-02-16 12:33:46 +00:00
Mike Jolley f90f7fdd7b Merge pull request #10350 from aelia-co/Improvement-Shipping_Zone-Methods_Filter
Added new filter in WC_Shipping_Zone::get_shipping_methods()
2016-02-16 12:26:54 +00:00
Mike Jolley 5f9786fe8c Merge pull request #10354 from Ninos/checkout-notices
Fixed: Notice in checkout (order received) - undefined variable $order
2016-02-16 12:25:22 +00:00
Claudio Sanches a91a1e6e47 Merge pull request #10342 from coderkevin/features/cart-ajax
Cart AJAX
2016-02-15 16:55:49 -02:00
Mike Jolley c469ab920b Use wpdb query instead of looping over children
Closes #10195

cc @claudiosmweb

Since this uses `$this->get_children( true );` it will also hide out of
stock variation attributes if that setting is enabled.
2016-02-15 15:53:43 +00:00
Ninos Ego f7d61a7aa1 Fixed: Notice in checkout (order received) with no existing order id -> undefined variable order 2016-02-15 16:11:04 +01:00
Mike Jolley e4e4a854c2 Merge pull request #10341 from JeroenSormani/checkout-fields-value
Use real checkout fields for getting value
2016-02-15 13:30:24 +00:00
Kevin Killingsworth e99e75b5b9 Fix spacing.
Add space after !
2016-02-14 21:56:42 -06:00
Diego Zanella d4ada2c4d7 Added new filter in Shipping Zone
* The filter will allow 3rd parties to process the INSTANCES of the shipping methods loaded for a zone.
2016-02-13 23:23:10 +00:00
Claudio Sanches f57f306326 Merge pull request #10345 from shivapoudel/permalink-fix
Can remove parent assignment as its not used
2016-02-13 04:14:34 -02:00
Kevin Killingsworth 30a272e58a Add remove coupon ajax handling in cart.
Add code to handle ajax call for removing a coupon from the cart.
2016-02-12 15:43:05 -06:00
Kevin Killingsworth ce90c440cb Cart ajax: apply coupon
Adds an ajax call for applying coupons while on the cart
screen (not checkout, as it already has this.)

This is the first commit to add ajax calls to the cart update
functions. See issue #6734
2016-02-12 15:43:05 -06:00
Shiva Poudel db50998f80 Period in comments 2016-02-12 23:58:23 +05:45
Shiva Poudel 70c755c09e Can remove parent assignment as its not used 2016-02-12 23:50:06 +05:45