Commit Graph

31049 Commits

Author SHA1 Message Date
haszari d89b38cb3f fix up products empty state styles now row-padding is balanced 2019-02-25 11:49:08 +13:00
Jeff Stieler 41e79ace80 Add Tracks events for product import start and finish. 2019-02-25 11:36:39 +13:00
haszari e68ee17121 tweak layout of product edit suggestions to match designs 2019-02-25 11:12:05 +13:00
haszari e5940a845c opt-in to standard styles for product edit metabox suggestions 2019-02-25 10:24:38 +13:00
haszari 764926f30c rename product edit suggestions contexts for consistency 2019-02-25 10:21:22 +13:00
haszari cf88165e51 remove icon from marketplace suggestions product edit tab 2019-02-25 10:17:37 +13:00
Valerie 8a796138ef OBW: Add Facebook to recommended step
The end date for the Facebook recommendation
is October 8, 2019.

When the option is checked, this will install the extension
'Facebook for WooCommerce' on the user's site.
2019-02-23 17:40:37 -05:00
haszari 041068a705 use full path when including container template, rename folder 'views' 2019-02-24 09:37:33 +13:00
nishitlangaliya 53b5be7e83 feat: wc_product_stock_status_options filter added for stock status options for variable product 2019-02-23 11:10:22 +05:30
Valerie ca316d8933 OBW: Remove customized blurb on recommended step 2019-02-22 21:14:22 -05:00
Konstantin Kovshenin 1dad53d5e0 Update Marketplace suggestions data using WC_Queue
Schedules an update task to run as soon as possible to fetch the
suggestions data, and cache it for a week. Failures are cached for
a day.
2019-02-22 22:34:18 +03:00
Konstantin Kovshenin a0af355a45 Change marketplace suggestions label to "Get more options" 2019-02-22 21:16:13 +03:00
Claudio Sanches 14fa222347
Merge pull request #22676 from woocommerce/add/woo-identity
Tracks: add Woo identity
2019-02-22 15:10:22 -03:00
Claudio Sanches 8ae61b75e3 Clean up 2019-02-22 15:08:23 -03:00
Claudio Sanches 9250ff0df5 Better check for Jetpack 2019-02-22 15:01:13 -03:00
Claudio Sanches bad7860e7e Check if file exists before loading 2019-02-22 15:00:33 -03:00
Mike Jolley e21912294a calc shipping before totals 2019-02-22 16:43:42 +00:00
Tarik Causevic 5f87fa49e1 Correct invalid param type from id to int 2019-02-22 17:39:58 +01:00
Naveen giri f741d507ba Bugfix/#22821: Add Fix for Warning and Notices on save attribute button click 2019-02-22 19:27:16 +05:30
Mike Jolley 27ac2e1577 phpcs 2019-02-22 13:33:41 +00:00
Mike Jolley d07d1cf0b0 If taxes are enabled, make the refund box readonly 2019-02-22 13:30:49 +00:00
Mike Jolley 0c2bc16bc1 Improved ratio and size matching code to prevent false positives 2019-02-22 12:10:54 +00:00
Mike Jolley d31fbb5bf3 Helper to get full size dimensions 2019-02-22 12:10:28 +00:00
Mike Jolley 4a383fa832 When resizing, avoid extra checks via our filter 2019-02-22 12:10:16 +00:00
Mike Jolley 21f98555dc Image downsize without filters 2019-02-22 12:09:59 +00:00
Konstantin Kovshenin 86d8065f3b Remove debug code 2019-02-22 12:11:54 +03:00
Konstantin Kovshenin 25a72cc5f3 Add missing HTML template that renders the product data panel content 2019-02-22 12:03:58 +03:00
Konstantin Kovshenin 559409bccb Remove hard-coded JSON test data 2019-02-22 11:55:56 +03:00
Konstantin Kovshenin 901d41bdfa Marketplace suggestions in Edit Product screen
Adds a new tab to Woo's product data metabox and renders the
appropriate containers for JS to inject some Marketplace
suggestions.
2019-02-22 11:52:17 +03:00
haszari 4af4ce5783 allow suggestions on orders list + move logic into suggestions class 2019-02-22 10:55:37 +03:00
haszari 07a1ac7868 (temporary) add hard-coded fake orders-list suggestion data 2019-02-22 10:55:19 +03:00
haszari 3fcdc65283 style orders list suggestions + remove debug code 2019-02-22 20:55:03 +13:00
haszari 4e42021578 render suggestions containers (& unstyled suggestions) in orders list 2019-02-22 16:13:37 +13:00
haszari 24bbb9267e allow suggestions on orders list + move logic into suggestions class 2019-02-22 16:11:34 +13:00
haszari 124e1a7b4a (temporary) add hard-coded fake orders-list suggestion data 2019-02-22 16:06:18 +13:00
Jeff Stieler 04a1b7d79d
Track when product categories are created. (#22790)
* Track when product categories are created.

* Product category tracking: rename page property and include parent category ID.

* Fix PHPCS issues with product category tracking event.
2019-02-21 18:38:50 -07:00
Jeff Stieler 88fdbae5da
Track when a product is published. (#22788) 2019-02-21 18:34:06 -07:00
haszari 37578aa5d4 Merge branch master into feature/marketplace-suggestions
# Conflicts:
#assets/css/admin.scss
2019-02-22 14:17:20 +13:00
haszari 79e7699ccd JS code-style fixes 2019-02-22 12:54:51 +13:00
haszari 163af89ab3 MIA suggestions data should be cached as a real array, not text 2019-02-22 12:34:43 +13:00
haszari 62d4b5e395 Improve clarity and logic for disabling suggestions:
- Use a filter rather than option
- Use return-early style in function for clarity
- Ensure user has 'install_plugins' capability
2019-02-22 12:31:02 +13:00
Jeff Stieler e41b0985f3
Track Subscriptions connection actions (#22805)
* Track when the Helper connection process is started.

* Track when the Helper connection process is cancelled.

* Track when the Helper connection process has completed successfully.

* Track when the Helper has been disconnected.

* Track when the Helper refreshes subscriptions.
2019-02-21 16:28:15 -07:00
Paul Sealock 24c324ae4a remove phpcs ignore 2019-02-22 12:24:31 +13:00
Paul Sealock 158cf33ded add sanitize_text_field 2019-02-22 12:23:37 +13:00
haszari 48946b3cc6 Cache local woo plugins info rather than slugs-only subset:
- cache woo_plugins object for more general use
- streamline get_local_woo_plugin_slugs using pluck
2019-02-22 12:17:38 +13:00
haszari 20c039d946 removed redundant `get_plugin_slug` 2019-02-22 12:04:22 +13:00
haszari 9a07c70cfc only enqueue marketplace suggestions styles if they are enabled 2019-02-22 12:02:17 +13:00
haszari cda28ceb3a hide empty-state suggestions for mobile too – focus on desktop for v1 2019-02-22 11:57:19 +13:00
Paul Sealock 3f8b3bc1fd _woocommerce_tracks_anon_id to customere data store 2019-02-22 11:49:14 +13:00
Paul Sealock 851a2557f6 Tracks: Add a PHP client 2019-02-22 11:48:17 +13:00