claudiulodro
9e9b9b86ba
Cant use empty check in customer query var
2017-05-14 17:05:46 -07:00
claudiulodro
cec2c3b7dc
Couple requested changes
2017-05-13 12:22:22 -07:00
claudiulodro
d9c5536cf2
formatting
2017-05-12 15:31:34 -07:00
claudiulodro
fe40e9b96a
Make date queries work properly
2017-05-12 15:25:15 -07:00
claudiulodro
5b578c389f
Use previous filter name
2017-05-12 13:14:52 -07:00
claudiulodro
eee2ef82e8
Deprecate ->get_orders
2017-05-12 13:06:17 -07: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
ee7240de9c
Styling
2017-05-12 21:01:27 +01:00
claudiulodro
2ce90b3eb6
Slightly better date handling
2017-05-12 12:59:54 -07:00
Mike Jolley
523d9d27cd
Styling
2017-05-12 20:40:54 +01:00
Mike Jolley
ed32dd558d
Nonces and further tidyup
2017-05-12 20:15:08 +01:00
Mike Jolley
0334ed255a
Merge pull request #15041 from woocommerce/fix/14985-address
...
Update all customer fields when updating via checkout
2017-05-12 19:48:20 +01:00
Mike Jolley
5e9f908df7
Merge pull request #15051 from reescott/fixlogtable
...
Fix #14967 by adding log_id as the secondary sorting column to log list.
2017-05-12 19:47:18 +01:00
claudiulodro
3861e32803
Migrate wc_get_orders
2017-05-12 11:45:01 -07:00
Scott Rees
b7b75c83f7
Fix #14967 by adding log_id as the secondary sorting column to log list.
2017-05-12 10:22:31 -07:00
Claudio Sanches
a273deffcb
Merge pull request #15042 from woocommerce/fix/14978
...
Ensure get_plugin_updates exists
2017-05-12 13:40:54 -03:00
Mike Jolley
c63a3c2c12
tidyup
2017-05-12 17:00:14 +01:00
claudiulodro
824d8898a2
Fix unit tests
2017-05-12 08:44:02 -07:00
Mike Jolley
9faac6f60d
Filters
2017-05-12 16:39:02 +01:00
Mike Jolley
b0b86f13a0
Add missing columns
2017-05-12 16:16:04 +01:00
Mike Jolley
a35df1394c
Delay final step
2017-05-12 15:26:53 +01:00
Mike Jolley
0bf749aeac
Move js into script file
2017-05-12 15:03:00 +01:00
Mike Jolley
8fe0f03a95
Type exporting
2017-05-12 14:48:30 +01:00
Mike Jolley
3d7533e02b
Correct variable name
2017-05-12 12:09:05 +01:00
Mike Jolley
6797b2229d
Ensure get_plugin_updates exists
...
Fixes #14978
2017-05-12 10:56:43 +01:00
Mike Jolley
de4e2fc667
Update all customer fields when updating via checkout
...
Adds set_customer_address_fields helper to make it more DRY
Fixes #14985
2017-05-12 10:43:14 +01:00
Diego Zanella
8fd1366bba
#15038 Made WC_Checkout::get_posted_data() public
2017-05-12 10:23:10 +01:00
Claudiu Lodromanean
c6fc0003c3
Merge pull request #14971 from woocommerce/improvement/13646
...
WC_*_Query date queries
2017-05-11 21:43:41 -07:00
Guido Scialfa
cce7e8a0e3
Allow other product types to use the sale schedule inputs.
...
Problem:
Simple product allow to schedule a product sale, but the datepicker
works only if there is one group of sale inputs.
This is because only the simple&external product type is allowed to show the general data tab.
As referenced within the includes/admin/meta-boxes/views/html-product-data-general.php
the div container has the class attribute values "show_if_simple show_if_external".
This make impossible to use the price fields for custom product types.
Workaround:
When I register a new product type and I want to use the general data tab, simply, I cannot.
But, I can create an additional data tab and put my custom code there but if I want to use the price and sale input what I need to do
is to get a copy of the code from html-product-data-general.php and put it on my own view.
Surprise, is not possible to send the data from the datepicker to the input field, also, the recalculate value for the minDate and maxDate
doesn't work as expected.
Solution:
Instead of use the .sale_price_dates_from (that is removed when the datePicker is initialized, and instead of using the id attribute
that must be unique and may create issues, using a combination of .next() and .is() function allow us to determine if the options must be the min or max value.
The code is a copy of the same closure found within the meta-boxes-variation.js.
2017-05-11 18:38:48 +02:00
Claudio Sanches
d8f4ebee22
Merge pull request #15018 from woocommerce/feature/csv-mapping-screen
...
CSV Mapping screen
2017-05-11 11:56:35 -03:00
Claudio Sanches
660af0118a
Merge branch 'feature/csv-importer' into feature/csv-mapping-screen
2017-05-11 11:55:24 -03:00
Claudio Sanches
ed09b4e350
Updated to sanitize data in parse_data method
2017-05-11 11:49:45 -03:00
Vinod Dalvi
3249f23576
Resolved the issue - Allow linking to single product additional_information tab from url hash #15016
2017-05-11 19:51:31 +05:30
Claudio Sanches
656508f652
Merge pull request #15008 from woocommerce/fix/14990
...
Handle clearing for 3, 4, and 5 columns
2017-05-10 19:24:04 -03:00
Claudio Sanches
663c1d5f51
Merge pull request #15012 from woocommerce/fix/14994
...
Correctly set rating during updates
2017-05-10 19:08:38 -03:00
Mike Jolley
5c6ef16e99
images
2017-05-10 23:05:06 +01:00
Claudio Sanches
9a25f09c7b
Included $item to woocommerce_csv_product_import_mapping_options filter
2017-05-10 18:57:57 -03:00
Claudio Sanches
0ec70e6b92
Allow import as meta
2017-05-10 18:56:29 -03:00
Mike Jolley
d2c2ead6c4
fix linked product export
2017-05-10 22:53:17 +01:00
Claudio Sanches
44c20f40d7
Merge pull request #15015 from woocommerce/fix/14973
...
Check we have a valid order in wc_get_payment_gateway_by_order
2017-05-10 18:35:36 -03:00
Claudio Sanches
1f11f1c5a5
Merge pull request #15014 from woocommerce/fix/14995
...
Setup postdata after grouped loop so description etc is correct
2017-05-10 18:35:22 -03:00
Claudio Sanches
fcbff8ef8d
Merge pull request #15013 from woocommerce/fix/15000
...
Protect against notices/errors
2017-05-10 18:35:08 -03:00
claudiulodro
e31cbfd5c4
Formatting for readibility
2017-05-10 14:33:29 -07:00
Mike Jolley
4cacceeede
Variation handling
2017-05-10 22:16:53 +01:00
Claudio Sanches
6f34cdd9cf
Skip mapping screen if all fields match CSV default fields
2017-05-10 17:56:00 -03:00
claudiulodro
fc365d29eb
Change test to better check validity
2017-05-10 13:20:07 -07:00
Claudio Sanches
244fb00a27
Initial mapping screen
2017-05-10 17:15:28 -03:00
claudiulodro
d461ea86d6
Use local timezone for yyyy-mm-dd queries
2017-05-10 13:08:47 -07:00
Mike Jolley
825dcda917
Selective export
2017-05-10 20:48:56 +01:00
Ninos Ego
89113cf6b2
Added filter for cookie name
2017-05-10 21:46:43 +02:00