Mike Jolley
cf8fba5900
Put back review functions (still todo)
2016-11-09 15:40:51 +00:00
Mike Jolley
a85ad09e7e
Rename method
2016-11-09 15:40:51 +00:00
Mike Jolley
e5cbb91472
Tidy/add todos
2016-11-09 15:40:51 +00:00
Mike Jolley
731df74bad
Availability html
2016-11-09 15:40:38 +00:00
Mike Jolley
bc220c3b73
Moving and refactoring methods
2016-11-09 15:39:39 +00:00
Mike Jolley
06fb79ec03
Spacing in query
2016-11-09 15:39:18 +00:00
Mike Jolley
f58829a316
Grouped product class
2016-11-09 15:38:44 +00:00
Justin Shreve
19949d369d
External Product CRUD
2016-11-09 15:38:44 +00:00
Mike Jolley
745c31176d
Made abstract function useful
2016-11-09 15:38:44 +00:00
Justin Shreve
79f2d0eb8c
Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
2016-11-09 15:38:44 +00:00
Justin Shreve
432d736520
Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
2016-11-09 15:38:44 +00:00
Mike Jolley
ac9574e25e
wc_get_product_term_ids instead of related wording and use in other places.
...
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
2016-11-09 15:38:44 +00:00
Mike Jolley
68282e9661
Remove unneeded comments
2016-11-09 15:38:44 +00:00
Mike Jolley
34f579cfc4
Sanitize ids later
2016-11-09 15:38:27 +00:00
Claudio Sanches
a5cf2922ee
Use count() instead of sizeof()
2016-11-09 15:38:27 +00:00
Claudio Sanches
1c73ffb3f6
Fixed wrong variable in wc_get_related_terms
2016-11-09 15:38:27 +00:00
Claudio Sanches
ee82a198da
Get cached terms from wc_get_related_terms()
2016-11-09 15:38:27 +00:00
Claudio Sanches
f5c42c60c8
Fixed coding standards and improved the docblocks
2016-11-09 15:38:27 +00:00
Mike Jolley
3b3a83df8e
Add related product functions and deprecate those in class.
2016-11-09 15:38:27 +00:00
Mike Jolley
b254ecf16d
Missing var
2016-11-09 15:37:51 +00:00
Mike Jolley
eb61503210
Initial look through getters and setters and abstract data
2016-11-09 15:37:51 +00:00
Mike Jolley
4c0cc54f79
Hardcode the get_type per product class
2016-11-09 15:37:51 +00:00
Claudio Sanches
70e13702ae
Fixed several erros while setting data
2016-11-09 15:37:20 +00:00
Claudio Sanches
7491085bcf
Product set methods
2016-11-09 15:37:20 +00:00
Claudio Sanches
474b343746
First methods for WP_Product crud
2016-11-09 15:37:20 +00:00
Claudio Sanches
1360f6fc3e
Docblock for #12287
2016-11-09 10:54:08 -02:00
Claudio Sanches
3b147be755
Merge pull request #12287 from woocommerce/add-get-formatted-order-total-filter-paramas-and-docblock
...
Add more arguments to filter woocommerce_get_formatted_order_total
2016-11-09 10:50:43 -02:00
Justin Shreve
b41626c555
Implement Coupon Data Store ( #12280 )
...
* Implement a Coupon Data Store using CPTs..
* Handle PR feedback.
2016-11-09 12:21:18 +00:00
Justin Stern
a3e371e0d7
Make WooCommerce core play nice with Codeception ( #11845 )
...
If is_blog_installed() is false then skip some installation steps that
are performed on the 'init' action and which require the database to be
available
2016-11-09 11:53:39 +00:00
Claudio Sanches
49a574e704
Move all JavaScript from system status page to a new file ( #12283 )
2016-11-09 11:36:14 +00:00
Dwain Maralack
5f87161c06
add function arguments to the filter to give more context when filter is applied
2016-11-09 12:49:38 +02:00
Claudio Sanches
3a2ebb854d
WC_Object_Data_Store::delete always not force delete
2016-11-09 02:37:50 -02:00
Claudio Sanches
208fa011b9
Fixed deprecated warnings
2016-11-08 19:00:57 -02:00
Claudio Sanches
d0fae22528
Fixed undefined property on admin addons
2016-11-08 18:31:39 -02:00
Claudio Sanches
8858e74c56
Fixed coding standards and tests
2016-11-08 18:27:21 -02:00
Claudio Sanches
1481f1f7b4
Include trailing slash in REQUEST_URI before compare for prevent caching
2016-11-08 17:14:31 -02:00
Claudio Sanches
f23a529329
[REST API] Throw messages when trying to manipulate variations in products endpoint
2016-11-08 13:55:33 -02:00
Claudio Sanches
e1b914d227
Reverted changes that allowed manipulate variations on products endpoint ( #12255 )
2016-11-08 11:14:01 +00:00
Justin Shreve
52aedb5fc4
Remove context param on set_props
2016-11-08 02:28:00 -08:00
Justin Shreve
c7fdb061c3
Implement get/set proxy code.
2016-11-08 02:16:16 -08:00
Justin Shreve
1797c76a14
Implement WC_Data_Store and related code & tests.
2016-11-08 01:39:47 -08:00
Justin Shreve
cd2a4e89b2
Merge pull request #12256 from woocommerce/rest-api-remove-refund-if-failed
...
[REST API] Delete refund if payment gateway API fails
2016-11-08 00:49:04 -08:00
Daniel
78b25b205a
Added 3 new price formatting filters
...
Added filters to wc_get_price_thousand_separator(),
wc_get_price_decimal_separator() and wc_get_price_decimals(). Described
in Issue #12265
2016-11-06 21:55:36 +01:00
Rami Yushuvaev
402216a553
a11y: add `role="button"` to delete note links
2016-11-05 19:12:04 +02:00
Rami Yushuvaev
e71cae8d8f
a11y: make order notes metabox accessible
2016-11-05 18:56:03 +02:00
Claudio Sanches
0c3b0f57e9
[REST API] Delete refund if payment gateway API fails, closes #12248
2016-11-04 18:06:15 -02:00
Claudio Sanches
8adfe15d8f
Removed extra quote from variations attribute dropdown, closes #12251
2016-11-04 17:37:54 -02:00
Rami Yushuvaev
d85075dcb0
a11y: replace `title` attributes with `aria-label`, for better accessibility
2016-11-04 17:41:51 +02:00
Rami Yushuvaev
9469673c05
a11y: remove unneeded `title` attributes
2016-11-04 17:40:15 +02:00
Claudio Sanches
fa7775254b
REST API - Allow remove product category image ( #12247 )
...
* Allow remove product category images
* Allow remove sending an empty array too
2016-11-04 10:19:34 +00:00