Ron Rennick
b0b2320559
fix phpcs sniffs in abstract-wc-product.php
2018-11-28 14:34:24 -04:00
Andrew Benbow
163795b2ab
Add filter to save_payment_method_checkbox
...
Allow the save payment method checkbox to be removed based on payment gateway settings.
2018-11-08 09:15:18 +00:00
Claudiu Lodromanean
ecdffab309
Merge pull request #21641 from jamsheerkrd/master
...
Update abstract-wc-data.php
2018-11-02 09:04:34 -07:00
Jamsheer
95f639ad92
Update abstract-wc-data.php
2018-11-02 20:43:58 +05:30
Claudiu Lodromanean
4aad055e62
Merge pull request #21696 from siananda/fix-21652
...
Prevent deleting default product category via REST API
2018-11-02 08:09:21 -07:00
Md. Saiful Islam
285151843f
compare with $request['id'] instead of $term
2018-10-30 11:36:16 +06:00
Gerhard Potgieter
dba5469efa
update comment for PHPCS passes
...
Co-Authored-By: siananda <anandacsebd@gmail.com>
2018-10-29 20:21:14 +06:00
Claudio Sanches
ccb3f3d82c
Normalize string in terms controller
2018-10-26 20:12:09 -03:00
Md. Saiful Islam
50d33a5793
Fix for issue #21652
...
Prevent deleting the default product category. Added additional checking is the category is the default category or not.
2018-10-26 21:05:52 +06:00
jamsheerkrd
bb5df05920
Update abstract-wc-data.php
...
https://github.com/woocommerce/woocommerce/issues/21640
2018-10-24 14:05:49 +05:30
Rodrigo Primo
6ed2ebb3ba
Fix: WC_Product::get_image() should use $attr parameter
...
This commit fixes a issue that was introduced when WC_Product::get_image() was refactored in 64b589f032
that was making this method ignore what was passed in the $attr parameter.
2018-10-17 19:40:57 -03:00
Terence O'Donoghue
f7c9b7d62c
Update abstract-wc-rest-crud-controller.php
2018-10-15 14:20:19 +01:00
Jared Burke
4557108805
Fix some memory limit values not correctly converting to bytes
2018-10-15 01:26:45 -05:00
Jesper V Nielsen
8799de8477
fix-missing-colon
2018-10-12 09:43:43 +02:00
Jesper V Nielsen
1e8692aeb1
allow-filtering-on-wiget-get_current_page_url
...
Allow for filtering on get_current_page_url() in widgets, to make it possible to extend the parameteres, and keep them.
If building some functionality, where wee work with the parameters in the url, they will be removed, when using the links produced by wc_widget - for example the layered nav, or the price range.
With the filter, we kan add out custom parameter, to the url generated by these widgets.
2018-10-12 08:53:46 +02:00
Claudiu Lodromanean
f1a7792454
Merge pull request #21403 from woocommerce/fix/21294
...
Fix attributes bugs
2018-09-28 08:24:03 -07:00
claudiulodro
178f98ff65
Fix attribute saving
2018-09-19 11:35:46 -07:00
Ewout Fernhout
9c411dc532
Fixes #21345
2018-09-13 15:23:00 +02:00
Claudio Sanches
61873627a7
Merge branch 'master' into feature/rest-api-v3
2018-09-10 19:16:22 -03:00
Rodrigo Primo
4d2530ef45
Fix: product attributes cache should work when non-ASCII characters are used
...
This commit fixes an issue in the code that sets product attributes that was breaking product attributes cache removal when non-ASCII characters are used in the attribute name. For more information see https://github.com/woocommerce/woocommerce/issues/21026#issuecomment-412111740
2018-08-15 13:24:33 -03:00
Rodrigo Primo
fef0cd48ea
phpcs fixes
2018-08-15 13:24:09 -03:00
Claudio Sanches
7d07d52279
Allow _fields
2018-07-24 15:52:48 -03:00
Claudiu Lodromanean
87acfa731d
Merge pull request #20260 from leglesslizard/master
...
Set low stock notification threshold per product
2018-07-24 10:23:15 -07:00
Khan M Rashedun-Naby
25ab294d40
Unnecessay Spaces Removed
2018-07-19 10:33:22 +06:00
Claudio Sanches
99840c3914
Merge branch 'master' into feature/rest-api-v3
2018-07-12 16:07:57 -03:00
Claudio Sanches
9b7fbff544
Merge pull request #20686 from woocommerce/fix/20673
...
Replaced query attribute placeholder with actual value for header link.
2018-07-10 15:22:30 -03:00
Claudiu Lodromanean
e8a2e19b27
Merge pull request #20648 from woocommerce/update/crud-get-image
...
Custom tables: Get image from ID, not post thumbnail
2018-07-09 11:04:52 -07:00
Joey Gilham
58cdd7dad2
Merge branch 'master' into master
2018-07-03 15:41:15 +01:00
Peter Fabian
70d876d122
Replaced query attribute placeholder with actual value for header link.
2018-07-02 16:02:54 +02:00
Mike Jolley
ddb779e917
Check type correctly
2018-06-29 11:22:03 +01:00
Mike Jolley
a6c5065718
Merge pull request #20633 from aelia-co/tweak-shipping_method_add_rate_filter
...
Added new filters when adding shipping rates
2018-06-28 14:29:28 +01:00
Mike Jolley
64b589f032
Get image from ID, not post thumbnail
2018-06-28 13:10:25 +01:00
Diego Zanella
9c9bdb0b2e
Changed prefix for new filters to "woocommerce_shipping_method_"
2018-06-27 22:00:25 +01:00
Claudiu Lodromanean
2a3cedddcd
Merge pull request #20520 from woocommerce/feature/product-custom-tables-supporting-changes
...
Product custom tables supporting changes
2018-06-27 08:57:50 -07:00
Diego Zanella
ab3b6b5433
Fixed call to filter woocommerce_shipping_add_rate_args
2018-06-27 16:09:22 +01:00
Diego Zanella
25817b9236
Added new filters when adding shipping rates
...
Ref. https://github.com/woocommerce/woocommerce/issues/20632
2018-06-26 20:15:54 +01:00
Bharat Kambariya
fdeadcdbea
fix param doc for update_meta and add_meta fn.
2018-06-21 11:47:18 +05:30
Claudiu Lodromanean
ec5fcc333e
Merge pull request #20573 from woocommerce/fix/20521
...
Update status based on stock, always
2018-06-19 07:41:55 -07:00
Mike Jolley
0cee6a69b0
Update status based on stock, always
2018-06-19 13:35:17 +01:00
Joey
cd8416122f
removed low stock options for variations, and addressed changes
2018-06-19 12:40:27 +01:00
David Marín
f28b00d5df
Fixing bug: I was casting the wrong value 😖
2018-06-19 13:31:48 +02:00
Gerhard Potgieter
90387e7d7e
Revert "Deprecate manage_stock methods in favor of stock_status methods."
...
This reverts commit 2d9c058876
.
2018-06-19 11:54:07 +02:00
Gerhard Potgieter
2d9c058876
Deprecate manage_stock methods in favor of stock_status methods.
...
Closes https://github.com/woocommerce/woocommerce-product-tables-feature-plugin/issues/100
2018-06-19 11:35:57 +02:00
David Marín
6649569aa2
Update abstract-wc-settings-api.php
2018-06-19 07:12:39 +02:00
David Marín
597ba7df98
Cast multiselect keys as strings
2018-06-19 06:41:44 +02:00
Rodrigo Primo
b6e73f528b
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-06-15 14:56:31 -03:00
Claudiu Lodromanean
25be9fc13c
Merge pull request #20546 from woocommerce/fix/20509
...
Normalize parent tax class
2018-06-15 09:23:27 -07:00
Risto Niinemets
174fd95765
fix undefined index attribute in layered nav widget without attributes ( #20544 )
2018-06-15 15:20:21 +01:00
Mike Jolley
a8e2eaee2a
Normalize parent tax class
2018-06-15 11:35:22 +01:00
Claudiu Lodromanean
4c47574d7c
Merge pull request #20533 from woocommerce/fix/20505
...
Round items for order total
2018-06-14 09:11:57 -07:00
Claudiu Lodromanean
cdee048337
Merge pull request #20531 from woocommerce/fix/20519
...
Shipping tax may be a string, so cast it
2018-06-14 08:25:09 -07:00
Mike Jolley
893e6affb1
Revert this change - no issue, just keeping diff small
2018-06-14 12:56:21 +01:00
Mike Jolley
90c90591f3
Round items for order total
2018-06-14 12:52:13 +01:00
Mike Jolley
aa4a89f92d
Shipping tax may be a string, so cast it
...
Fixes #20519
2018-06-14 11:49:45 +01:00
Mike Jolley
812586742b
Allow only valid default attributes
2018-06-13 14:33:13 +01:00
Mike Jolley
cfe1cb5c16
Handle login and change events
2018-06-12 15:32:01 +01:00
Mike Jolley
10a5779fd1
wp_localize_script
2018-06-12 14:57:44 +01:00
Mike Jolley
52a7fafd74
Search for matching keys when updating meta data
2018-06-11 12:50:49 +01:00
Joey
98e44092e7
updating suggested changes
2018-06-07 14:37:06 +01:00
Claudiu Lodromanean
839d52d153
Merge pull request #20390 from woocommerce/fix/20369
...
Clear needs_processing transient when adding a product to an order
2018-06-05 06:56:14 -07:00
TheDramatist
1d923bd7a0
WC_Abstract_Privacy PHPDoc Fixed ( #20368 )
...
* WC_Abstract_Privacy PHPDoc Fixed
* Unnecessary spaces removed
2018-06-05 13:29:20 +01:00
Mike Jolley
813db4c7f1
Clear needs_processing transient when adding a product to an order
2018-06-05 11:28:45 +01:00
Diego Zanella
18731221fa
Added order to "woocommerce_order_is_vat_exempt" filter arguments
2018-06-04 11:01:15 +01:00
Joey
b08b55a651
added changes for low stock notifications per product
2018-05-27 05:40:58 +01:00
Mike Jolley
a05059f3eb
redundent check
2018-05-24 20:44:02 +01:00
Mike Jolley
4cdae90aa4
Avoid new method
...
Co-Authored-By: grola <grola@users.noreply.github.com>
2018-05-24 20:41:20 +01:00
Mike Jolley
974d33eb85
Prevent action running for non-instance screens
...
Co-Authored-By: grola <grola@users.noreply.github.com>
2018-05-24 20:35:48 +01:00
Claudio Sanches
fc6da6d4ee
Introducing inline documention to WC_REST_Controller
2018-05-22 13:44:00 -03:00
Marcin Bot
5130edf566
WC_Abstract_Privacy allow to specify filters' priority
2018-05-18 16:07:36 +01:00
Mike Jolley
d25bd2dd33
Fix rounding of line items for orders
2018-05-15 23:18:39 +01:00
Claudiu Lodromanean
7a6b0d8cf5
Merge pull request #19934 from woocommerce/fix/19819
...
Add protocol to URLs for thumbnails in cart.
2018-05-09 10:09:17 -07:00
Mike Jolley
14cbf7b0f0
Pass scheme without hyphen
2018-05-09 17:06:34 +01:00
Claudiu Lodromanean
ec02a133a3
Merge pull request #20021 from woocommerce/fix/19967
...
Switch stock status when manage stock gets changed and qty is sufficient.
2018-05-09 07:21:59 -07:00
Peter Fabian
424213bc17
Applied the filter inside the function.
...
Added optional scheme parameter and @since docstring according to the code review.
2018-05-09 09:42:28 +02:00
Mike Jolley
3b5dfcb80b
Settings API should force autoload on by default.
2018-05-08 11:12:40 +01:00
Peter Fabian
8a8f085dcf
Added back extra parameter for backwards compatibility.
2018-05-08 10:16:53 +02:00
Peter Fabian
c2493310d9
Switch stock status when manage stock gets changed.
...
As the stock quantity might be saved in the database from previous settings, stock_status needs to be in sync if qty is > 0.
2018-05-07 16:01:59 +02:00
Mike Jolley
8d6bbabc58
Merge pull request #19929 from woocommerce/fix/19924-parent-id-0-categories
...
Parent:0 terms via API PUT/POST
2018-05-04 18:56:15 +01:00
Gerhard Potgieter
c2dbc0c887
Keep taxonomy_hierarchical test in place
2018-05-04 08:50:14 +02:00
Peter Fabian
92180d2b42
Add scheme to widget id when caching objects.
...
This should prevent cache from serving mixed content when widget cache is preloaded with http version, then accessed via https.
2018-05-03 14:10:04 +02:00
Boro Sitnikovski
194dba40e2
Make sure devs pass their own unique ID and use localisation for constructor
2018-05-03 10:47:30 +02:00
Boro Sitnikovski
1cfa6c6e4e
Per discussion with Mike, use id when adding exporters/erasers
2018-05-03 10:36:11 +02:00
Boro Sitnikovski
0d981a000a
Update abstract class to use associative arrays
2018-05-03 10:08:29 +02:00
Gerhard Potgieter
a43ac9acae
No need to do checks of parent, WordPress does all the checks when running wp_insert_term and wp_update_term
2018-05-03 08:19:16 +02:00
Peter Fabian
8789642fb9
Add protocol to URLs for thumbnails in cart.
...
Removed wc_get_relative_url(), as it's not used anymore.
2018-05-02 14:34:50 +02:00
Mike Jolley
2e78259452
Compatibility with 4.9 branch
2018-05-02 11:45:02 +01:00
Gerhard Potgieter
992a46c513
Do not unset parent_id when 0 but actuall handle 0 as it can be passed to wp_insert_term.
2018-05-02 12:19:56 +02:00
Gerhard Potgieter
61e624b937
Allow parent:0 param passing when updating a term via the API
2018-05-02 08:44:06 +02:00
Gerhard Potgieter
2124972232
If 0 is supplied as parent ID simply remove it before creating the term. 0 means no parent.
2018-05-02 08:31:28 +02:00
Mike Jolley
f59acf1350
Merge branch 'master' into update/erasure-requests
2018-05-01 13:46:53 +01:00
Mike Jolley
e6eaa4f83c
Fix colorpicker styling
2018-04-26 12:21:17 +01:00
Mike Jolley
091d5326f2
Update abstract class and privacy code
2018-04-26 11:29:51 +01:00
Boro Sitnikovski
92cd1ec0d8
Abstract out privacy class so that extensions can easily re-use it
2018-04-25 02:13:59 +01:00
Mike Jolley
314d949d2c
Background process to cleanup
2018-04-17 15:21:03 +01:00
Mike Jolley
d8814f9381
tip alignment
2018-04-17 12:19:01 +01:00
Mike Jolley
094fc1bf3a
Merge pull request #19703 from woocommerce/update/settings-tabs-for-privacy
...
Moved around settings tabs to allow for a privacy page
2018-04-16 16:45:19 +01:00
Mike Jolley
1b34cd4745
Moved settings tabs around to allow for privacy page.
2018-04-12 16:59:42 +01:00
JeroenSormani
4e6b0dc500
Doc improvements (return types mostly)
2018-04-12 09:10:14 +02:00
Claudio Sanches
900c8fc33f
Merge pull request #19380 from woocommerce/update/19302
...
Override supports for PayPal to see if credentials exist
2018-04-06 15:44:42 -03:00
Brian Henry
b6f1f68a00
Documentation punctuation fixes: its = posessive
2018-04-05 19:45:14 -07:00