Rodrigo Primo
522f992bfe
Add new pre query filter to WC_Product_Data_Store_CPT::search_products()
...
This commits adds a filter to WC_Product_Data_Store_CPT::search_products() to let third-party code define custom ways to search for products.
2018-12-06 16:08:10 -02:00
Rodrigo Primo
6ec2b26972
Update WordPress.DB.PreparedSQL.NotPrepared sniff name
...
The latest version of WPCS that was added to WC last week, changed the name of some sniffs. This commit updates the name of one of those sniffs from WordPress.WP.PreparedSQL.NotPrepared to WordPress.DB.PreparedSQL.NotPrepared.
2018-11-23 15:10:52 -02:00
Rodrigo Primo
57f44798cb
Fix phpcs violations automatically using phpcbf
2018-11-23 12:57:51 -02:00
Gerhard
2aa39507f7
Do not include products who's parents are not in publish status to be part of the get_on_sale_products results
2018-11-01 12:01:59 +02:00
JeroenSormani
7b4075f11a
Ensure wp_list_pluck() gets a array and not possibly null
2018-10-16 18:53:31 +02:00
Jack Boyle
63b84ef407
Fix Requested Changes
...
Changed to check if field exists and the field is not blank.
2018-08-24 13:03:09 +10:00
Jack Boyle
c4eda39177
Add wildcard handler for SKU and other meta values
...
Add wildcard handler for SKU and other meta values
2018-08-23 09:59:39 +10:00
Joey Gilham
58cdd7dad2
Merge branch 'master' into master
2018-07-03 15:41:15 +01:00
Claudiu Lodromanean
c203ff16d9
Merge pull request #20482 from woocommerce/fix/20452
...
Avoid price setting when synced with children
2018-06-15 09:05:13 -07:00
Mike Jolley
a0eb6843c2
define limit query
2018-06-15 15:28:29 +01:00
Mike Jolley
5e14953796
Avoid price setting when synced with children
2018-06-11 11:44:58 +01:00
Mike Jolley
4bc7841325
search_products limit support
2018-06-09 17:23:07 +01:00
Khan M Rashedun-Naby
5442d30b6d
Checking Improved
2018-06-07 12:35:58 +06:00
Joey
b08b55a651
added changes for low stock notifications per product
2018-05-27 05:40:58 +01:00
Mike Jolley
06ef8c8589
Hook doc update
2018-05-02 14:28:53 +01:00
Mike Jolley
73709ee7cd
Slash meta values before updating the DB in the data store
2018-04-10 14:43:38 +01:00
Claudio Sanches
d043e4727b
Merge pull request #19595 from woocommerce/fix/19562
...
Trigger post modified update when saving products and variations, but no other product data
2018-04-03 12:23:10 -03:00
Mike Jolley
2ed018d542
Trigger post modified update when saving products and variations, but no other product data
...
Closes #19562
2018-04-03 12:51:58 +01:00
Frédéric Demarle
ee2140944c
add action woocommerce_before_delete_{$post_type}
2018-03-29 14:52:19 +02:00
Mike Jolley
40b831f4df
Missing $like was breaking unit tests.
...
@rodrigoprimo
2018-03-19 17:36:36 +00:00
Mike Jolley
eb26221b1a
Merge branch 'master' into update/19061
2018-03-16 13:59:05 +00:00
Mike Jolley
3df5a479f9
Add post_excerpt to product search
2018-03-15 11:21:27 +00:00
Mike Jolley
06418f67e5
Merge pull request #19225 from roylindauer/17355-SplitAndFilter
...
Split layered nav transient per issue #17355
2018-03-14 12:50:54 +00:00
Roy Lindauer
33cfed8e47
ensure that cache is deleted
2018-03-13 15:37:09 -07:00
Mike Jolley
906aa97aea
Merge branch 'master' into update/19061
2018-03-12 19:28:53 +00:00
Mike Jolley
f0aa07fbf7
Case insensitive or handling
2018-03-12 19:18:13 +00:00
Roy Lindauer
6fba320040
Delete tax specific transients
2018-03-12 10:57:14 -07:00
Rodrigo Primo
fee648f696
Fix phpcs violations in includes/data-stores/class-wc-product-data-store-cpt.php
2018-03-08 14:30:48 -03:00
Mike Jolley
391e5df40c
Support for OR operator
2018-02-27 19:45:45 +00:00
Mike Jolley
a1ea88ffb0
Fix comparison
2018-02-22 18:46:34 +00:00
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