Commit Graph

239 Commits

Author SHA1 Message Date
Mike Jolley 3aff19afe7 version bump 2019-04-18 11:47:07 +01:00
Rodrigo Primo 20e9701583 Bump selectWoo.full.js version 2019-04-16 14:33:31 +01:00
haszari 7ede25add7 use admin_url to generate manage suggestions url (support multisite etc) 2019-04-10 12:16:49 +12:00
haszari d2ff99189c enqueue translatable string for `Manage suggestions` link 2019-04-08 15:45:41 +12:00
haszari 1ed027bb09 snooze suggestions in product list (for 24 hours) after a suggestion is dismissed 2019-03-06 10:50:22 +13:00
haszari 6caaf80fa6 add a tooltip (Dismiss this suggestion) to clarify dismiss button 2019-03-05 12:20:13 +13:00
haszari 023579cc17 localise default CTA text + code-style improvements:
- else style, fix stale/presumptuous variable names
- localise default CTA text
- use `Learn More` for default, more in line with our latest content
- switch CTA default to button - link style is less common
2019-03-01 14:22:02 +13:00
haszari 0dcc87110b Merge branch feature/marketplace-suggestions into add/product-edit-suggestions
# Conflicts:
#assets/css/admin-rtl.css
#assets/css/admin.css
#assets/css/marketplace-suggestions-rtl.css
#assets/css/marketplace-suggestions.css
#assets/css/marketplace-suggestions.scss
#assets/js/admin/marketplace-suggestions.js
#includes/admin/class-wc-admin-assets.php
#includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
2019-02-27 10:56:13 +13:00
haszari 69e3856188 show/hide suggestions based on which extensions are active:
- was previously based on folder names of installed plugins
2019-02-27 10:13:48 +13:00
Konstantin Kovshenin 86d8065f3b Remove debug code 2019-02-22 12:11:54 +03:00
haszari 4af4ce5783 allow suggestions on orders list + move logic into suggestions class 2019-02-22 10:55:37 +03:00
haszari 3fcdc65283 style orders list suggestions + remove debug code 2019-02-22 20:55:03 +13:00
haszari 24bbb9267e allow suggestions on orders list + move logic into suggestions class 2019-02-22 16:11:34 +13:00
haszari 37578aa5d4 Merge branch master into feature/marketplace-suggestions
# Conflicts:
#assets/css/admin.scss
2019-02-22 14:17:20 +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 a7dd094b3a frontload suggestion data as script data, remove ajax request 2019-02-22 11:23:09 +13:00
haszari ea5d3870ba support global opt-out of suggestions via user option 'woocommerce_allow_marketplace_suggestions' 2019-02-21 15:04:38 +13:00
haszari 71250c30a2 tidy up main marketplace suggestions module, make it a real class +
+ require it for admin only
+ fix issue with retrieving dismissed suggestions user meta value
2019-02-21 12:37:10 +13:00
haszari e53f92ae0d move woo-plugin slugs into a helper routine + cache installed woo plugins in a transient 2019-02-21 11:27:53 +13:00
Mike Jolley 7def966e4f Impoved JSON handling 2019-02-20 12:00:47 +00:00
haszari 4ea4e6591a ensure suggestion dismiss API / nonce is provided to js (missed in last commit) 2019-02-18 11:46:22 +13:00
haszari 42852d7b67 in-product discovery - enqueue styles as separate module 2019-02-13 12:18:39 +13:00
haszari 8b22f4b040 register underscore dependency for marketplace script 2019-02-13 11:30:43 +13:00
haszari 5671a6f7ca in-product discovery - don't promote extensions that are already installed:
- + move suggestions client code to a module, enqueued only on relevant pages
2019-02-13 10:39:27 +13:00
Mike Jolley 12a73d4f8d Clarify how discount is applied 2019-01-11 14:43:32 +00:00
Mike Jolley 5e6405b650 Merge branch 'master' into update/13359 2018-06-15 15:12:12 +01:00
Mike Jolley f633d9a0eb Update remove item notice based on order status 2018-06-15 14:38:35 +01:00
Mike Jolley 35db31db32 Add notice text, fix typos 2018-06-11 10:35:34 +01:00
Mike Jolley 9dfb91835e Merge branch 'master' into update/gdpr-order-cleanup 2018-04-18 11:21:43 +01:00
Mike Jolley 1b34cd4745 Moved settings tabs around to allow for privacy page. 2018-04-12 16:59:42 +01:00
Peter Fabian 0e25f5840a Comment PHPCS fix. 2018-04-04 12:18:53 +02:00
Peter Fabian d920f3dcba PHPCS fixes. 2018-04-04 12:06:01 +02:00
Peter Fabian 1ef47120a8 Link product import/export to import/export capabilities
- show Import/Export Products buttons only if the user has import/export capability
- show Woo importer/exporter under Tools only if user has import/export capability
- require both edit_products and import/export to run those actions
-
2018-04-04 10:30:49 +02:00
claudiulodro b0fa583f6e Enable selecting with tab key on selectWoo 2018-03-15 11:52:07 -07:00
Rodrigo Primo 45a404cc3b Merge branch 'master' into includes-admin-phpcs-fixes 2018-03-05 16:40:39 -03:00
Rodrigo Primo 23b69eba53 Use phpcbf to fix coding standard violations in includes/admin
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Mike Jolley 838a4bbea3 Remove unused variable 2018-03-05 18:35:07 +00:00
Mike Jolley b44183b4cb Move jquery ui styles to assets 2018-02-28 13:02:41 +00:00
claudiulodro c8f418fd45 Only trim strings in multiselect display options 2018-02-27 07:50:33 -08:00
Mike Jolley 832d767a83 Full support for sorting 2018-01-31 20:17:06 +00:00
Mike Jolley 6f6ddf2eeb Prevent uncategorized from being sorted. it's always top of the list. 2018-01-31 13:34:55 +00:00
Caleb Burks cb154b5d40 Add button for copying DL link 2017-12-13 23:57:47 -06:00
claudiulodro 9d2b76da2b Fix some focus issues in selectWoo 2017-11-27 14:34:05 -08:00
Mike Jolley 128b826791 Merge branch 'master' into tweak/order-screens
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
#	includes/admin/class-wc-admin-post-types.php
2017-11-15 13:36:13 +00:00
Mike Jolley cb61e9dd3d WC_TAX_ROUNDING_MODE auto to support switching in tests 2017-11-06 21:25:02 +00:00
Mike Jolley 1f7ecd9fb9 Merge branch 'master' into tweak/order-screens
# Conflicts:
#	assets/js/frontend/checkout.min.js
2017-11-01 16:52:21 +00:00
Mike Jolley ef4c05a393 Merge branch 'pr/17098' 2017-11-01 12:43:35 +00:00
claudiulodro 6cc5d5290c Update to latest selectWoo 2017-10-25 13:51:37 -07:00
Mike Jolley cffcaaf773 wc-admin-order-meta-boxes as a selectwoo dependency 2017-10-12 12:32:36 +01:00