Commit Graph

3940 Commits

Author SHA1 Message Date
Jeff Stieler 02785bc14c Track adding coupons to orders on edit screen. 2019-06-07 11:31:53 +02:00
Jeff Stieler 02a7654532 Fix eslint errors/warnings. 2019-06-07 11:25:39 +02:00
Jeff Stieler 05ad6b260f Track interaction with the order refund UI. 2019-06-06 18:18:46 +02:00
Peter Fabian b22c788081 Added tracks for Recalculate button and edit/remove/save line items. 2019-06-06 18:14:21 +02:00
Jeff Stieler a22c1dabf3 Track when billing or shipping address edit buttons are clicked. 2019-06-06 16:12:09 +02:00
Jeff Stieler 9776cbc2d8 Track order tax column deletion. 2019-06-06 13:18:29 +02:00
Rodrigo Primo 3d12ec4ae2 Remove extra comma to prevent issues with older versions of IE
This commit simply removes an extra comma that was added in
52fced8d7a to prevent issues with older
versions of IE. I found this when running grunt to prepare the 3.6.4
release:

```
Running "jshint:all" (jshint) task

   assets/js/admin/meta-boxes-order.js
    413 |                    user_email : user_email,
                                                    ^ Extra comma. (it breaks older versions of IE)
```

We might want to add jshint to the pre-commit hook and to Travis.
2019-05-27 14:38:54 -03:00
Gerhard Potgieter b2ed079520 Manual orders coupon usage limits by email (#23775)
* Add functionality to wp-admin order to check for coupon usage based on email addresses, similar to how WC_Cart handles this seperately, included unit tests.

* Only do the coupon by email usage check if order is from a guest. Fix issue with unit test.
2019-05-27 11:45:29 -03:00
Claudio Sanches 61346720c7 Allow enforce password strength meter on checkout 2019-05-24 15:27:26 -03:00
Valerie b379739ea6 OBW Shipping: Switch label and zone sections 2019-05-23 22:17:13 -04:00
Valerie db08d64e65 OBW: Fix SCSS linting errors
- remove em unit for line-height
- use numeric font-weight value
- ignore no-descending-specificity for the entire file
- ignore rule for dashicons: font-family-no-missing-generic-family-keyword
- remove unnecessary quotes around dashicons font name
- add quotes around checkbox attribute selector
- remove duplicate visibility declaration
- remove duplicate selector: .wc-setup .wc-setup-actions .button
- remove unknown pseudo selector ::last-child
- move all .wc-setup styles to one place
2019-05-23 22:17:08 -04:00
Claudio Sanches 17da960abe
Merge pull request #23137 from woocommerce/fix/23051
Change coupon amount field type based on coupon type
2019-05-22 21:19:03 -03:00
Claudio Sanches 77879de2cb
Merge pull request #23364 from xristos3490/master
Use high-resolution version of wp spinner
2019-05-22 21:01:50 -03:00
ajayghaghretiya f42b5a5f37 Fix #23784 Shipping zonde UI issue 2019-05-22 11:27:46 +05:30
Claudio Sanches de2a45510b Merge branch 'master' into fix/23003 2019-05-21 17:59:52 -03:00
Rodrigo Primo ec4f131f85 Delete images that are not used anymore
This commit deletes the files assets/images/klarna-white.png and
assets/images/square-white.png. In #23690 we stopped using those two
files so there is no reason to keep them in the repository. Since #23690
was included in a patch release, we opted to keep the images for a
little longer and remove them in a minor release.
2019-05-17 10:19:02 -03:00
Gerhard Potgieter afd7e72c03
Merge pull request #23690 from woocommerce/update/obw-stripe
Update OWB Payment Gateway structure
2019-05-16 18:26:29 +02:00
Gerhard Potgieter 229675c96a
Merge pull request #23603 from Chirag3119/23602
#23602 - I have fixed issue.
2019-05-16 14:05:45 +02:00
Gerhard e131b01133 Modify payment gateway placement, defaults and new logos. 2019-05-13 15:54:44 +02:00
Gerhard 5ceca30f39 CSS changes to remove black backround from old klarna and square logos. 2019-05-13 15:52:48 +02:00
Gerhard b79c02658d Fix eslint for meta-boxes-product-variation.js 2019-05-13 13:36:21 +02:00
Gerhard b77c7fbbd8 Trigger input_changed function when download files removed for variations. 2019-05-13 13:32:30 +02:00
Gerhard Potgieter 984357fb41
Merge pull request #23597 from woocommerce/fix/23509
Added confirmation before saving empty list of countries to sell to.
2019-05-10 10:56:13 +02:00
Gerhard Potgieter 3cfe32d5fe
Merge pull request #23526 from parmarhardip/23505
Solved #23505 WC Setup page UI issue
2019-05-10 10:45:55 +02:00
Gerhard Potgieter 07ea25377a
Merge pull request #23517 from woocommerce/fix/23506
Fix dismiss button in two WC admin notices
2019-05-10 10:37:01 +02:00
Gerhard Potgieter d512752ae9
Merge pull request #23454 from harddy/master
Fixes #23440 : # symbol in Product Category name breaks Reports CSV e…
2019-05-10 10:26:26 +02:00
Gerhard ed0dbed203 Include select2.css in ignore as it is generated via grunt as well. 2019-05-07 10:34:04 +02:00
Gerhard bb2d38db49 Remove all frontend minified js files 2019-05-07 10:20:28 +02:00
Gerhard 411e963b00 Remove all admin minified js files 2019-05-07 10:19:02 +02:00
Gerhard 49095242ab Remove compiled and minified css from git, except select2.css as that is a library 2019-05-07 09:43:43 +02:00
Gerhard 48adde58c7 Revert "Remove compiled and minified CSS from git"
This reverts commit 1850d16d9f.
2019-05-07 09:43:22 +02:00
Gerhard 1850d16d9f Remove compiled and minified CSS from git 2019-05-07 09:42:08 +02:00
Chirag3119 58c3374276 #23602 - I have fixed issue. 2019-05-03 15:02:55 +05:30
Claudio Sanches eba7940228 Fixed jshint errors 2019-05-02 19:20:33 -03:00
Peter Fabian 98edbd2f78 Added confirmation before saving an empty list of countries to sell to in general WC settings. 2019-05-02 21:26:29 +02:00
Peter Fabian e647e4143a Fixed linter problem. 2019-05-02 21:22:36 +02:00
parmarhardip de78e2c958 Solved #23505 WC Setup page UI issue 2019-04-26 17:07:46 +05:30
Rodrigo Primo 00128fec58 Fix dismiss button in two WC admin notices
The dismiss button in the WC admin notices `legacy_shipping` and `no_shipping_methods` was not fully clickable due to a custom CSS applied to them. This custom CSS was used to add a background image to those notices. More specifically, the problem was caused by the use of `position: relative` applied to `<p>` elements. I couldn't find an easy way to fix this problem keeping the custom background image, so I opted to remove it to make the design of all notices identical (besides the background image, the custom CSS also added a few other differences to those to notices like the font size of the notice title).
2019-04-25 14:19:35 -03:00
Mike Jolley 3159663738
Merge pull request #23450 from woocommerce/fix/onsale-z-index
Add z-index to onsale for twentyseventeen
2019-04-24 14:58:28 +01:00
Claudio Sanches 1a403147ca Fixed conflicts in SelectWoo .min files 2019-04-23 16:39:50 -03:00
Hardik Thakkar be40faba61 Fixes #23440 : # symbol in Product Category name breaks Reports CSV export 2019-04-23 18:19:17 +05:30
Gerhard 510d1da1c3 Compile assets 2019-04-23 12:43:28 +02:00
Gerhard 0305b16acd Add z-index to onsale for twentyseventeen 2019-04-23 12:39:56 +02:00
justlevine 78ae91a77d
Add input-classes to preserve user defined classes on change 2019-04-22 19:43:41 +03:00
Mike Jolley 8d5d7b2463 Update from master 2019-04-18 11:56:47 +01:00
Mike Jolley 3aff19afe7 version bump 2019-04-18 11:47:07 +01:00
xristos3490 719e2e6618 Revert permission change 2019-04-18 11:57:30 +03:00
xristos3490 33beee1921 Revert position change 2019-04-18 11:54:23 +03:00
xristos3490 61e16262c9 Use high-resolution version of wp spinner 2019-04-18 11:27:24 +03:00
Mike Jolley 705c305ef4 Revert selectwoo change to fix #23328 2019-04-17 12:01:22 +01:00
Mike Jolley 6579972fd3 Minify 2019-04-16 14:36:37 +01:00
Mike Jolley c65d5a877c Update selectwoo 2019-04-16 14:34:02 +01:00
Mike Jolley 2e96f4ab3f override addCaptionHTMLFn 2019-04-16 14:33:41 +01:00
Rodrigo Primo 004e8390e4 Use jQuery.text() instead of jQuery.append() when displaying selected option in selectWoo 2019-04-16 14:33:22 +01:00
Mike Jolley 4e4e084e0f min 2019-04-16 14:33:09 +01:00
Mike Jolley 0602f45096 Add props using jquery when creating state fields 2019-04-16 14:32:50 +01:00
Mike Jolley 81ac8664a9 Avoid update cart on non-cart screens 2019-04-12 12:14:54 +01:00
Mike Jolley 2f9d6ac669 queue remove from cart 2019-04-12 12:05:07 +01:00
Mike Jolley e9836ef298 Add queue for add to cart requests 2019-04-12 11:58:49 +01:00
haszari 7ede25add7 use admin_url to generate manage suggestions url (support multisite etc) 2019-04-10 12:16:49 +12:00
haszari cd9101bb58 fix target url of 'Manage Suggestions', settings are now in 'Advanced' 2019-04-10 12:02:09 +12:00
haszari 164eca6270 reinstate `displayed` event for suggestions not displayed in metabox:
- add func defining which suggestions contexts are hidden/revealable
- reinstate tracks event when rendering suggestion (for non-hidden
suggestions)
- add check in (context-sensitive) tab click handler to abort if
that context has already fired displayed events
2019-04-10 09:40:06 +12:00
Jeff Stieler 742b3d6b66 Only track product page marketplace suggestions when visible. 2019-04-09 10:23:02 -06:00
Timmy Crawford 0061a21cea
Merge pull request #23242 from woocommerce/add/manage-suggestions-tracks-events
add tracks event for clicks on Manage suggestions link(s)
2019-04-09 07:55:07 -07:00
Mike Jolley 91e21644cf Style descriptions after select2 boxes 2019-04-09 15:02:05 +01:00
Timmy Crawford 19f74deb28
Merge pull request #23244 from woocommerce/update/block-library-rc3
Update @woocommerce/block-library to 2.0.0-rc3
2019-04-08 19:17:14 -07:00
haszari 884474d133 add tracks event for clicks on `marketplace-suggestion-manage-link` 2019-04-09 13:44:15 +12:00
Kelly Dwan 51b1281a5e Update @woocommerce/block-library to 2.0.0-rc3 2019-04-08 19:31:53 -04:00
haszari 0ad914f398 rebuild assets after rebase 2019-04-09 09:59:45 +12:00
haszari 35c1c930f0 ensure suggestions tab icon looks good on smaller screens:
- override line height for <900px consistent with other tabs
2019-04-09 09:58:11 +12:00
haszari ae729ffb80 add 'plugin' dashicon to metabox suggestions tab, for consistency 2019-04-09 09:57:54 +12:00
haszari 8b2d0aeb5d rebuild suggestions css after rebase 2019-04-09 09:13:17 +12:00
haszari 76b1e267ac add margin under the nosuggestions container & reduce top margin 2019-04-09 09:12:35 +12:00
haszari 06de62177c inject manage link into browse-all metabox footer suggestion 2019-04-08 10:00:25 +12:00
Mark Senff 98241d3c7d
Update admin.scss 2019-04-07 09:40:30 -04:00
Mark Senff 2613655854
Compiled admin.css 2019-04-07 09:39:05 -04:00
haszari 2bef464506 disable products list suggestions (rtl styles, almost forgot to commit) 2019-04-05 13:35:56 +13:00
haszari 16974a9409 disable products list suggestions (styles) 2019-04-05 11:46:29 +13:00
haszari e75dd2c5ac disable products list suggestions (js) 2019-04-05 11:41:15 +13:00
David Stone 65c4d7d37c Allow wc_product_gallery to be called without any arguments. 2019-04-01 22:56:54 -06:00
Timmy Crawford 7e17cbfb85
Merge pull request #23158 from woocommerce/fix/jshint-marketplace
Fixed JSHint warnings on marketplace suggestions script
2019-03-27 13:18:33 -07:00
Rodrigo Primo cbf6149cb9
Merge pull request #23069 from woocommerce/fix/23061
Variation stock status field handling (displaying/hiding when needed)
2019-03-27 14:51:26 -03:00
Claudio Sanches 08bb78a817 Fixed JSHint warnings on marketplace suggestions script
Fixes the follow error:

```
assets/js/admin/marketplace-suggestions.js
278 | return ! _.contains( marketplace_suggestions.active_plugins, promo['product'] );
^ ['product'] is better written in dot notation.
```
2019-03-27 13:21:54 -03:00
haszari 6294dd14e2 send empty string instead of "undefined" for optional suggestions props 2019-03-26 09:59:28 +13:00
Mike Jolley 1e0ed1d20c Target only percent 2019-03-25 14:56:27 +00:00
Mike Jolley 86fb87c7d1 Change coupon amount type based on coupon type 2019-03-25 14:55:14 +00:00
Mike Jolley 9907a25ff6 Append notice if variations are invalid 2019-03-25 13:30:04 +00:00
haszari cc78cf040f send additional properties with suggestions tracks events:
- send the context/area
- details about what's promoted (product or otherwise)
- target url
2019-03-22 15:42:30 +13:00
Mike Jolley 308d08f97e Run grunt tasks
Fixes warnings from grunt so files are minified correctly. Copied fixes that went into release branch but not master earlier this week.
2019-03-20 20:08:52 +00:00
Mike Jolley 7c42ac0a29 Also remove hardcoding of attributes on frontend state fields 2019-03-19 16:59:22 +00:00
Mike Jolley f2ca110a46 Add default text using .text() 2019-03-19 16:59:16 +00:00
Mike Jolley 5bb58cc14b Add props via jquery, not direct 2019-03-19 16:59:08 +00:00
Mike Jolley 97f30e7f5c Variation stock status handling 2019-03-18 12:56:49 +00:00
Mike Jolley 81a4b81e7c
Merge pull request #23066 from woocommerce/fix/23055
preventDefault when dismissing store notices
2019-03-18 11:12:26 +00:00
Gerhard 2b90cf845e Pass event as parameter. 2019-03-18 13:09:38 +02:00
Mike Jolley 3070961783 Merge branch 'pr/23047' 2019-03-18 11:02:33 +00:00
Mike Jolley 5d22b3a2eb data check 2019-03-18 11:02:26 +00:00
Gerhard 63f8359491 preventDefault when dismissing store notice, this fixes jumping of page to top when clicking store notices at the bottom of the page. 2019-03-18 10:23:25 +02:00
JeroenSormani 5faab22c77 Merge remote-tracking branch 'upstream/master' into checkout-input-fields 2019-03-16 10:46:49 +01:00
JeroenSormani 772244d82f Recognize all :input checkout fields with ID, not just input (JS) 2019-03-16 10:46:18 +01:00