Mike Jolley
ebfe8fec65
Merge pull request #14953 from pixedelic/master
...
added filters on zoom / flexslider / photoswipe enabling
2017-05-18 13:14:14 +01:00
Mike Jolley
0d7307a336
Merge pull request #15138 from woocommerce/feature/importer-match-exporter
...
Importer - Auto map exported fields
2017-05-18 11:51:51 +01:00
Timon Davis
af308da6b9
Fix bug #15103 where site operator cannot assign a variation with value of '0' as the default choice on the customer facing form.
...
The WC_Product::set_default_attributes function uses an array_filter (using the default callback for filtration)
to remove null and false values from the defaults array for a given product. The issue here is that, in the above use case,
the array_filter will evaluate '0' as 0 and therefore as false. Ultimately, array_filter then prevents the value from being
recorded, moving forward.
I've added a new filter callback to includes/wc-attribute-functions which will disregard all FALSE PHP equivalents except for
'0' (as a a string). Also, I've updated the filter_array call in WC_Product::set_default_attributes so that it uses this new callback,
instead of the PHP default. Finally, I've added a phpunit test to assert that, when storing default variations / attributes on a product,
the false/true PHP synonyms are evaluating and storing like one would normally expect, with the exception that (string) '0'
evaluates as true in this special case.
This solution could potentially be broadened to facililate similar rules elsewhere, but the need raised in the bug is specific and
this is a specific solution.
2017-05-18 02:43:14 -07:00
Mike Jolley
05eeab33b8
Merge pull request #15142 from woocommerce/fix/phpdoc-info-logging
...
Rename `informational` to `info` in the phpdoc
2017-05-18 10:41:28 +01:00
Boro Sitnikovski
d302e18a9b
Rename `informational` to `info` in the phpdoc
2017-05-18 10:32:25 +02:00
Claudio Sanches
36fa838678
Allow extend auto mapping options
2017-05-17 21:10:26 -03:00
Claudio Sanches
df63ea9b5a
Handle special column names
...
Handle columns names like "Attribute 1 Name" and "Meta: _foo_bar".
2017-05-17 20:59:36 -03:00
claudiulodro
f7cc3df222
Type
2017-05-17 15:00:16 -07:00
claudiulodro
7db993c88b
Reprocess css
2017-05-17 14:58:21 -07:00
claudiulodro
2ab0fdfe78
Styling
2017-05-17 14:55:20 -07:00
claudiulodro
fa1446bc86
Clean up
2017-05-17 14:43:03 -07:00
claudiulodro
17083dafae
Initial background importer implementation
2017-05-17 14:34:49 -07:00
Claudio Sanches
d3ec48f378
Match regular fields between exporter and importer
2017-05-17 17:55:28 -03:00
Claudio Sanches
ce6741e117
Fixed error display and incorrect use of WP_Error
2017-05-17 14:57:03 -03:00
Claudio Sanches
215a9fa0c1
Fixed warning about empty callback name
2017-05-17 14:43:48 -03:00
Claudio Sanches
f5bda12e42
Merge pull request #15126 from woocommerce/fix/15111
...
Fix shop page when using shop base and UTF8 shop page slug
2017-05-17 14:22:57 -03:00
Mike Jolley
e23acb3719
Fix shop page when using shop base and UTF8 shop page slug
...
To test, set shop page slug and name to `חנות` then set permalinks to
shop base.
Repeat that before and after patch.
Shop page 404 errors before patch.
Fixes #15111
2017-05-17 18:13:32 +01:00
Mike Jolley
956b1a6181
Adds storefront/theme step to the setup wizard
...
Also includes a background install to get Storefront installed and
activated on demand.
To test, use a default theme and go to wp-admin/index.php?page=wc-setup
The theme step will be after payments!
2017-05-17 17:42:18 +01:00
claudiulodro
adc8f4eacb
Use correct method name
2017-05-17 09:15:49 -07:00
Claudiu Lodromanean
72d41a21ca
Merge pull request #15116 from woocommerce/refactor/export-import-unification
...
Made exporter and importer screens, classes and directories consistent
2017-05-17 08:55:44 -07:00
claudiulodro
d6ef3ca855
Docblock tweak and remove unused query var
2017-05-17 08:51:45 -07:00
Mike Jolley
a6537ff269
export styling
2017-05-17 14:22:41 +01:00
Mike Jolley
d67fb8fb83
New style import controller
...
Closes #15107
2017-05-17 14:16:38 +01:00
Mike Jolley
bf2979f68d
Revert change - export directory contains logic only, not admin
2017-05-17 11:50:55 +01:00
Mike Jolley
8a48c7d388
Made exporter and importer screens, classes and directories consistent
...
Once merged, @claudiosanches @claudiulodro, we should work on
https://github.com/woocommerce/woocommerce/tree/feature/product-csv-impo
rt-export branch going forward and get this merged into it.
2017-05-17 11:24:27 +01:00
Mike Jolley
3d5f1c1fe6
Merge branch 'feature/product-csv-import-export' into feature/csv-importer
2017-05-17 10:36:39 +01:00
Beka Rice
8885d58799
Fix: Re-add date for wc_create_refund
2017-05-17 04:46:56 -04:00
Mike Jolley
34a7f9b3dd
Merge pull request #15084 from ryelle/add/profile-field-improvements
...
Customer Profiles: copy billing address to shipping address
2017-05-16 20:31:05 +01:00
Mike Jolley
021d1a1255
Merge pull request #15093 from woocommerce/csv-basic-product-importer
...
CSV basic product importer
2017-05-16 20:17:42 +01:00
Kelly Dwan
3cb3a1b085
Style & escaping fixes, based on review feedback
2017-05-16 14:01:14 -04:00
Mike Jolley
7205a8e020
Merge pull request #15090 from woocommerce/fix/14763
...
Use site locale for customer emails.
2017-05-16 17:27:39 +01:00
Claudio Sanches
3705b45477
Merge pull request #15100 from woocommerce/feature/import-export-ui-prep
...
Import export admin links
2017-05-16 12:57:13 -03:00
Claudio Sanches
f471a8d846
Merge pull request #15098 from woocommerce/fix/15087
...
If backorders are enabled, do not make variable products out of stock.
2017-05-16 12:45:10 -03:00
Claudio Sanches
21baa5d230
Merge pull request #15095 from woocommerce/fix/15056
...
Support searches < 3 chars but with limiting.
2017-05-16 12:44:04 -03:00
Claudio Sanches
f7c26dee7b
Merge pull request #15079 from woocommerce/fix/settings-api-base-location
...
Fix 'base location' not being returned via the settings API.
2017-05-16 12:41:28 -03:00
Claudio Sanches
d6e43ddbe1
Merge pull request #15078 from woocommerce/fix/restore-empty-checkout-data-only
...
When re-filling fields on checkout, only change the empty ones.
2017-05-16 12:39:28 -03:00
Claudio Sanches
8a987ec822
Merge pull request #15072 from woocommerce/fix/15057
...
Make calculate tax function clear taxes if disabled on recalculation
2017-05-16 12:38:41 -03:00
Mike Jolley
5939939244
Wizard and blank state
2017-05-16 15:36:56 +01:00
Mike Jolley
7293025c92
Import page placeholder
2017-05-16 15:21:35 +01:00
Mike Jolley
2ba6613abe
Hide export menu item
2017-05-16 15:21:29 +01:00
Mike Jolley
74e2f61f0c
Import and export buttons
2017-05-16 15:06:22 +01:00
Mike Jolley
6949ee162e
Reduce visual noise
2017-05-16 15:05:11 +01:00
claudiulodro
73b7b2d91b
Typo
2017-05-16 06:31:52 -07:00
Mike Jolley
2774c8dc28
Merge pull request #15029 from vinoddalvi/master
...
Resolved the issue - Allow linking to single product additional_information tab from url hash #15016
2017-05-16 13:09:21 +01:00
Mike Jolley
cb76f38f11
If backorders are enabled, do not make variable products out of stock.
...
Fixes #15087
2017-05-16 13:06:38 +01:00
Mike Jolley
351b0e0c67
Support limiting in search_customers
2017-05-16 10:16:57 +01:00
Mike Jolley
bf613bc922
Limit results to 20 for short strings and allow < 3 chars
2017-05-16 10:16:04 +01:00
Mike Jolley
59e9477730
Merge pull request #15094 from bekarice/fix/php-fatal-undefined-function
...
Fix Fatal Error: undefined function
2017-05-16 09:34:38 +01:00
Mike Jolley
7ad295d64d
Merge pull request #15076 from woocommerce/feature/14385
...
Show login form on the "pay for order" step
2017-05-16 09:31:53 +01:00
Beka Rice
562c50a3b0
Fix Fatal Error: undefined function
2017-05-16 04:04:47 -04:00