Mike Jolley
df057abe88
Missing DISTINCT keyword
2016-12-10 12:51:15 +00:00
Mike Jolley
0ce99fbdbb
Merge pull request #12558 from woocommerce/crud-reduce-queries
...
CRUD reduce queries
2016-12-10 12:35:45 +00:00
Mike Jolley
40ab84b372
Merge pull request #12552 from woocommerce/cli
...
WooCommerce CLI
2016-12-09 17:12:51 +00:00
Mike Jolley
8bd08e4c21
typos
2016-12-09 17:04:44 +00:00
Mike Jolley
36f7c3c810
woocommerce_paypal_line_item filter
...
Closes #12554
2016-12-09 16:59:29 +00:00
Mike Jolley
87579c013d
Fix attribute output
...
Closes #12556
2016-12-09 16:43:22 +00:00
Mike Jolley
240c599b9c
Base transient name on query args
...
Fixes #12557
2016-12-09 16:27:54 +00:00
Mike Jolley
0ac6c3b03f
Use IDs to reduce queries
2016-12-09 15:54:58 +00:00
Mike Jolley
e0e0c9e832
Replace rating filters with taxonomy
2016-12-09 15:43:25 +00:00
Mike Jolley
861f9e7a20
update_object_term_cache for cart items
2016-12-09 13:16:15 +00:00
Mike Jolley
5df70d8458
Merge pull request #12546 from woocommerce/paypal-image-url
...
Add image_url setting to PayPal Standard.
2016-12-09 12:59:59 +00:00
Mike Jolley
5562cfc1f6
Lazy load product meta data
2016-12-09 12:18:21 +00:00
Justin Shreve
ec30c308c3
Add CLI tests
2016-12-08 14:13:10 -08:00
Justin Shreve
da1e14c087
Add WC CLI commands powered by the REST API.
2016-12-08 10:59:07 -08:00
Mike Jolley
563dda505a
Use real cache keys
2016-12-08 17:57:07 +00:00
Mike Jolley
709d314ca7
Add caching to product factory
2016-12-08 17:17:23 +00:00
Mike Jolley
767a1e500e
Helper to get term ids
2016-12-08 17:01:39 +00:00
Mike Jolley
90ff6705be
Only validate attachment IDs when set after read
2016-12-08 16:08:10 +00:00
Mike Jolley
12608af03a
Sorting handling
2016-12-08 14:28:51 +00:00
Mike Jolley
56e9244b8b
Update vis during create
2016-12-08 12:38:30 +00:00
Mike Jolley
edfc54dff5
Add image_url setting to PayPal Standard.
2016-12-08 12:28:05 +00:00
Mike Jolley
43d018bb97
Attributes are non-hierarchical by default (parent is not supported)
...
Closes #12530
2016-12-08 11:23:24 +00:00
Mike Jolley
4bacbaf90c
Fix completed and paid date meta keys.
2016-12-08 11:19:32 +00:00
Mike Jolley
47fbae4d26
Product Visibility Taxonomies ( #12527 )
...
* Convert visibility and featured to taxonomy
* Comment
* Add missing tax_queries
* Only check SKU after read.
* Added visibility term for outofstock products to speed those queries up al
* wc_bool_to_string
2016-12-08 10:56:45 +00:00
Mike Jolley
af3f735664
Merge pull request #12543 from woocommerce/tax-zip
...
Fix tax name typo and wrap with _escape.
2016-12-07 21:03:40 +00:00
Justin Shreve
f9891b1744
Pass product slug to wp_set_object_terms directly
2016-12-07 12:55:34 -08:00
Justin Shreve
63a29dd4db
Add 'locale' to list of customer meta keys, and update expected type for 'object' for gateways, products, and shipping zones to fix some API issues.
2016-12-07 12:23:23 -08:00
Justin Shreve
a315e174b7
Fix tax name typo and wrap with _escape.
2016-12-07 11:03:28 -08:00
Mike Jolley
5139c811d6
Merge pull request #12533 from woocommerce/rest-api-4.7
...
[2.6] API Fixes for 4.7
2016-12-07 18:51:47 +00:00
Mike Jolley
07932b4432
Merge pull request #12535 from woocommerce/fallbacks-for-endpoints
...
Fix lost password and account links
2016-12-07 18:18:40 +00:00
Mike Jolley
e8d119c42c
Feedback
2016-12-07 18:13:17 +00:00
Mike Jolley
a2263d2760
Type should be checked by name not slug
2016-12-07 18:08:59 +00:00
Mike Jolley
1ad852443b
Invalid type
2016-12-07 15:54:35 +00:00
Mike Jolley
7f234a0b63
Update array schema
2016-12-07 14:24:44 +00:00
Mike Jolley
cce08e6225
Indenting
2016-12-07 14:06:04 +00:00
Mike Jolley
9f85aa3869
Merge pull request #12489 from woocommerce/add/twenty-seventeen-support-new-method
...
Add/twenty seventeen support new method
2016-12-07 12:46:36 +00:00
Mike Jolley
6d908cfba2
Code cleanup and move class into subdirectory
2016-12-07 12:45:54 +00:00
Mike Jolley
d4fbda1d68
Put back array for arrays of objects
2016-12-07 12:20:56 +00:00
Mike Jolley
9a9d133fc3
Use correct endpoint for lost password link
2016-12-07 12:07:10 +00:00
Mike Jolley
fe9e89f3b7
wc_logout_url function
2016-12-07 12:04:44 +00:00
Mike Jolley
d9420e01d2
Fix themes_api fatal error
2016-12-07 11:37:00 +00:00
Mike Jolley
ba62599da0
Use objects, rather than arrays in schema when properties are defined
2016-12-07 11:36:46 +00:00
Mike Jolley
7583965af2
Use wp_list_sort vs _usort_terms_by_ID
...
Fixes #12525
2016-12-07 10:21:03 +00:00
Mike Jolley
3f1368153a
Merge pull request #12521 from woocommerce/plugins-url-assets-12477
...
Register scripts using plugins_url
2016-12-06 16:04:30 +00:00
James Koster
4daa5d133b
Add a utility function to check the active theme.
...
And check active theme before loading integration class
2016-12-06 12:14:00 +00:00
Mike Jolley
cb3b9fb02a
Merge branch 'pr/12510'
2016-12-06 11:52:23 +00:00
Mike Jolley
201f89b19a
Clean up template loader logic
2016-12-06 11:52:15 +00:00
Mike Jolley
ff05080208
Merge pull request #12462 from danielhuesken/fix_rest_setting_user_role
...
Set customer role for user if it not a customer on the current blog
2016-12-06 11:16:27 +00:00
Mike Jolley
070926f7e6
woocommerce_downloadable_file_hash filter
...
Closes #12444
2016-12-06 11:09:03 +00:00
Mike Jolley
7b739b9367
Register scripts using plugins_url
2016-12-05 18:34:30 +00:00
Mike Jolley
4bd05c7396
Combine 2 address loops
2016-12-05 16:08:51 +00:00
Mike Jolley
162aa986b6
Fix tests
2016-12-05 14:21:09 +00:00
Mike Jolley
4130ae0e1f
Merge pull request #12520 from woocommerce/feedback-12495
...
2.7 CRUD Feedback
2016-12-05 13:47:58 +00:00
Mike Jolley
ad7d8c14dc
Do not suffix when ranges are used.
2016-12-05 13:44:21 +00:00
Mike Jolley
1f04cf9dc0
Comment on has_all_attributes_set
2016-12-05 13:15:25 +00:00
Mike Jolley
2780688a70
wc_get_price_html_from_text
2016-12-05 13:13:30 +00:00
Mike Jolley
3975054acd
Reindex after clear.
2016-12-05 13:06:14 +00:00
Kalen Johnson
2d7e6e7206
Filter the template loader files
...
Over at Roots we've been working on implementing Laravel's Blade templating engine with the next release of the Sage theme. The filters for the template hierarchy coming in WP 4.7 are going to be very valuable. Looking to accomplish the same thing with 3rd party plugins as well.
A theme using a templating engine would still be able to filter the default templates such as `archive-product.php`, however keeping the functionality that including a `woocommerce.php` file would be nice to be able to use as well.
This PR I believe adds the ability to add a file similar to `woocommerce.php` while not allowing anyone to filter any of the extra functionality away from Woocommerce.
2016-12-03 10:16:18 -08:00
Mike Jolley
ba56274662
Move get_price_suffix back to main class
2016-12-02 17:02:06 +00:00
Mike Jolley
d67f17a789
Put get_availability functions back in main product classes.
2016-12-02 16:46:35 +00:00
Mike Jolley
6a50228cda
Merge pull request #12472 from woocommerce/refactor-checkout-class
...
Checkout Refactoring
2016-12-02 16:16:18 +00:00
Mike Jolley
3bf3422b5c
Feedback
2016-12-02 16:13:36 +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
James Koster
fee04b821c
add sidebar #12038
2016-11-28 12:11:19 +00: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
56396d305e
Fix last name
2016-11-25 21:46:52 +00:00
Mike Jolley
348efad1ed
Fix customer notes
2016-11-25 21:46:45 +00:00
Mike Jolley
43d362d107
Tidy, refactor, and split up methods in checkout class
2016-11-25 21:46:34 +00:00
Mike Jolley
30539b6f5a
Update display name when saving customer
2016-11-25 20:16:19 +00:00
James Koster
70cee3d1ad
some basic shop page styling. #12038
2016-11-25 16:10:58 +00:00
James Koster
18349ddea1
Adds twenty seventeen stylesheet. #12038
2016-11-25 15:25:37 +00:00
James Koster
20507f0944
Adds a new class for 2017 integration, removes core wrappers, adds .scss file. #12038
2016-11-25 15:17:13 +00: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
James Koster
7f15372919
declare support and add wrappers. #12038
2016-11-25 11:57:42 +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