Commit Graph

257 Commits

Author SHA1 Message Date
Claudio Sanches 608cce5091 Fixed typo 2020-06-01 20:54:29 -03:00
Claudio Sanches b4ab40ae34 Adds a prompt to confirm if should run tools in the Status page. 2020-06-01 18:56:38 -03:00
Garrett Hyder fadb5d0704 Merge branch 'privacy-policy-update' of github.com:garretthyder/woocommerce into privacy-policy-update 2020-04-02 13:11:24 -07:00
Garrett Hyder a1ea941947 Updated CSS to use branch-5 instead of branch-5-0 after testing. Updated check to include privacy.css to account for core#43895 which reorganized the privacy files. 2020-04-02 13:10:50 -07:00
Garrett Hyder 99279211c5
Merge branch 'master' into privacy-policy-update 2020-04-01 16:37:41 -07:00
Garrett Hyder 89336488e9 Introduced privacy.scss with custom back-compat shim for handling the ul elements of WooCommerce privacy policy content and ensuring consistent styling with the default WordPress content. 2020-04-01 16:32:54 -07:00
Christopher Allford 4ae1e1f5fc Extracted the repetitive Constants::get_constant( 'WC_VERSION' ) calls where possible 2020-02-04 14:02:57 -08:00
Christopher Allford 1d1413b4ee Replaced direct access of many constants with the Constants library 2020-01-31 22:18:47 -08:00
Christopher Allford 6ad091a9b7 Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages 2020-01-28 21:21:29 -08:00
Rodrigo Primo 62d6b05b58 Fix Generic.Formatting.MultipleStatementAlignment violations
This commit fixes all violations of the Generic.Formatting.MultipleStatementAlignment sniff automatically using phpcbf.
2019-12-20 14:21:08 -03:00
Claudio Sanches 375b989322 Added validation for multiple decimal points 2019-08-02 13:58:02 -03:00
haszari 46f2b98bca add in-app-purchase url params to marketplace suggestions buttons 2019-07-12 13:42:35 +12:00
Claudio Sanches 18b876a95c Always load generate code button
Some improvements in the button label and names
2019-07-09 16:46:17 -03:00
Gerhard 5d604329fc Reword postfix to suffix 2019-07-04 09:07:02 +02:00
Gerhard 9e2ba43d3b Forgot the 9 2019-07-04 09:05:05 +02:00
Gerhard 164f09e9c7 Remove abiguous characters that are dificult to read. 2019-07-04 09:00:15 +02:00
Gerhard 538edcaac0 Make button text translatable. 2019-07-03 22:57:08 +02:00
Gerhard 24fc4948c0 Add generate coupon code button for quick coupon code generation. 2019-07-03 22:48:30 +02:00
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