Commit Graph

11673 Commits

Author SHA1 Message Date
Claudiu Lodromanean 7dd1cdca0a Merge pull request #15618 from woocommerce/fix/15614
Importer; create placeholders when importing products with IDs
2017-06-14 09:59:13 -07:00
claudiulodro 57c5bab731 Space 2017-06-14 09:58:15 -07:00
Mike Jolley c3ee9a77f5 Tweak tips and placeholders for all emails 2017-06-14 17:50:17 +01:00
Claudio Sanches e3b7e4e566 Use placeholders and description to inform the default values 2017-06-14 13:13:43 -03:00
Mike Jolley 0de65b3a8d Start time 2017-06-14 17:04:47 +01:00
Claudiu Lodromanean 4f5f04ec79 Merge pull request #15611 from woocommerce/fix/15606
More strict COD method matching
2017-06-14 09:04:46 -07:00
Claudiu Lodromanean bdb7194b2e Merge pull request #15612 from woocommerce/fix/15592
Recalculate totals after local pickup selection
2017-06-14 08:55:50 -07:00
Mike Jolley 8bd7f89f73 Clear placeholder data after import 2017-06-14 16:38:07 +01:00
Mike Jolley 907b986d4f Tweak wording 2017-06-14 16:37:53 +01:00
Mike Jolley cb34cb8d81 Made variations more lenient so that they can be created whilst a parent does not yet exist 2017-06-14 16:37:46 +01:00
Mike Jolley fdc6c46e80 Clear slug for placeholder products 2017-06-14 16:37:21 +01:00
Mike Jolley 8603e75b5e Create placeholders when importing products with an ID column and not updating 2017-06-14 16:37:07 +01:00
Konstantin Kovshenin 247e13e2ca Helper: Various Improvements (#15519)
* Helper: Improve messaging and CTAs

* Helper: Update copy on connect flow

* Helper: Improve messaging around plugins without a subscription

* removes toggle from extensions that cannot be activated

* Helper: Add new `WC_Helper_Compat` class for legacy helper compat

This new class removes some of the actions from the legacy helper
(updater) plugin, attempts to migrate an existing legacy connection
to a new one, attempts to deactivate the old helper plugin.

* Helper: Improve messaging around maxed out subscriptions

* Helper: Enable `WC_Tracker` when connected to WooCommerce.com

* Helper: adds styles for manual licence form row and other visual improvements

* Helper: removes disabled toggles

* Helper: adds styles for connection component

* Helper: redesigned connection module

* Helper: rotates the connection module chevron on mouse hover

* Helper: adds some fixes to the key form on mobile and other updates to meet coding standards

* Helper: Only mark action as primary if there's a CTA button.

* Helper: Better handling for woothemes_updater_notice

Remove the updater notice built into extensions and themes, even
if the legacy Helper plugin is deactivated.

* Helper: Navigate existing Helper users to the new place.

Adds a Dashboard menu item and direct users of the old helper
plugin to the new Extensions screen.

* Helper: Do not show the back-compat menu item for new users

* Helper: Avoid notice in API authentication if credentials are missing

* Helper: Hide the back-compat menu item when users see the new screen

Also sets the user_id for the connection if one was not previously set.
2017-06-14 14:12:53 +01:00
Mike Jolley 77cee56ae8 Prevent memory and time limits 2017-06-14 14:02:47 +01:00
Mike Jolley 9fb8fa4761 Merge pull request #15610 from woocommerce/update/15604
Copy tweaks for catalog visibility
2017-06-14 13:08:36 +01:00
Mike Jolley 3132d641e3 Merge pull request #15600 from woocommerce/improvement/15596
Add checks in get_orders_generate_customer_meta_query
2017-06-14 13:04:03 +01:00
Mike Jolley 66c7c20844 Should work in reverse 2017-06-14 12:57:26 +01:00
Mike Jolley 985f7e043f Update totals if local pickup is selected 2017-06-14 12:46:59 +01:00
Mike Jolley 55e9add8e5 More strict COD method matching
Fixes #15606
2017-06-14 12:17:28 +01:00
Mike Jolley 4a4e201888 Copy tweaks for catalog visibility
Ref #15604
2017-06-14 12:07:20 +01:00
Valerie K 66259ebff1 Update WooCommerce Services copy (#15598)
* Remove excess explanation from wizard shipping step

* Remove distracting link from shipping wizard page

* Update copy on extensions WCS banner

* Update copy on WCS extensions banner for Canada

* Fix extensions WCS banner when read from json

* Add Canada copy on wizard shipping step

* Use strict array comparison in WCS shipping tout

* Add service logos to WCS extension banner

* Use strict array comparison in WCS banner

* Remove related extensions when showing WCS banner

- when store is based in Canada remove Canada Post
extension from shipping page
- when store is based in US remove USPS
extension from shipping page

* Add image alt for logos on WCS banners

* Update WCS banner and wizard content
2017-06-14 11:24:45 +01:00
Claudio Sanches 62c65e778b Restored emails settings default values
Closes #15574
2017-06-13 20:00:50 -03:00
claudiulodro 62064d56f8 Add edge case test 2017-06-13 14:00:12 -07:00
claudiulodro 489e67dbe1 Remove unnecessary checks 2017-06-13 13:37:40 -07:00
claudiulodro f1a9dbc69e Extra checks and tests 2017-06-13 13:32:21 -07:00
Claudio Sanches 6d1c133a3e Merge pull request #15594 from woocommerce/fix/15561
Remove escape to fix saving of Special characters in attributes
2017-06-13 14:28:39 -03:00
Mike Jolley ba2bf67bb9 Use hash_equals where needed 2017-06-13 13:54:02 +01:00
Mike Jolley e24ca9d3bc Merge remote-tracking branch 'origin/master' 2017-06-13 13:35:17 +01:00
Mike Jolley 598982ef70 Standards 2017-06-13 13:34:46 +01:00
Mike Jolley c4c3d37101 Remove escape 2017-06-13 13:30:00 +01:00
Mike Jolley 393f1be092 Merge pull request #15580 from woocommerce/refactore/improve-importer-mapping-options
Better importer mapping options
2017-06-13 12:15:33 +01:00
Mike Jolley 1a6e477c83 Merge pull request #15579 from woocommerce/fix/importer-delimiter
Start handle importer delimiter
2017-06-13 11:57:10 +01:00
Mike Jolley 3d50d1468c Merge pull request #15590 from woocommerce/fix/15584
Prevent error in wc_get_product_term_ids
2017-06-13 11:43:00 +01:00
Mike Jolley 282bf0fd68 Cleanup 2017-06-13 11:41:44 +01:00
nishitlangaliya efea26d8fa Fixed Login Issue when the username is an email ref #15577 2017-06-13 16:09:54 +05:30
Mike Jolley 5b1af1b75f Merge pull request #15550 from ughimire/product-import
Fixed - Directory separator issue on windows for product import file …
2017-06-13 11:35:40 +01:00
Mike Jolley 0b14e91a60 Merge pull request #15533 from woocommerce/fix/order-item-meta-formatting
Removes the use of strip_tags() when outputting order item meta
2017-06-13 11:35:03 +01:00
yachmenov_c_ ab7a3b625c #15584 - is_wp_error() checking added to prevent fatal 2017-06-13 11:19:56 +03:00
Umesh Ghimire b5cd0a8680 Space after parentheses 2017-06-13 09:52:27 +05:45
Claudio Sanches e6b5ac83c4 Better importer mapping options
- Rearranged fields to make easy to find
- Grouped price fields
- Include context to "Stock" since could means different things depending on the language
2017-06-12 18:08:23 -03:00
Claudio Sanches 2702647f88 Start handle importer delimiter
This make able handle the delimiter input passing to mapping screen and to the AJAX importation process.
2017-06-12 17:47:20 -03:00
claudiulodro f020d54e67 Add support for paginate and return ids in wc_order_query 2017-06-12 13:26:29 -07:00
Claudiu Lodromanean da35bad7bc Merge pull request #15575 from woocommerce/fix/15559
[REST API] Allow set grouped_products
2017-06-12 10:14:05 -07:00
Claudio Sanches 4dcb61e098 Fixed a typo 2017-06-12 13:59:47 -03:00
Claudio Sanches b2ce6212d4 Merge pull request #15569 from woocommerce/fix/15566
Update variation outofstock term on save.
2017-06-12 13:51:38 -03:00
Claudio Sanches 1254013f51 Merge pull request #15539 from woocommerce/fix/exporter-speed-and-encoding
Fix exporter speed and encoding
2017-06-12 13:49:57 -03:00
Claudio Sanches 1f7f289a88 Merge pull request #15570 from woocommerce/fix/15555
Show attribute data in admin list.
2017-06-12 13:43:02 -03:00
Claudio Sanches 43d28372b9 [REST API] Allow set grouped_products
Fixes #15559
2017-06-12 13:34:39 -03:00
Claudio Sanches 2541e38890 Merge pull request #15571 from woocommerce/fix/customer-logout-nonce
Add a nonce and confirmation for logging out via the customer my account page
2017-06-12 13:29:39 -03:00
Mike Jolley 636ad8b652 Add a nonce and confirmation for logging out via the customer my account page 2017-06-12 14:02:29 +01:00
Mike Jolley 54a9387361 Show attribute data in admin list. 2017-06-12 13:37:52 +01:00
Mike Jolley 012f251e42 Update variation outofstock term on save. 2017-06-12 13:09:47 +01:00
Chunkford 49353d5c6e Create class-wc-order-item-meta.php
Add extra data to the second occurrence of the 'woocommerce_order_item_display_meta_value' hook so it matches the change done in https://github.com/woocommerce/woocommerce/pull/15551
2017-06-10 16:05:02 +01:00
Mike Jolley 1696a036a8 Use fputcsv to fix escaping 2017-06-10 15:43:38 +01:00
Mike Jolley e2a73bbee9 Merge pull request #15523 from woocommerce/fix/15167
Fixed backwards compatibility with WC_Product_Variable::get_available_variation()
2017-06-10 14:27:02 +01:00
Chunkford 6326bd1f98 Create class-wc-order-item.php
Add extra data to `woocommerce_order_item_display_meta_key` and `woocommerce_order_item_display_meta_value` hooks
2017-06-10 13:26:43 +01:00
Umesh Ghimire 71c22cadf1 Fixed - Directory separator issue on windows for product import file fixed. 2017-06-10 08:50:41 +05:45
claudiulodro 4515e5fca9 Fix undefined/incorrectly used variables 2017-06-09 14:10:55 -07:00
Claudio Sanches 6d7da18d1c Use get_avatar_url() in wc_get_customer_avatar_url() 2017-06-09 17:17:43 -03:00
Claudio Sanches df0ec12fb4 Deprecated wc_get_customer_avatar_url() in favor of get_avatar_url()
And remove duplicated code.
2017-06-09 16:25:57 -03:00
Claudio Sanches e63f42459b Include image_id again 2017-06-09 15:44:32 -03:00
Claudiu Lodromanean 5d13ea39b1 Merge pull request #15537 from woocommerce/fix/empty-attributes
Prevent empty attributes being loaded or used
2017-06-09 10:42:48 -07:00
Claudiu Lodromanean f8c64b31c0 Merge pull request #15541 from woocommerce/fix/15532
Update total orders and items
2017-06-09 09:39:50 -07:00
Mike Jolley 4367c9f6d4 Use user_can function
Use user can rather than roles directly.

If the user can edit posts, assume they are allowed an archive.

Fixes #15508
2017-06-09 15:18:35 +01:00
Mike Jolley 3367047c8e Update total orders and items 2017-06-09 15:07:31 +01:00
Mike Jolley 5fe26e689c Merge pull request #15528 from Chouby/importer_action
[3.1] Add action after a product has been imported
2017-06-09 14:17:41 +01:00
Mike Jolley a013a41872 Fix escape 2017-06-09 13:40:11 +01:00
Mike Jolley 0d99ce626c Increase limit to 50 2017-06-09 12:21:46 +01:00
Mike Jolley 49958a13a6 Prevent empty attributes being loaded or used 2017-06-09 12:14:11 +01:00
Matt Cohen e644bccbe8
Removes the use of strip_tags() when outputting order item meta, to account for basic HTML tags, hyperlinks, etc. 2017-06-09 11:00:23 +02:00
Mike Jolley 4a56c8b92a Fix indent 2017-06-09 09:36:44 +01:00
Frédéric Demarle 08e30450b5 Add action after a product has been imported 2017-06-09 08:30:22 +02:00
nishitlangaliya 9ba5f534ea Fixed Don't show 'Restock refunded items' ref #14888 2017-06-09 09:06:57 +05:30
Claudio Sanches 16d342a6a0 Fixed backwards compatibility with WC_Product_Variable::get_available_variation()
Closes #15167
2017-06-08 16:06:06 -03:00
Claudio Sanches 8b3d1046e0 Merge pull request #15515 from woocommerce/update/15399
Tweak review settings and add global enable option
2017-06-08 15:53:00 -03:00
Claudiu Lodromanean 64558086bb Merge pull request #15513 from woocommerce/fix/12534
Make persistant cart work on multisite
2017-06-08 09:11:48 -07:00
Claudiu Lodromanean 58a6c2d678 Merge pull request #15511 from woocommerce/update/comment-queries
Comment exclusion queries optimisation
2017-06-08 08:18:48 -07:00
Mike Jolley 5ee38c54c2 Option to disable reviews globally 2017-06-08 15:26:30 +01:00
Mike Jolley b4040b1335 Translate quick edit text 2017-06-08 14:24:28 +01:00
Mike Jolley 32aca8cc39 String clarification 2017-06-08 14:08:48 +01:00
Mike Jolley 0d4dc49bd3 Break up verified owner and rating options 2017-06-08 14:06:15 +01:00
Mike Jolley a55127dbf0 Append hash to fragment name 2017-06-08 13:47:34 +01:00
Mike Jolley 6eacecfeb6 Append blog ID on persistent cart user meta 2017-06-08 13:47:23 +01:00
Mike Jolley 6b4fce475a Indenting 2017-06-08 12:46:01 +01:00
Mike Jolley 4ea9ab46a7 Avoid slow substring query 2017-06-08 12:21:55 +01:00
Mike Jolley caacd65085 Update function to ensure notes have correct type (pre WC 1.6) 2017-06-08 12:18:07 +01:00
Mike Jolley 75480ab99f Show notes in order list 2017-06-08 12:17:46 +01:00
Mike Jolley b32d5802b7 Rather than join the posts table and look at types, we can exclude order notes by using their type.
Webhooks use `webhook_delivery`

Order notes use `order_note` type.

#15509
2017-06-08 12:01:06 +01:00
Mike Jolley 25de18c614 Merge pull request #15495 from woocommerce/fix/15481
Validate all possible values for variation add to cart
2017-06-07 15:25:05 +01:00
Mike Jolley 0d7614d44b Fix locale notice
Closes #15502
2017-06-07 14:31:09 +01:00
Mike Jolley bea7492e23 Validate all possible values for variation add to cart
Closes #15481
2017-06-07 11:13:28 +01:00
Mike Jolley 325740ed5d Merge pull request #15485 from thenbrent/DRY_variable_price_html_filter
Apply woocommerce_variable_price_html filter once
2017-06-07 10:34:17 +01:00
amansaini 03699dcaae Fixes issue #15489 2017-06-07 11:58:09 +05:30
jgacuca567 4a9950b4c5 Changed their to there 2017-06-06 17:30:20 -04:00
Brent Shepherd a274000d34 Append variable price suffix only once 2017-06-06 13:40:36 -07:00
Brent Shepherd acd6bf9cb7 Apply woocommerce_variable_price_html filter once
To save a bit of duplicate code.
2017-06-06 13:35:41 -07:00
Claudio Sanches 2523490f9f [REST API] Fixed oAuth1.0a to allow multi-dimensional arrays
Fixes #15395
Closes #15396
2017-06-06 17:05:03 -03:00
Claudiu Lodromanean fa3586729a Merge pull request #15469 from woocommerce/fix/15457
Revert thousand removal in wc_format_decimal, and add more tests
2017-06-06 10:31:40 -07:00
Claudio Sanches 20d5e0f769 Merge pull request #15477 from woocommerce/fix/15392
Variations to inherit catalog_visibility
2017-06-06 14:27:46 -03:00
Claudio Sanches c43afcfbd0 Merge pull request #15474 from woocommerce/update/15031
Update copy + css for zones
2017-06-06 14:26:24 -03:00