Commit Graph

9131 Commits

Author SHA1 Message Date
Mike Jolley d67f17a789 Put get_availability functions back in main product classes. 2016-12-02 16:46:35 +00:00
Justin Shreve 877c4c52ce Merge pull request #12499 from woocommerce/fix/catalog-visibility
Set featured status and catalog visibility when saving products.
2016-12-01 17:26:16 -08:00
Mike Jolley a8f6fd88f4 Merge pull request #12488 from woocommerce/save-coupon-wp-error
When saving coupons, return wp_error if necessary
2016-12-01 16:21:23 +00:00
Justin Shreve b5e9fc08fe Set featured status and catalog visibility when saving products. 2016-11-30 10:20:18 -08:00
agrillo 328401271f Fixed: if woocommerce_resend_order_emails_available hook return an empty array the optgroup label "Resend order emails" It is also printed 2016-11-30 11:32:38 +01:00
Justin Shreve a94acad387 Fix title, enabled, and description updates for payment gateways. Add missing readonly on method title and description.
Bump WC version.
2016-11-29 11:57:56 -08:00
Justin Shreve 5d8ce22afe When saving coupons, return wp_errors if an item cannot be created or updated. 2016-11-29 03:06:10 -08:00
Justin Shreve ede9d181b6 Merge pull request #12480 from franticpsyx/variable-data-store-read_price_data-methods-missing-method-context
[2.7] Wrong use of 'view' context in WC_Product_Variable_Data_Store_CPT:: read_price_data
2016-11-28 10:50:22 -08:00
Manos Psychogyiopoulos 08b81f73c6 add $product argument to `woocommerce_[variation_]set_stock_status` action 2016-11-28 19:03:33 +02:00
Manos Psychogyiopoulos 72c0877d82 switch variation price getters in WC_Product_Variable_Data_Store_CPT::read_price_data to 'edit' context 2016-11-28 13:54:35 +02:00
Manos Psychogyiopoulos b10810824f add 'id' to WC_Abstract_Legacy_Product __isset 2016-11-27 16:30:13 +02:00
Mike Jolley 169c70f447 Fix get_stock_amount 2016-11-25 14:48:20 +00:00
Mike Jolley 086d8bce1d Fix is_callable 2016-11-25 14:48:20 +00:00
Mike Jolley fb2804a5ab Code comments 2016-11-25 14:48:20 +00:00
Claudio Sanches 2e76eff151 Merge pull request #12466 from woocommerce/fix/webhook-resource-delete
[2.6] Fixed when should deliver wp_trash_post
2016-11-25 12:03:11 -02:00
Matty ff1442e9aa Allow cross sells to be sold as variations 2016-11-25 13:17:09 +00:00
Mike Jolley e3f19f85c6 Add readonly role field to API
Closes #12468 @claudiosanches
2016-11-25 13:04:21 +00:00
Mike Jolley 3610866bf9 Link variations to parent product page 2016-11-25 12:48:54 +00:00
Mike Jolley 52be22511c Inline docs for #12409 2016-11-25 12:24:26 +00:00
Mike Jolley afe59f697d Merge pull request #12441 from opportus/layered-nav-menu-dropdown-empty-count-fix
Layered Nav menu dropdown empty count fix
2016-11-25 11:47:44 +00:00
Mike Jolley b620a8c8fb Move paypal CMD to end of post vars. 2016-11-25 11:41:49 +00:00
Mike Jolley eab41b37f7 Move location of billing email field to work with password managers.
Fixes #11016
2016-11-25 11:32:42 +00:00
Mike Jolley f67ffe4d89 Merge pull request #12465 from woocommerce/crud-ajax-class
AJAX Class and other fixes
2016-11-25 10:44:20 +00:00
Mike Jolley 1a632cda1f Missing space and incorrect comment 2016-11-25 10:43:56 +00:00
Mike Jolley 8d30e1d044 Correct title filter 2016-11-25 10:41:42 +00:00
Claudio Sanches 461e2486d2 [2.6] Fixed when should deliver wp_trash_post 2016-11-24 16:07:32 -02:00
Mike Jolley 9a1dd8d04b Menu order 2016-11-24 17:50:24 +00:00
Claudio Sanches 1ed2f9d136 Fixed undefined index while saving coupons on admin screen 2016-11-24 15:43:01 -02:00
Mike Jolley 1749551021 Customer crud 2016-11-24 15:31:05 +00:00
Mike Jolley 12a216595a CRUD ajax updates 2016-11-24 14:20:58 +00:00
Mike Jolley 9087a45f29 Remove attribute_ prefix rather than add so that get_attributes has better return values, and don't show duplicate data in cart. 2016-11-24 14:20:48 +00:00
Mike Jolley 6b8fc659bf Put get_title back in main class 2016-11-24 14:19:52 +00:00
Mike Jolley ac62cffe16 Refactor ajax search for CRUD 2016-11-24 11:50:58 +00:00
Mike Jolley b1e538c096 Make factory check type 2016-11-24 11:50:46 +00:00
Mike Jolley b9bb8eabba Fix order item meta 2016-11-24 11:50:34 +00:00
Mike Jolley a0f08bb627 Merge pull request #12460 from davidlawson/master
Fixing incorrect prices around tax
2016-11-24 10:24:53 +00:00
Mike Jolley badd63bdd9 Merge pull request #12448 from woocommerce/webhook-api-versions
Allow send webhook payload using legacy API v3 or WP REST API integration
2016-11-24 10:22:01 +00:00
Mike Jolley f689635e4a Merge pull request #12449 from woocommerce/update/wc-ajax-crud
CRUD: Add CRUD operations for ajax functions.
2016-11-24 10:21:22 +00:00
David Lawson 1d955938f2 Fixing incorrect prices around tax
Missing `!` when moving code from `abstract-wc-product.php`. See https://github.com/woocommerce/woocommerce/blob/release/2.6/includes/abstracts/abstract-wc-product.php#L869-L919
2016-11-24 21:19:21 +11:00
Kevin Killingsworth 0b9c2e2f15 CRUD: Add CRUD operations for ajax functions.
This commit changes post and post_meta calls to CRUD objects
throughout the wc-ajax server-side code.

It does not update the most complex functions that have inline SQL.
2016-11-23 15:35:48 -06:00
Mike Jolley 13289b7104 Fix order item meta
@justinshreve Noticed this wasn’t saving or loading correctly. Is this
the only missing piece?
2016-11-23 18:44:24 +00:00
Mike Jolley 350ccd008c Correct autocomplete field
#11016
2016-11-23 18:43:38 +00:00
Mike Jolley b2b42600cd Merge pull request #12454 from woocommerce/deprecation-wrappers-12328
Deprecation wrappers
2016-11-23 17:42:45 +00:00
Mike Jolley 6dc6e43d08 Add replacement to log entry 2016-11-23 17:41:58 +00:00
Claudio Sanches bf598d538f Merge pull request #12453 from woocommerce/reports-12425
Reports 12425
2016-11-23 15:04:44 -02:00
Mike Jolley 4ca49ba999 Fix tests 2016-11-23 16:27:18 +00:00
Mike Jolley d7dfdd3d10 Wrap all deprecation calls. 2016-11-23 16:15:00 +00:00
Mike Jolley 87de7aab6f Remove unused variation CRUD methods. 2016-11-23 15:59:39 +00:00
Mike Jolley c8d1acb33e Prevent tags breaking page layout 2016-11-23 15:49:35 +00:00
Mike Jolley b1007c9d62 Fix order item meta saving 2016-11-23 15:37:34 +00:00