Commit Graph

19480 Commits

Author SHA1 Message Date
Claudio Sanches 3939444454 Merge pull request #13242 from woocommerce/plain-text-data
Plain text emails and structured data
2017-02-20 12:22:42 -03:00
Mike Jolley 7aeb151bb6 Fix download count 2017-02-20 13:36:15 +00:00
Mike Jolley 35c3b829e4 Reset columns when invalid 2017-02-20 13:21:51 +00:00
Mike Jolley ca55291263 Skip plain text 2017-02-20 12:04:53 +00:00
Mike Jolley c2c7563dff Merge pull request #13235 from Chouby/product_duplicate
Separate logic from action for product duplicate
2017-02-20 11:12:23 +00:00
Mike Jolley 4c75f2b7a2 Fix max value logic and -1 handling
Fixes #13237
2017-02-20 11:10:19 +00:00
Frédéric Demarle 048882f66d Separate logic from action for product duplicate 2017-02-18 17:50:45 +01:00
Brent Shepherd e427f90a24 Access data store consistently
WC_Data object's data store is accessed everywhere else directly
via $this->data_store. This patch uses that same approach here.
2017-02-17 10:25:27 -08:00
Claudio Sanches 84d4d449d0 2.7 beta 3 2017-02-17 16:10:39 -02:00
Claudio Sanches 486a81bf12 Fixed coding standards 2017-02-17 16:10:15 -02:00
Mike Jolley 48c93d5293 Fix variation max qty. 2017-02-17 16:37:40 +00:00
Mike Jolley a5ddccf814 Merge pull request #13229 from woocommerce/remove-filter-for-v2
Allow filter query parameter only in REST API v1
2017-02-17 16:29:57 +00:00
Mike Jolley 6bb088f4cf Readme: Fix to disallow negative fees. 2017-02-17 16:29:07 +00:00
Mike Jolley 88280d7756 Fix: Wrong product object 2017-02-17 16:28:11 +00:00
Mike Jolley a0483a30dc Clear children on stock update
Closes #13218
2017-02-17 16:25:45 +00:00
Claudio Sanches 542fea3d85 Merge pull request #13230 from woocommerce/quantity-actions-and-grouped-products
Quantity actions and grouped handling
2017-02-17 14:14:36 -02:00
Mike Jolley 89be42e5a3 woocommerce_before_add_to_cart_quantity and after actions 2017-02-17 15:53:28 +00:00
Mike Jolley 81bad72c78 When showing sold individually item in grouped template, use checkbox 2017-02-17 15:53:15 +00:00
Mike Jolley 1b268d2f63 use helpers 2017-02-17 15:52:47 +00:00
Mike Jolley 6201c7e22b Add get_min_purchase_quantity and max helper 2017-02-17 15:52:39 +00:00
Mike Jolley 846e1ca25c If max and min value are identical, don't show qty input 2017-02-17 15:51:59 +00:00
Claudio Sanches 8f38924fe0 Removed filter unit tests 2017-02-17 13:43:53 -02:00
Claudio Sanches 0410518f31 Removed filter query param from products queries in REST API 2017-02-17 13:15:54 -02:00
Claudio Sanches 8db3f3eaf0 Allow filter query parameter only in v1 2017-02-17 13:13:17 -02:00
pierrebuet 15275130e2 Fix access expires not set (#13227)
* fix user id for download file

* fix access expires for download when not set

‚NULL‘ trigger a 0000-00-00 00:00:00
 as date in the database column. In order to write a real Null to the
database, the quotations must be deleted
2017-02-17 15:04:21 +00:00
James Koster 8b31da7db5 Photoswipe button hover styles in twenty seventeen 2017-02-17 14:48:54 +00:00
Mike Jolley 3a6b4ffb38 Doing it wrong notice when setting a negative fee in cart.
#13224
2017-02-17 12:28:18 +00:00
Kathy c30b1c1bb3 Coupon tweaks (#13222)
* pass coupon to applied/removed JS trigger

* add coupon id and coupon object to action hooks in admin metabox
2017-02-17 11:58:15 +00:00
pierrebuet f6c9dce9b4 fix user id for download file (#13220) 2017-02-17 11:55:11 +00:00
Mike Jolley 232162bbf0 Download BW compat
#13220
2017-02-17 11:54:50 +00:00
Mike Jolley f8926a5307 Exclude legacy from quality check 2017-02-17 11:48:31 +00:00
Mike Jolley e8d5da5c05 Merge pull request #13225 from woocommerce/crud-rest-api
Replaced `WP_Post` by `WC_Data` objects in REST API v2
2017-02-17 11:46:20 +00:00
Claudio Sanches b0e6a5ab5d Get object again after saved 2017-02-17 01:46:42 -02:00
Claudio Sanches a46aea1b77 Fixedd status 2017-02-17 01:17:52 -02:00
Claudio Sanches 58d90a2ee8 Added legacy classes 2017-02-17 00:27:40 -02:00
Claudio Sanches 6af3b2255e Fixed default used_by 2017-02-17 00:10:46 -02:00
Claudio Sanches ba7607fe00 Improved delete_item() for products and variations 2017-02-17 00:10:25 -02:00
Claudio Sanches 18dc63757b BCheck if object exists 2017-02-17 00:09:46 -02:00
Claudio Sanches 94b0800735 Use CRUD Controller for product variations 2017-02-16 22:51:36 -02:00
Claudio Sanches 55977d03f3 Do not allow manipulate variations on products endpoint 2017-02-16 22:51:24 -02:00
Claudio Sanches 63cb7e7c27 Use CRUD Controller for products 2017-02-16 22:26:21 -02:00
Claudio Sanches 31f68377f9 Fixed docblock 2017-02-16 22:25:20 -02:00
Claudio Sanches 01a5296e7e Fixed how CRUD delete items by REST API 2017-02-16 22:25:07 -02:00
Claudio Sanches 197d2eb98e Use CRUD Controller for order refunds 2017-02-16 21:45:12 -02:00
Claudio Sanches 687433d5cc Use CRUD Controller for orders 2017-02-16 21:15:34 -02:00
Claudio Sanches 34cf70407e Use CRUD Controller for coupons 2017-02-16 20:31:36 -02:00
Claudio Sanches d4ce22cb76 Created WC_REST_CRUD_Controller 2017-02-16 20:27:07 -02:00
Claudio Sanches 7a52ec465b Fixed docblocks and removed dead variables 2017-02-16 18:05:06 -02:00
Mike Jolley 70d46fe008 Fix index checks 2017-02-16 16:45:50 +00:00
Mike Jolley b37e4da43c Move legacy classes to correct dir 2017-02-16 16:39:56 +00:00