Mike Jolley
|
a15c1611e0
|
Stopword support
|
2018-02-22 18:22:55 +00:00 |
Mike Jolley
|
49a74b95db
|
Made get_on_sale_products respect the setting to hide outofstock products
Closes #18981
|
2018-02-15 16:35:29 +00:00 |
Mike Jolley
|
b379e213c8
|
Allow search_products to find parent ids
|
2018-02-08 16:36:24 +00:00 |
Mike Jolley
|
7dd9c7fb0e
|
Added ability to search for all post statuses
|
2018-02-08 12:53:39 +00:00 |
Rodrigo Primo
|
aad2c83994
|
Remove unused variables
This commit removes two unused variables from WC_Product_Data_Store_CPT class.
|
2018-01-03 16:00:28 -02:00 |
Rodrigo Primo
|
22f1e549ef
|
Manually fixes remaining coding standard violations
|
2018-01-03 15:57:33 -02:00 |
Rodrigo Primo
|
a2b8e38a61
|
Fix coding standards violations automatically using phpcbf
|
2018-01-03 15:27:48 -02:00 |
Fulvio Notarstefano
|
e718d7bd40
|
[#18223] Rename var to a more apt name
|
2017-12-19 17:19:10 +08:00 |
Fulvio Notarstefano
|
ee123fb739
|
[#18223] Add argument to woocommerce_product_related_posts_query filter
|
2017-12-19 10:18:33 +08:00 |
Mike Jolley
|
c5a80d080b
|
Rename so delete is hidden
|
2017-11-23 14:41:17 +00:00 |
Mike Jolley
|
8dea28e6c2
|
Save default cat when saving products
|
2017-11-23 14:26:43 +00:00 |
Mike Jolley
|
a23541ad5d
|
Fix 4.9 conflict with variation names
`santiize-title` works differently with `/` chars in 4.9. This update
routine keeps variations functioning by doing a DB update on read.
Fixes #17775
|
2017-11-18 14:53:18 +00:00 |
Mike Jolley
|
08c4953b61
|
Clear counts cache when updating product attributes
Closes #17377
|
2017-10-26 20:16:52 +01:00 |
Mike Jolley
|
a467d35acd
|
Add cache invalidation for wc_get_product_terms
Closes #17369
|
2017-10-25 13:27:18 +01:00 |
Mike Jolley
|
9c327f09db
|
Sale logic only applies to simple products - fixes tests
|
2017-09-26 12:53:38 +01:00 |
Mike Jolley
|
4695d7a251
|
Handle sale dates on the fly in case of missed cron schedule.
Closes #16907
|
2017-09-25 14:19:20 +01:00 |
Mike Jolley
|
2da895c68d
|
Update price if product type changes
Fixes #16650
|
2017-08-30 16:23:57 +01:00 |
Mike Jolley
|
c29b9acb5b
|
Fix variable name
Closes #16636
|
2017-08-29 11:19:03 +01:00 |
Claudio Sanches
|
03a189726e
|
Introduces woocommerce_get_product_id_by_sku filter
Closes #16559
|
2017-08-22 15:04:21 -03:00 |
Mike Jolley
|
fb2d8cb394
|
Prevent regular price being lower than the sale price
Closes #16560
|
2017-08-22 11:43:48 +01:00 |
claudiulodro
|
91f1d41842
|
Clarify logic
|
2017-08-01 13:21:23 -07:00 |
claudiulodro
|
5e8f957f3a
|
Formatting
|
2017-08-01 12:52:12 -07:00 |
claudiulodro
|
b5e5f035fb
|
Clean up
|
2017-07-28 13:27:19 -07:00 |
claudiulodro
|
e335724c50
|
Finalize product query
|
2017-07-28 11:59:44 -07:00 |
claudiulodro
|
ec6d11bd67
|
Just needs visibility support and cleanup
|
2017-07-25 10:01:24 -07:00 |
claudiulodro
|
689c5e7006
|
Better code
|
2017-07-25 08:36:01 -07:00 |
claudiulodro
|
cdbead8961
|
Clean up and tests
|
2017-07-24 15:05:23 -07:00 |
claudiulodro
|
8c8684b8aa
|
Move meta query init above sku query
|
2017-07-14 10:10:37 -07:00 |
claudiulodro
|
b04534bb85
|
Hook everything up to wc_product_query
|
2017-07-14 10:01:25 -07:00 |
claudiulodro
|
f66198c37d
|
Initial working wc_get_products
|
2017-07-14 09:50:20 -07:00 |
claudiulodro
|
753979ec49
|
WC_Product_Query
|
2017-07-12 13:58:39 -07:00 |
Mike Jolley
|
67bc729ea5
|
update_post_caches for all posts at once
|
2017-06-22 13:39:17 +01:00 |
Mike Jolley
|
e06aa6f60a
|
Prime term cache before read
|
2017-06-21 17:09:39 +01:00 |
Mike Jolley
|
0ce2ff2249
|
Fix update of terms after new rating
|
2017-06-15 11:29:18 +01:00 |
Claudio Sanches
|
6be1569955
|
Start indexing variations with 1, closes #15081
|
2017-06-05 17:42:58 -03:00 |
Mike Jolley
|
532ddfa6b0
|
Merge conflicts
|
2017-05-31 12:23:52 +01:00 |
Mike Jolley
|
ed32f9c792
|
Only delete if the object has an ID
|
2017-05-30 14:44:28 +01:00 |
Mike Jolley
|
2e5053633b
|
CRUD should update post type on update so it matches expected value.
|
2017-05-25 12:09:59 +01:00 |
Mike Jolley
|
c16acc6b51
|
Merge remote-tracking branch 'origin/master'
# Conflicts:
# assets/css/wc-setup-rtl.css
# assets/css/wc-setup.css
|
2017-05-23 19:00:24 +01:00 |
Rasmus Bengtsson
|
185934fad9
|
Fix phpdoc to include params and correct types
|
2017-05-15 13:50:52 +02:00 |
Rasmus Bengtsson
|
4a3902cd48
|
PHPDoc: Add missing throws statement
|
2017-05-15 13:39:03 +02:00 |
Mike Jolley
|
e777b4d557
|
Merge branch 'feature/product-csv-import-export' into feature/csv-exporter
|
2017-05-12 21:03:20 +01:00 |
Mike Jolley
|
4cacceeede
|
Variation handling
|
2017-05-10 22:16:53 +01:00 |
Mike Jolley
|
cd9119443a
|
Correctly set rating during updates
Fixes #14994
|
2017-05-10 19:21:38 +01:00 |
Mike Jolley
|
19fb7ac079
|
Fix hardcoded table name
|
2017-05-09 19:17:24 +01:00 |
Mike Jolley
|
a741f2c7bf
|
Make other queries match the new query in 14936
|
2017-05-08 19:08:59 +01:00 |
Mike Jolley
|
b961d6fb74
|
Correctly exclude terms in wc_get_related_products
Fixes #14909
|
2017-05-08 14:15:16 +01:00 |
Claudio Sanches
|
63552c9757
|
Fixed conflict between global attributes and custom attributes.
Check if is a custom attribute before trying to get an ID from a global attribute.
|
2017-05-03 16:30:50 -03:00 |
Mike Jolley
|
8e624e6230
|
Filter invalid products before returning them for wc_get_products
Closes #14592
|
2017-04-25 14:03:30 +01:00 |
Claudio Sanches
|
0b60af0774
|
Merge pull request #14415 from woocommerce/fix/save-post-infinite-loops
Prevent infinite loops during save_post
|
2017-04-20 00:44:57 -03:00 |
Claudio Sanches
|
c90e71e890
|
Merge pull request #14509 from woocommerce/fix/14480
Only return product by SKU if published
|
2017-04-19 14:38:14 -03:00 |
Claudio Sanches
|
0d46a89f83
|
Check only if is not in trash
|
2017-04-19 14:27:19 -03:00 |
Mike Jolley
|
bdb01c4bea
|
is_existing_sku should check all post statuses except for trash
Fixes #14525
|
2017-04-19 11:32:49 +01:00 |
Claudio Sanches
|
f61646d1a2
|
Only return product by SKU if published
Fixes #14480
|
2017-04-18 21:32:52 -03:00 |
Mike Jolley
|
1f28b9d0b8
|
Other object types
|
2017-04-15 21:18:24 +01:00 |
Mike Jolley
|
27c9006f77
|
Product data store loop protection
|
2017-04-15 21:04:41 +01:00 |
Mike Jolley
|
21da0cf71f
|
Ensure name and file is set
|
2017-04-12 14:11:04 +01:00 |
Govind Kumar
|
2ea79cc5ed
|
Fixed issue #14124
|
2017-04-07 19:14:10 +05:30 |
Claudio Sanches
|
51c00cce09
|
Merge pull request #14099 from dixitadusara/issue-14089B
Modified suggestion of Invalid argument supplied for foreach ref #14089
|
2017-04-07 12:33:01 -03:00 |
Mike Jolley
|
4f412678bd
|
Ensure meta_value has valid keys in read_attributes
Fixes #14085
|
2017-04-07 10:59:59 +01:00 |
dixitadusara
|
e527b6608c
|
modified suggestion of Invalid argument supplied for foreach ref #14089
|
2017-04-07 15:27:52 +05:30 |
dixitadusara
|
3ba9063d3d
|
Invalid argument supplied for foreach - class-wc-product-data-store-cpt.php ref #14089
|
2017-04-07 13:24:34 +05:30 |
Justin Shreve
|
15bf1da7d5
|
Call save_meta_data before wp_update_post for data stores that use it, and refresh meta cache after.
|
2017-04-05 14:39:41 -07:00 |
Mike Jolley
|
8598f82c8a
|
If user can edit private products, search them
Fixes #13877
|
2017-04-03 12:04:59 +01:00 |
Mike Jolley
|
31cd2dcb90
|
Merge pull request #13853 from woocommerce/crud-security-hardening
CRUD security/hardening
|
2017-04-03 11:09:38 +01:00 |
Mike Jolley
|
8a201b64c5
|
Only set dates if set/not null
Fixes #13848
|
2017-03-31 12:38:18 +01:00 |
Mike Jolley
|
14802a0307
|
Remove double unserialization
|
2017-03-31 12:10:20 +01:00 |
Mike Jolley
|
399c141377
|
Fix slug updating in CRUD
Fixes #13824
|
2017-03-29 13:41:23 +01:00 |
Akeda Bagus
|
0b416439c8
|
Fixed all typos of all files in includes/ directory.
Scanning and fixing were done automatically by codespell,
https://github.com/lucasdemarchi/codespell.
|
2017-03-29 00:58:51 +07:00 |
Mike Jolley
|
0ad1f6a63f
|
Merge pull request #13709 from woocommerce/fix-13708
Timezone/DST fixes
|
2017-03-24 10:25:08 +00:00 |
Mike Jolley
|
7e462b9cca
|
Data store date handling
|
2017-03-23 00:10:29 +00:00 |
Mike Jolley
|
3b35d95c6a
|
Use gmdate and GMT in data stores so times are not changed
|
2017-03-22 12:01:38 +00:00 |
Mike Jolley
|
c4c8edee5f
|
Remove order and product factory cache
|
2017-03-21 23:37:38 +00:00 |
Mike Jolley
|
9bcfcb82c5
|
Merge branch 'master' into remove-product-internal-meta-keys
# Conflicts:
# includes/data-stores/class-wc-product-data-store-cpt.php
|
2017-03-20 16:13:45 +00:00 |
Claudio Sanches
|
2d400bffd2
|
Remove post related internal post keys froom products
|
2017-03-17 17:37:38 -03:00 |
Claudio Sanches
|
1a87792109
|
Remove some product internal meta keys
|
2017-03-17 17:30:38 -03:00 |
Claudio Sanches
|
59c2849736
|
Changed version 2.7 to 3.0
|
2017-03-15 13:36:53 -03:00 |
Mike Jolley
|
9bee678819
|
API updates
|
2017-03-13 21:36:31 +00:00 |
Mike Jolley
|
1bac579df7
|
Date getters and setters
|
2017-03-13 19:52:44 +00:00 |
Mike Jolley
|
296daf19c2
|
Avoid wc_clean
Fixes #13464
|
2017-03-06 14:53:32 +00:00 |
Mike Jolley
|
8440083fef
|
Merge pull request #13443 from woocommerce/cache-groups
Standardize cache group names
|
2017-03-03 10:44:34 +00:00 |
Mike Jolley
|
1a8737fdeb
|
Standardize cache group names
|
2017-03-02 17:15:39 +00:00 |
Mike Jolley
|
fd07d06825
|
Update date created/modified if changed.
Fixes #13419
|
2017-03-02 16:46:59 +00:00 |
Mike Jolley
|
b69988fe39
|
Correct changes in variation data update and fix context
|
2017-02-16 16:07:11 +00:00 |
Mike Jolley
|
2f685691a4
|
Standardise update meta calls, and support forcing
Force allows create to make sure data is set regardless of whether it
was changed. This fixes product duplication.
Fixes #13199
|
2017-02-15 14:40:57 +00:00 |
Manos Psychogyiopoulos
|
821b360ac1
|
remove stray error_log
|
2017-02-14 18:26:40 +02:00 |
Manos Psychogyiopoulos
|
1895f65d2d
|
allow update_post_meta and handle_updated_props to be overriden
|
2017-02-14 18:14:37 +02:00 |
Mike Jolley
|
00cda91c73
|
Merge pull request #13164 from woocommerce/lazy-update-products-13157
Lazy update products
|
2017-02-13 17:24:51 +00:00 |
Mike Jolley
|
a20c0da580
|
syntax error
|
2017-02-11 15:50:21 +00:00 |
Mike Jolley
|
ca1d49b2b6
|
Conditional visibility and downloads
|
2017-02-11 15:35:20 +00:00 |
Mike Jolley
|
91ac4a2e56
|
Remove update_term_counts
This does not look to be necessary because we use wp_set_post_terms
which handles this for us. Seems to be inherited from legacy.
|
2017-02-11 15:27:52 +00:00 |
Mike Jolley
|
8494bf7bee
|
Conditonal post data saving
|
2017-02-11 15:26:13 +00:00 |
Mike Jolley
|
31d428131e
|
Imrpove checkout performance when updating product sales
|
2017-02-10 23:41:53 +00:00 |
Justin Shreve
|
8a6bae374f
|
Switch from get_the_title to the post objects post_title.
|
2017-02-09 08:43:48 -08:00 |
Justin Shreve
|
ae5293aeb9
|
Move the get type logic out of the product factories and into the data stores.
|
2017-02-08 11:18:39 -08:00 |
Claudiu Lodromanean
|
dce81b4d4e
|
Use store's decimal settings when figuring out what's a sale product
|
2017-02-08 09:04:13 -08:00 |
Claudiu Lodromanean
|
06c17d6be4
|
Add whitespace between parens
|
2017-02-07 13:57:01 -08:00 |
Claudiu Lodromanean
|
8ce5356943
|
13106 Dont round values in get_on_sale_products
|
2017-02-07 13:46:00 -08:00 |
Mike Jolley
|
5746c87580
|
Merge pull request #12968 from woocommerce/updated-props-action
Fire actions for updated props
|
2017-01-25 00:10:48 +00:00 |
Mike Jolley
|
90fd0da7d0
|
Fire actions for updated props
|
2017-01-24 21:38:02 +00:00 |