Kathy Daring
cecfee4f57
to account for <select> fields not being present, make sure ajax doesn't fire if there are no found attributes
2020-05-14 22:28:39 -06:00
Kathy Daring
d1672ff42e
optionally accept a custom array of chosen attributes. This will make it easier for "Swatches" and "Radio" input plugins to interact with the variations script without replacing the entire thing.
2020-05-14 22:27:40 -06:00
Kathy Daring
b93b9092ca
Give plugins an entry point into the VariationForm object
2020-05-14 22:26:13 -06:00
Néstor Soriano
2462877c56
Merge pull request #26410 from woocommerce/fix/message-type-styling
...
Allow different notice types with WC_Admin_Notices
2020-05-14 14:37:12 +02:00
Ron Rennick
db7d86f4f5
fix merge conflicts
2020-05-12 13:46:10 -03:00
Christopher Allford
7f45c56417
Merge pull request #26072 from garretthyder/privacy-policy-update
...
Privacy policy update
2020-05-12 09:33:28 -07:00
Christopher Allford
f41cb52e0c
Merge pull request #26251 from xristos3490/fix-wp-54-styles
...
[WC4.1 RC] WP 5.3 select2 css fixes broken in WP 5.4
2020-05-12 07:39:10 -07:00
Christopher Allford
66dd912ee3
Merge pull request #26430 from helgatheviking/issues/26334-clear-upsells-for-twenty-twenty
...
clear floats for upsells and related products. Closes #26334 .
2020-05-11 20:05:17 -07:00
Christopher Allford
5b427c1155
Merge pull request #25654 from miguelfspinto/patch-2
...
Add option to override element tag container in checkout forms
2020-05-11 20:03:22 -07:00
Christopher Allford
b4f6564cdd
Merge pull request #26132 from BrandynL/show-password
...
bugfix for show password icon and password hint
2020-05-11 19:54:39 -07:00
Christopher Allford
7206365250
Merge pull request #25760 from helgatheviking/issues/25759-conditionally-disable-ajax-add-to-cart
...
Conditionally disable ajax add to cart
2020-05-11 19:46:50 -07:00
Claudio Sanches
3ce6d4f04a
Fixed coding standards
2020-05-11 20:00:23 -03:00
Kathy Darling
9c5e07e5ba
clear floats for upsells and related products. Closes #26334 .
2020-05-08 10:07:41 -06:00
Claudio Sanches
f5e67af29a
Allow use .error and .success classes with .woocommerce-message
2020-05-07 16:12:48 -03:00
Christopher Allford
0d6675b490
Corrected ESLint violations in JS files
2020-05-04 20:49:29 -07:00
Sagar Tamang
ab8ee194c8
Fix: Show password toggle not working in checkout page
2020-04-25 23:37:43 +05:45
xristos3490
dfee6ab2e4
Add body class and change styles
2020-04-22 23:32:26 +03:00
Sagar Tamang
fbdbecbcf6
Hide only the tab content under the tab wrapper
2020-04-23 01:20:21 +05:45
Fernando Marichal
d8e0d956a8
Modified CSS to solve the removing element problem
...
Added a `z-index` to the remove button (`x`) to set the z-order of the element. This solves the removing customer from the selector problem.
Also, the dropdown arrow width was made smaller
2020-04-16 16:01:13 -03:00
BrandynL
b234964a1c
changed append show-password-span to prepend to fix bug with password strength hint
2020-04-08 14:21:00 -04:00
Garrett Hyder
60b7b42f23
Remove support for pre-5.2 WP, also update wp-suggested-text to use .policy-text for better plugin support.
2020-04-07 10:28:22 -07:00
Vedanshu Jain
6d888582e8
Merge pull request #25625 from aryaanlambe/master
...
Addressed issue #25615
2020-04-07 00:05:14 +05:30
Vedanshu Jain
e9bb84e18f
Merge pull request #25627 from bartech/master
...
Fix password visibility toggle (#25624 )
2020-04-06 18:22:07 +05:30
Vedanshu Jain
395ceb7c9d
Merge pull request #25903 from woocommerce/fix-qty-update
...
Trigger change and set val to qty so that it properly updates event h…
2020-04-06 18:07:05 +05:30
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
Yash Kapoor
872b4c135c
Added support for file in checkout ajax.
2020-03-21 12:27:37 +05:30
Christopher Allford
1358cca6d1
Revert "Improved performance when saving variations"
2020-03-17 08:55:09 -07:00
Kathy Daring
319395b0fa
update the add to cart button if ajax request not sent
2020-03-13 18:27:45 -06:00
Kathy Daring
4ed91d9482
quit early if should_send_ajax_request.adding_to_cart triggerHandler is false and trigger a custom event instead
2020-03-13 18:26:37 -06:00
Kathy Daring
6937baccce
Revert "Set adding_to_cart trigger to variable. If false, do not fire ajax. Closes #25759."
...
This reverts commit 38e081e590
.
2020-03-13 18:25:25 -06:00
Boro Sitnikovski
15641bf08f
Trigger change and set val to qty so that it properly updates event handlers
2020-03-12 16:01:30 +01:00
Kathy Daring
38e081e590
Set adding_to_cart trigger to variable. If false, do not fire ajax. Closes #25759 .
2020-02-25 13:12:27 -07:00
vedanshujain
d904786d7d
Support both `.data()` and `.datasore` to have better compatibility
...
PR #24818 replaces data with datastore, however both of them have nothing to do with each other. `.data()` is jQuery specific memory datastore per element, whereas datastore is relatively newer way to store data associated with elements using `data-*` attributes.
There is no reason to not support both.
2020-02-21 15:47:31 +05:30
Miguel Pinto
8ff17ddbd2
Add option to override element tag container in checkout forms
2020-02-13 03:11:44 +00:00
Bartosz Drewniak
84e958dbde
Fix password visibility toggle ( #25624 )
2020-02-10 20:30:39 +01:00
Aryaan Lambe
6a190c2db9
Changed show-password-input.display-password::after hex color
2020-02-10 17:35:32 +00:00
Christopher Allford
6ca7b9fa4a
Merge pull request #25382 from smachi/master
...
Improved performance when saving variations
2020-02-05 13:14:13 -08:00
gerdneuman
687670fa03
Remove stale .order-actions css
...
Since commit d5b86259c5 (diff-035896b9dcfca6957109ff14ed262109L33-R33)
the `.order-actions` css class was refactored to `woocommerce-orders-table__header-order-actions. So the deleted CSS would not match anyway.
2020-02-05 12:03:57 +01:00
Claudio Sanches
9e1738be70
Revert "Eliminate update order AJAX request on checkout page load"
2020-02-04 14:19:52 -03:00
Claudio Sanches
7fe05d46e4
Revert "Remove code that ignored the woocommerce_ship_to_destination option"
2020-02-04 14:18:48 -03:00
Vedanshu Jain
a85dc86978
Merge pull request #25540 from woocommerce/fix/25358
...
Find the correct form element to update.
2020-02-04 12:38:03 +05:30
Peter Fabian
b85d314d5d
Find the correct form element to update.
...
Previously it just found the first one, which made the second checkbox buggy.
2020-01-31 12:45:08 +01:00
Salva Machí
c4a7e19534
Refactory: code style
2020-01-31 09:23:28 +01:00
Claudio Sanches
f4263d8c11
Remove code that ignored the woocommerce_ship_to_destination option
2020-01-29 12:18:14 -03:00
Rodrigo Primo
2e61321e2a
Merge pull request #25289 from rafdizzle86/feature/add-checkout-place-order-success-triggerhandler
...
Add a triggerHandler called "checkout_place_order_success" so plugin developers can hook into AJAX order success event.
2020-01-20 15:25:46 -03:00
Salva Machí
d1dc5f8c20
Bypass inputs without name
2020-01-13 11:31:20 +01:00
Salva Machí
2ca6c12089
Bypass unchecked radio buttons, unchecked checkboxes and disabled inputs
2020-01-13 10:24:12 +01:00
Salva Machí
37d7d498ec
Improved performance when saving variations
...
The serializeJSON function was causing a long delay when preparing the JSON if there are many input fields within the variations (even worse if 3rd party plugins add their own extra fields there too).
2020-01-10 11:38:38 +01:00
BrandynL
608d6628e3
added woocommerce specific css selector to avoid conflicts
2019-12-31 11:10:30 -05:00
Claudio Sanches
ede3a1612c
Fixed missing assets/css/jquery-ui/jquery-ui.min.css
2019-12-27 12:45:22 -03:00
Rafi Yagudin
e03861640e
Add a triggerHandler called "checkout_place_order_success" so plugin developers can hook into AJAX order success event.
2019-12-22 17:06:50 -07:00
Christopher Allford
ed7c891675
Adjusted the checkout email validation regex to be more accurate
2019-12-17 13:18:53 -08:00
Shamali Sulakhe
ec09daeadc
Merge remote-tracking branch 'upstream/master' into issue-24266-solution
2019-12-16 15:11:07 +05:30
Shamali Sulakhe
e5e9d440a4
Merge branch 'master' of https://github.com/shamalisulakhe/woocommerce into issue-24266-solution
2019-12-16 15:08:30 +05:30
Rodrigo Primo
35053e418f
Merge pull request #24818 from roksprogar/master
...
fixed the jQuery data() caching issue
2019-12-13 14:33:09 -03:00
Claudio Sanches
da407ab4e1
Hide Edge native "reveal password" feature
2019-12-10 16:08:49 -03:00
Peter Fabian
df21ad72b9
Applied the branch CSS class at the correct level to apply to select2.
2019-12-10 14:07:50 +01:00
Peter Fabian
c4a4ab429b
Fix the Setup Wizard styling for WP 5.1, 5.2 and 5.3.
2019-12-10 13:55:06 +01:00
Claudio Sanches
104f40c36e
Merge pull request #24281 from woocommerce/fix/24269
...
Handle multiple decimal points
2019-12-09 14:07:29 -03:00
Gerhard Potgieter
8827dfb3a4
Merge pull request #24609 from JohnTendik/feature/24429
...
Added unload event to prevent reload during checkout (#24429 )
2019-12-06 14:57:59 +02:00
Claudio Sanches
6bdb7f7a83
Merge pull request #24271 from woocommerce/update/avoid-ajax-request-on-checkout-page-load-2
...
Eliminate update order AJAX request on checkout page load
2019-12-05 21:09:10 -03:00
Claudio Sanches
5dac360e8a
Merge pull request #24208 from woocommerce/fix/order-screen-tax-calculation-to-honor-rounding-setting
...
Honor tax rounding preference in edit item and refund flows
2019-12-05 20:52:48 -03:00
Gerhard Potgieter
7d39222334
Merge pull request #25162 from woocommerce/fix/24018
...
Hid variable parent products from "Add Products" search on order page
2019-12-05 14:22:43 +02:00
Claudio Sanches
0794ffd285
Fixed coding standards
2019-12-04 17:01:59 -03:00
Claudio Sanches
c567b43098
Added padding to password field like WordPress core does
2019-12-04 17:01:19 -03:00
Claudio Sanches
9a3e6247a9
Merge pull request #24915 from BrandynL/show-password-hover-on-wc-forms
...
Show password hover on wc forms
2019-12-04 16:57:32 -03:00
Claudio Sanches
24c473f932
Merge pull request #24991 from woocommerce/add/new-onboarding-ab-test
...
Onboarding - Show the new experience to 10% of new users
2019-12-04 11:00:23 -03:00
Christopher Allford
d1e25c9118
Added support for excluding certain product types from AJAX product searches
2019-12-03 14:14:47 -08:00
Claudio Sanches
3beb581215
Merge pull request #25074 from woocommerce/fix/24959
...
Added Photoswipe and jQuery-UI CSS minification
2019-12-03 17:59:51 -03:00
Claudio Sanches
329c587c5f
Merge pull request #25103 from woocommerce/fix/24417
...
Fixed media element initialization for product variation descriptions
2019-12-03 15:11:02 -03:00
Rodrigo Primo
fd10af0669
Merge pull request #24822 from bobmulder/patch-1
...
Make variables default to allow overriding
2019-12-02 18:15:49 -03:00
Peter Fabian
278cf53f2f
Merge pull request #25125 from woocommerce/fix/25029.3
...
Fix select2 style and admin screen button alignments in WP 5.3
2019-11-27 17:58:46 +01:00
Peter Fabian
8a0a5805e4
Merge pull request #25085 from woocommerce/fix/24648
...
Improve WC & Twenty twenty compatibility
2019-11-27 17:54:44 +01:00
Peter Fabian
14c94341c0
Checkbox size fixed.
2019-11-27 17:33:00 +01:00
Peter Fabian
db3c43a099
Remove the padding from WP 5.3 as per the original change.
2019-11-27 16:09:49 +01:00
Peter Fabian
3a094b820d
There might be more than 3 related products.
2019-11-27 14:51:54 +01:00
Peter Fabian
8f0fa37033
Fixed the onsale floating away in Firefox.
2019-11-27 14:43:08 +01:00
Peter Fabian
cd57edf0b3
Put back forgotten change.
2019-11-27 14:17:50 +01:00
Peter Fabian
7f18773c7d
Apply CSS changes only to WP 5.3.
2019-11-27 14:11:17 +01:00
Viszt Péter
11e13425dd
Support for WP's built-in color themes for select2 elements
2019-11-27 13:05:37 +01:00
Viszt Péter
6d5d238062
Responsive fixes
2019-11-27 13:05:29 +01:00
Viszt Péter
3d6c3b3551
Fixes for alignment issues on the settings screen introduced by WP 5.3
2019-11-27 13:05:20 +01:00
Peter Fabian
45f04d4dc0
Small padding updates to My Account > Orders table.
2019-11-27 12:29:24 +01:00
Peter Fabian
a20c786661
Addressed feedback from designers.
2019-11-27 12:14:48 +01:00
Peter Fabian
2d1c9444f5
Fix action button centering for WP 5.3.
2019-11-26 22:34:34 +01:00
Peter Fabian
229967f9ea
Moar fixes.
2019-11-26 20:50:29 +01:00
Peter Fabian
096b7136db
Button color changed to highlight for this theme.
2019-11-26 19:24:39 +01:00
Peter Fabian
65d6a4fcbe
Fix shipping form input radios to only show in case there's a selection.
...
Radio inputs in cart style synced with the one on Checkout page.
2019-11-26 19:19:51 +01:00
Peter Fabian
96c13b9cf6
Login form improvements and related error message updates.
2019-11-26 19:18:40 +01:00
Peter Fabian
eebcf1e3be
Select2 update on Cart page.
2019-11-26 18:23:42 +01:00
Peter Fabian
fd1672f49e
Blocks adjustments.
2019-11-26 18:07:49 +01:00
Peter Fabian
a1ce40942e
Select2 adjustments.
2019-11-26 17:00:44 +01:00
Peter Fabian
56c7f3bf97
My Account section updates.
2019-11-26 17:00:27 +01:00
Peter Fabian
361a23f46f
Improved Thank you page styling.
2019-11-26 14:10:09 +01:00
Peter Fabian
cf03de11af
Narrow checkout layout improvements.
2019-11-26 13:32:58 +01:00
Peter Fabian
7c3ec0dd2c
Wide checkout layout improvements.
2019-11-26 13:13:05 +01:00
Peter Fabian
154a5b51ac
Wide checkout layout improvements.
2019-11-26 11:00:55 +01:00
Peter Fabian
095f6a1373
Update cart button width and colors.
2019-11-26 10:02:10 +01:00
Peter Fabian
e82e53bd7d
Fix notice a tag colours.
2019-11-26 09:59:40 +01:00
Peter Fabian
f911b1f4bb
Reverse order only on add to cart message on single product page.
2019-11-26 09:58:52 +01:00
Peter Fabian
2bf2b87250
Store notice and info messages colors fixed.
2019-11-26 09:43:15 +01:00
Paul Dechov
7f65a33fe8
Honor tax rounding preference in edit item and refund flows
...
The default value ('no') of the setting to round taxes at subtotal was not being honored on the Edit Order screen, which resulted in off-by-one discrepancies between the checkout item total and the edited or refunded item total.
This change is to round to the proper precision (w.r.t. the 'woocommerce_tax_round_at_subtotal' setting) for the default value of the form, as well as when the values are dynamically recomputed.
2019-11-25 17:49:43 +05:30
Peter Fabian
44c5500fe5
Make cart great again.
2019-11-24 20:05:28 +01:00
Peter Fabian
7db4abb2a0
Sale sign size was too large between wide and narrow viewport.
2019-11-24 12:20:29 +01:00
Peter Fabian
546b947e23
Center upsells to be in line with related products
2019-11-24 12:19:36 +01:00
Peter Fabian
086c60df39
Last product in shop looks weird with even spacing.
2019-11-24 12:00:19 +01:00
Peter Fabian
aadae25552
Display products in one column in narrow viewport.
2019-11-24 11:57:08 +01:00
Peter Fabian
21124cb8c2
Ordering select styling for narrow viewport--break for ultra narrow.
2019-11-24 11:56:26 +01:00
Peter Fabian
9e7ff01e21
Result count and ordering styling for wide and narrow viewport.
2019-11-24 11:42:10 +01:00
Peter Fabian
3f244bd538
Shop heading/title fix.
2019-11-24 10:03:39 +01:00
Peter Fabian
f3892359f3
Make thumbnail larger, improve shop layout.
2019-11-24 09:51:15 +01:00
Peter Fabian
9baaa88adc
Allow Sale sign to be aligned with the picture.
2019-11-23 19:26:33 +01:00
Peter Fabian
3740e253b7
Action buttons in related products switched to correct size.
2019-11-23 19:18:04 +01:00
Peter Fabian
27e844f5bd
Make the Sale marker font and padding same as buttons.
2019-11-23 19:15:03 +01:00
Peter Fabian
1e3ad2a146
Fix review form for user who isn't logged in.
2019-11-23 19:11:48 +01:00
Peter Fabian
47c69cac37
Bottom padding is unnecessarily huge.
2019-11-23 19:08:19 +01:00
Peter Fabian
fc3aadbee9
Fix related products view in narrow view.
2019-11-23 19:07:33 +01:00
Peter Fabian
76f28e57c9
This breaks the new review form/title alignment.
2019-11-23 19:06:43 +01:00
Peter Fabian
c9fbc0ae4e
Improved styling of product gallery.
2019-11-23 18:43:45 +01:00
Peter Fabian
fe348bb70f
Product gallery margin fix for wide and narrow viewports.
2019-11-23 18:42:45 +01:00
Peter Fabian
f1bb497b66
Make thumbnails in the gallery affect parent's height and wrapping
2019-11-23 18:41:28 +01:00
Peter Fabian
2cda8d4cfe
Small layout enhancements.
2019-11-23 18:18:15 +01:00
Peter Fabian
04453768c0
Breadcrumbs adjustment for various widths.
2019-11-23 18:17:19 +01:00
Peter Fabian
22e7570f1e
Align the Add to cart button height with the quantity input.
2019-11-23 18:16:32 +01:00
Peter Fabian
5d4619f7d6
Don't break button text mid-word.
2019-11-23 17:31:35 +01:00
Peter Fabian
e5fb7bee6d
Mid-width layout adjustment.
2019-11-23 17:31:10 +01:00
Christopher Allford
1984a11ff2
Added media element initialization to variation description audio/video shortcodes
2019-11-22 14:08:31 -08:00
Peter Fabian
c15a3d525a
Updated related products layout.
2019-11-22 19:35:05 +01:00
Peter Fabian
943ea231e7
Tidy up product tabs.
2019-11-22 18:56:06 +01:00
Peter Fabian
3e9a862450
Added offset between product information and tabs.
2019-11-22 17:30:34 +01:00
Peter Fabian
b681720aa4
Harmonize styling for simple products Add to cart button with variable products.
2019-11-22 17:13:58 +01:00
Peter Fabian
b58bdf7c1d
Add styling for 'added to cart' notices:
...
- make spacing even
- center the text in the middle with some flex tricks
2019-11-22 16:57:42 +01:00
Peter Fabian
cf377a643a
Make the title/price spacing work for Products without rating and short description.
2019-11-22 16:56:31 +01:00
Peter Fabian
962e9292b1
Margin for clear variations link to give it some space.
2019-11-22 16:22:57 +01:00
Peter Fabian
b22a216bb1
Make the button symmetrical.
2019-11-22 16:19:33 +01:00
Peter Fabian
17e98afc2a
Style product meta information.
...
Make it less prominent, offset it further away from the button.
2019-11-22 16:17:23 +01:00
Peter Fabian
e188620232
Add padding to the variation picker table to make it same size as quantity picker.
2019-11-22 16:13:05 +01:00
Peter Fabian
301b976cfa
Make Add to cart button same size as quantity input.
2019-11-22 16:12:15 +01:00
Peter Fabian
177f720f1b
Let the price have some more space from the bottom as well.
2019-11-22 15:54:43 +01:00
Peter Fabian
572ac52cb3
Make the product rating a bit less prominent, let the price have some more space.
2019-11-22 15:51:42 +01:00
Peter Fabian
9c74bf79ea
Rather than setting the background in CSS, use the color picked in the
...
customizer.
This also fixes the background in the block editor and tinymce.
2019-11-22 15:37:54 +01:00
Peter Fabian
ae2ebdb933
Main image size needs to correspond to settings in the PHP script.
2019-11-22 14:56:44 +01:00
Peter Fabian
fa48cd2aa7
Make single product page layout wider and enlarge breadcrumb offset.
2019-11-22 12:51:39 +01:00
Peter Fabian
0798098e05
Override default beige background to make the design more versatile and clean.
2019-11-22 12:36:23 +01:00
Justin Shreve
1fabf2f145
Handle PR feedback
2019-11-21 12:23:05 -05:00
Justin Shreve
18925f2218
Adds an a/b test for the new onboarding experience
2019-11-21 12:00:04 -05:00
Christopher Allford
c2bc312e97
Added Photoswipe and jQuery-UI CSS minification
2019-11-19 10:40:28 -08:00
Peter Fabian
b1f0098cb5
Fixed stylelint issues (except for no-descending-specificity).
...
There is also one invalid unit for line-height, duplicate class declaration (but it's related to different styling areas, so left it there).
2019-11-19 19:32:45 +01:00
Peter Fabian
08d0b17678
Base the styling on Twenty Nineteen.
2019-11-19 19:13:10 +01:00
Peter Fabian
bc04b8f45b
Added basic declaration for WC support to Twentytwenty.
2019-11-19 17:58:16 +01:00
Vedanshu Jain
05a89e849e
Merge pull request #24227 from woocommerce/update/replace-checkout-fragment-only-on-change
...
Cache checkout fragments and update DOM on change only
2019-11-15 18:49:58 +05:30
Shamali Sulakhe
64fbb197d7
Removed patch file and merged changed with ver 3.9.0-dev
2019-11-15 17:58:54 +05:30
BrandynL
3ed614389f
change event to click for better mobile device support
2019-10-28 09:56:20 -04:00
BrandynL
925bad1faf
convert array instance to shorthand syntax
2019-10-28 09:35:39 -04:00
BrandynL
6ed7278678
add password hover visibility on password inputs with javascript
2019-10-27 16:56:42 -04:00
Tarek
6ed3927c35
Update admin.scss
2019-10-16 00:54:12 +02:00
Vedanshu Jain
aabf38d831
Merge pull request #24832 from woocommerce/fix/24731
...
Fix CSS for WP 5.3
2019-10-15 17:47:52 +05:30
Peter Fabian
53295b9f08
Make the action buttons on edit order screen vertically aligned to the input element to the left.
2019-10-15 13:04:54 +02:00
Peter Fabian
e314f1f233
Aligned the address fields with other elements on the first page of OBW.
2019-10-15 12:14:38 +02:00
Peter Fabian
d0af99a278
Make the checkbox square again!
2019-10-15 12:12:35 +02:00
Peter Fabian
af8fd207c8
Fixed select2 size on order list screen (filter at the top).
2019-10-15 11:55:41 +02:00
Peter Fabian
06921ba80c
Moved the rules to the respective structure within the previous definitions.
2019-10-15 11:28:02 +02:00
Peter Fabian
b7235431b3
Move the shipping form style to the file where it's actually loaded.
2019-10-15 11:05:51 +02:00
Peter Fabian
53fb13d704
Make the buttons in meta box on edit variation screen aligned with the inputs.
2019-10-15 10:57:59 +02:00
Peter Fabian
a6de7b9e9f
Make the selects in variation edit screen fill the entire row, thus also align with other elements on the page.
2019-10-15 10:55:02 +02:00
Peter Fabian
95635b2800
Make the edit order address email field align with the rest (select2 dimensions changed).
2019-10-15 10:53:36 +02:00
Peter Fabian
83ad2c4993
Make the shipping fields vertically aligned with the billing fields in Twenty Nineteen.
2019-10-15 10:51:35 +02:00
Peter Fabian
93277da7b1
Align select sizes in other contexts.
2019-10-15 10:49:37 +02:00
Peter Fabian
98b03d7fde
Keep the edit order select fields smaller to fit with the rest of the form.
2019-10-15 10:47:24 +02:00
Peter Fabian
e68499616b
Increase the height of select and select2 elements in WC settings to fit with larger input fields.
2019-10-15 10:42:19 +02:00
Peter Fabian
c2d36c823f
Removed the line height to prevent text descenders being cut off in selects/dropdowns ( #24731 ).
2019-10-15 10:39:36 +02:00
Bob Mulder
c4ba9c094b
Make variables default to allow overriding
2019-10-14 11:40:08 +02:00
Rok Sprogar
8f6cb9d058
fixed the jQuery data() caching issue
2019-10-12 19:04:46 +02:00
Mehidi Hassan
3f8e3fdb2d
Add space before parentheses of if condition for JS consistency
2019-10-10 23:37:56 +06:00
Claudio Sanches
9851b1f0f3
DRY
2019-10-03 21:19:52 -03:00
Adam Jones
0f7398d607
Fixing an issue with an on-body click triggering on pages that do not contain the referenced span.description element. Wrapped it in an if statement to make sure element exists beforehand.
2019-10-02 15:32:36 +01:00
Vedanshu Jain
4fc18d4940
Merge pull request #24739 from woocommerce/fix/24610
...
Make $subtext more darker to improve accessibility
2019-10-02 15:49:21 +05:30
Rodrigo Primo
e2afc162c4
Merge pull request #24296 from woocommerce/fix/23900
...
Restored Photoswipe custom styles
2019-10-01 16:57:44 -03:00
Claudio Sanches
064a1657a7
Make $subtext more darker to improve accessibility
2019-10-01 15:30:05 -03:00
Gerhard
6d09d0efcf
Fix OWB sell in person vertical alignment
2019-09-30 19:31:50 +05:30
Gerhard
97d3874e14
Fix OBW country vertical alignment
2019-09-30 19:31:50 +05:30
Gerhard Potgieter
ee1b438c3c
Merge pull request #24517 from woocommerce/fix/24511
...
Control categories export field based on export type
2019-09-30 15:39:21 +02:00
Gerhard Potgieter
dec4a381fe
Merge pull request #24720 from ChromeOrange/master
...
Allow select fields in credit card form to maintain value when the checkout form refreshes
2019-09-30 14:36:16 +02:00
Gerhard Potgieter
27be925552
Merge pull request #24406 from kolyasapphire/add-applied_coupon-trigger-to-checkout
...
Add 'applied_coupon' trigger to checkout.js
2019-09-30 13:59:37 +02:00
Andrew Benbow
d339452bce
Update checkout.js
2019-09-30 10:24:00 +01:00
Andrew Benbow
f8b268d3a0
Update checkout.js
2019-09-30 10:22:08 +01:00
Vedanshu Jain
436ee5de3a
Merge pull request #24680 from woocommerce/update/tracking-opt-in
...
Update usage tracking UI, default to opted-out.
2019-09-30 09:14:56 +05:30
Gerhard Potgieter
e8d617156d
Merge pull request #24665 from miguelfspinto/patch-4
...
Enable append hashes on custom events (like ajax requests)
2019-09-27 13:35:48 +02:00
Vedanshu Jain
aa665446e5
Merge pull request #24476 from yash-webkul/patch-15
...
Update wc-setup.scss
2019-09-27 00:32:16 +05:30
Vedanshu Jain
80aafe0b65
Merge pull request #24327 from yratof/yratof-fix-tabledisplay
...
Fix - Issue on shipping rates tbody due to grammarly fix
2019-09-26 21:56:55 +05:30
Rodrigo Primo
7fbe47772b
Merge pull request #24339 from woocommerce/fix/24128
...
Remove `blur` event to keep focus on select box.
2019-09-25 20:57:13 -03:00
Justin Shreve
0c3fc315c5
Update tracking opt-in UI.
2019-09-24 14:26:21 -04:00
Miguel Pinto
fff09c9811
Enable append hashes on custom events (like ajax requests)
2019-09-23 16:04:31 +01:00
johntendik
0a9563dacd
fixing indentation
2019-09-10 20:43:13 -04:00
johntendik
366681038f
added unload event to prevent reload during checkout
2019-09-10 20:23:10 -04:00
Rodrigo Primo
9277a0e260
Merge pull request #24277 from woocommerce/fix/24231
...
Fix position of ID section in mobile rows actions
2019-09-05 10:03:48 -03:00
Claudio Sanches
08e9d0bdc9
Control categories export field based on export type
2019-08-27 16:11:05 -03:00
kolyasapphire
faf05c00c2
Renamed the trigger
...
Changed to applied_coupon_in_checkout to avoid unexpected behaviour
2019-08-23 16:15:57 +03:00
Yash Kapoor
509a14590f
Update wc-setup.scss
...
Fixed CSS for .location-input
2019-08-23 12:19:45 +05:30
kolyasapphire
fe3395cd6b
Add 'applied_coupon' trigger to checkout.js
...
To check it’s working correctly:
add_action( 'woocommerce_after_checkout_form', 'alert_on_coupon');
add_action( 'woocommerce_after_cart', 'alert_on_coupon');
function alert_on_coupon() { ?>
<script type="text/javascript">
jQuery(document).ready(function($) {
$( document.body ).on( 'applied_coupon', function(event,code){
alert(code);
});
});
$( document.body ).trigger( 'applied_coupon', [ data.coupon_code ] );
2019-08-14 19:09:18 +03:00
vedanshujain
970271d0b7
Remove `blur` event to keep focus on select box.
...
This removes the `blur` call so that focus on select box is maintained for accessibility. This call was added way back in 2012 but from what it looks like, it can be removed safely.
2019-08-06 22:08:00 +05:30
Andrew Lazarus
2596e6ecda
Removed whitespace
2019-08-05 11:29:39 +02:00
Andrew Lazarus
3805794baf
Fix - Issue on shipping rates tbody, toby set to inherit, should be table-row-group
2019-08-05 11:23:04 +02:00
Paul Dechov
e15e51868c
Remove accidental jQuery references in favor of $
2019-08-02 18:10:47 -04:00
Claudio Sanches
2b0fc6f50a
Added sanitization for number of decimal points in JS
2019-08-02 14:02:33 -03:00
Claudio Sanches
375b989322
Added validation for multiple decimal points
2019-08-02 13:58:02 -03:00
Gerhard
02f9c7c8ff
Use strict checking
2019-08-02 14:55:17 +02:00
Gerhard
34e883ce81
Apply patch by @dtwist
2019-08-02 14:19:37 +02:00
Hardik Thakkar
27689ba0ca
Fixed #23870
2019-08-02 14:10:39 +02:00
Claudio Sanches
243b435139
Restored Photoswipe custom styles
2019-08-01 17:49:03 -03:00
Rodrigo Primo
972f7a49e2
Fix position of ID section in mobile rows actions
...
This commit fixes the position of the ID section in mobile rows actions
when displaying the list of products in the admin.
2019-07-31 16:21:19 -03:00
Paul Dechov
429161e1c6
Add logic to initialize checkbox based on whether shipping address is different
2019-07-30 18:42:51 -04:00
Paul Dechov
264556be91
Call ship-to-different-address change handler manually in lieu of event trigger
...
Avoids unnecessary update_checkout call on initialization.
2019-07-29 22:39:19 -04:00
Paul Dechov
4a94037c52
Replace update_checkout request on checkout page load with updated_checkout event
2019-07-29 22:32:56 -04:00
Paul Dechov
c3076209c7
Cache checkout fragments and only update DOM on change
2019-07-24 18:00:29 -04:00
Peter Fabian
2f19640ce1
Fixed jshint problems.
2019-07-15 12:59:06 +02:00
Gerhard Potgieter
7c0d0251ee
Merge pull request #23883 from woocommerce/add/new-edit-order-tracks
...
Track more events on the edit order screen for future design validation.
2019-07-15 09:36:01 +02:00
Gerhard Potgieter
aa706fd68f
Merge pull request #24075 from woocommerce/add/in-app-purchase-params
...
Add in-app-purchase params to extensions screen & suggestions
2019-07-15 09:18:51 +02:00
Claudio Sanches
60c18ce544
Merge pull request #23067 from woocommerce/pr/23043
...
Allow matching of "any" attributes in find_matching_product_variation…
2019-07-12 12:40:53 -03:00
Rodrigo Primo
6e3f22fd6c
Tabs should be used for indentation instead of spaces
2019-07-12 10:57:18 -03:00
Rodrigo Primo
0809c96168
Merge branch 'master' into fix/23283
2019-07-12 10:55:43 -03:00
haszari
3e7da11c30
fix logic for new tab check on edit product page
2019-07-12 13:42:36 +12:00
haszari
5bac98fd80
open marketplace suggestions links in same tab to simplify experience:
...
- except when inconvenient - when editing a product
2019-07-12 13:42:36 +12:00
haszari
46f2b98bca
add in-app-purchase url params to marketplace suggestions buttons
2019-07-12 13:42:35 +12:00
Claudio Sanches
c63cd802aa
Merge pull request #23957 from woocommerce/feature/feature-plugin-packages
...
Include external feature plugins as packages
2019-07-10 15:47:48 -03:00
Claudio Sanches
5b8694e92a
Merge pull request #23915 from woocommerce/fix/23544
...
[Setup] Make PostCode optional as few countries don't use them
2019-07-10 15:45:32 -03:00
Gerhard Potgieter
9ca6dad11e
Merge pull request #23433 from justlevine/master
...
Preserve State field input classes when selecting a Country.
2019-07-10 15:31:39 +02:00
Mike Jolley
c928188831
Update from master
2019-07-10 12:57:02 +01:00
Gerhard
98c24b1090
Merge branch 'master' into pr/23043
2019-07-10 10:34:52 +02:00
Claudio Sanches
d18c3f8ed1
Merge pull request #24069 from woocommerce/add/coupon-code-generator
...
Add generate coupon code button
2019-07-09 16:50:24 -03: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
Rodrigo Primo
53df16b2b5
Merge pull request #23781 from woocommerce/try/obw-changes
...
OBW: Switch shipping labels and shipping zones placement
2019-07-09 16:06:38 -03:00
Claudio Sanches
ce65195b57
Fixed admin.scss
2019-07-09 12:41:42 -03:00
Claudio Sanches
32996d2fdd
Merge branch 'master' into pr/23043
2019-07-09 12:39:40 -03:00
vedanshujain
e2577b3a06
[Setup] Make PostCode optional as few countries don't use them
...
Some countries like Hong Kong, UAE etc don't use post codes, in which case this commit will make the field optional.
If its not known whether a country uses postcode or not, it will be required.
2019-07-09 14:37:03 +05:30
Gerhard
7038c73ab4
Merge branch 'master' into update/exclude-compiled-assets-from-git
2019-07-09 10:57:40 +02:00
Claudio Sanches
16c5c39725
Fixed missing assets/css/admin.css
2019-07-08 17:59:50 -03:00
Claudio Sanches
b54997d9f5
Merge branch 'fix/23221' of https://github.com/senff/woocommerce into senff-fix/23221
2019-07-08 17:55:07 -03:00
Claudio Sanches
adc543f8f1
Merge pull request #24058 from woocommerce/add/wc-admin-obw-recommended
...
OBW: Add wc-admin to recommended page
2019-07-08 16:56:49 -03:00
Claudio Sanches
da99bc8ca0
Merge branch 'master' into feature/feature-plugin-packages
2019-07-08 14:33:21 -03:00
Rodrigo Primo
a26f38f3a1
Merge pull request #23133 from woocommerce/update/23111
...
If variations are missing prices, show notice
2019-07-04 10:08:41 -03:00
Gerhard Potgieter
91c939b963
Merge pull request #23997 from woocommerce/fix/obw-plugin-install-highlight-size
...
OBW: Adjust size of plugin install highlight to avoid overlap
2019-07-04 09:18:28 +02:00
Gerhard
5d604329fc
Reword postfix to suffix
2019-07-04 09:07:02 +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
Mark Senff
0fee3daa67
Delete admin.css
2019-07-03 07:29:37 -04:00
Paul Sealock
b65ce3dd26
OBW: Add wc-admin to recommended page
2019-07-03 13:02:07 +12:00
Rodrigo Primo
68f5ccabc1
Merge pull request #23811 from woocommerce/feature/23807
...
Allow enforce password strength meter on checkout
2019-06-27 11:39:00 -03:00
Peter Fabian
9671810159
Added event to track `Add item(s)` button click.
2019-06-27 13:22:19 +02:00
Peter Fabian
7b03fe62f3
Added event to track `Add fee` button click and Cancel in the prompt.
2019-06-27 13:21:37 +02:00
Peter Fabian
90c0954d21
Renamed add_fee event to added_fee.
...
Makes it consistent with e.g. coupon addition tracks.
2019-06-27 13:20:03 +02:00
Peter Fabian
7ef4cb637a
Fixed spacing issue.
2019-06-27 13:19:24 +02:00
Gerhard Potgieter
698625ce1d
WP & PHP Upgrade Notices ( #23975 )
...
This commit introduces a banner that notifies and prompts users to upgrade their WordPress and/or PHP if they are outdated and not part of the minimum required versions going into WooCommerce 3.7.
* Add backward compatible function wp_check_php_version for sites running WP version smaller than 5.1
* Refactor some messaging, move widget to top of WC dashboard widgets, add buttons linking out to WP pages with instructions.
* Add missing variables for adding nag class
* Add styling to dashboard widget
* Rework css to use exclamation instead
* Clean up widget, make sure no widget is registered when dismissed. Add banner that links to widget and make it dismissable.
* Update constant to reflect minimum requirements.
* Don't show banner. Fix undefined variable.
* Remove dashboard widget
* Update banner link to docs site
* Add link to docs page where instructions live for updating
* Change button text
* Add UTM params to docs link
* Moved the msg logic from template to php file.
* Bail out early when PHP and WP versions are ok.
* Added missing translation functiog
* Extracted notice function from reset_admin_notices.
To follow suit with other similar functions in the file.
* Synchronize fetching of WP version.
* Removed unused functions.
* Corrected indent.
* Reduce number of variables and fixed coding standards
* Updated wording of the notice.
2019-06-26 14:09:20 -03:00
Mike Jolley
a0a58cfb15
update from master
2019-06-26 15:26:47 +01:00
Paul Dechov
421392019e
OBW: Adjust size of plugin install highlight to avoid overlap
2019-06-24 21:50:15 -04:00
Claudio Sanches
29d630b099
Merge pull request #23789 from ajayghaghretiya/fix#23784
...
Fix #23784 Shipping zonde UI issue
2019-06-24 12:40:08 -03:00
Mike Jolley
8b41b03f2e
Remove blocks files
2019-06-21 12:23:41 +01:00
Peter Fabian
930fd983cb
Merge branch 'add/new-edit-order-tracks' of https://github.com/woocommerce/woocommerce into add/new-edit-order-tracks
2019-06-07 14:59:11 +02:00
Peter Fabian
34c6933586
Added more params to the tracks.
2019-06-07 14:58:55 +02:00
Jeff Stieler
1bd9a7d9a7
Use a consistent tracks event naming scheme.
2019-06-07 12:31:42 +02:00
Peter Fabian
083c616f18
Added tracks to record when order note is added in edit order screen.
2019-06-07 12:04:38 +02:00
Peter Fabian
b880159dbe
Added tracks to record when products, fees, taxes or shipping are added to order in edit order screen.
2019-06-07 11:39:03 +02:00
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
Kelly Dwan
3f5aaad117
Update @woocommerce/block-library to 2.0.0-rc1
2019-03-15 13:06:38 -04:00
Mike Jolley
6329f61d08
Show refunded items in customer facing screens
2019-03-15 12:54:40 +00:00
Mike Jolley
f90f0203b5
Grunt dev
2019-03-15 12:21:51 +00:00
Mike Jolley
ff3292cd8e
Mobile styles
2019-03-14 18:22:56 +00:00
haszari
657b78ada2
fix up built js & missing slug prop fix after rebase
2019-03-14 15:01:45 +13:00
haszari
ca6bf0f18a
reminify marketplace-suggestions.js to pick up upstream changes
2019-03-14 14:56:35 +13:00
haszari
fef1b0f7e0
show nice marketplace linkout when there are no product metabox suggestions
2019-03-14 14:56:32 +13:00
haszari
e3d891868d
hide product metabox suggestions markup when there are no suggestions
2019-03-14 14:55:42 +13:00
haszari
f02ba1d727
fix style for tracks prop `suggestion_slug` (lower_case not camelCase)
2019-03-14 14:08:46 +13:00
popala
023d9fe9ed
Fixed "e is null" error on checkout page
...
Fixed "e is null" on checkout page which caused the order panel to be disabled.
2019-03-13 19:37:14 +01:00
Mike Jolley
b88d7109e7
Merge pull request #22966 from woocommerce/add/product-list-suggestions-hiatus-after-multi-dismiss
...
put products list suggestions on hiatus (month) after multiple dismissals
2019-03-13 14:32:23 +00:00
Rua Haszard
56ebaad549
Revert "prioritise targeted suggestions in products list:"
2019-03-13 14:50:06 +13:00
Mike Jolley
a5e956e7bf
Merge pull request #22980 from woocommerce/fix/22968
...
Pass user ID when adding coupons via admin
2019-03-12 13:22:40 +00:00
Mike Jolley
53a7de5244
Merge pull request #22948 from woocommerce/fix/22940
...
Correctly show state fields after posting the edit address form
2019-03-12 13:20:32 +00:00
Gerhard Potgieter
269ab2dde0
Merge pull request #22967 from woocommerce/try/prioritise-extension-targeted-suggestions
...
prioritise targeted suggestions in products list:
2019-03-12 12:27:58 +02:00
Mike Jolley
d8f665bb89
Merge pull request #22936 from woocommerce/fix/21814
...
Setup Wizard: Add keyboard events for custom input toggles
2019-03-12 09:28:37 +00:00
Mike Jolley
0877e7d8f7
Merge pull request #22954 from woocommerce/add/blocks-rest-api
...
Merge blocks branch: add 8 product blocks and related API endpoints
2019-03-11 15:18:20 +00:00
Mike Jolley
a774a33ba7
Merge pull request #22891 from woocommerce/fix/22673
...
Loop attribute panels to disable options rather than look at values
2019-03-11 13:26:15 +00:00
Mike Jolley
143068332d
Pass user ID when adding coupons via admin
2019-03-08 16:14:49 +00:00
haszari
e4ea021907
prioritise targeted suggestions in products list:
...
- sort list so "targeted" (`show-if-active`) extensions are first
- don't randomly choose suggestion for product list, always choose
first one
2019-03-08 13:48:00 +13:00
haszari
8704a32302
put products list suggestions on hiatus (month) if user dismisses 5:
...
- track the number of dismissals of products list suggestions in a cookie
- if this exceeds 5, don't show any product list suggestions
- set that cookie to expire in one month – suggestions will resume then
2019-03-08 13:11:00 +13:00
Mike Jolley
5492369fe9
Merge pull request #22857 from woocommerce/feature/marketplace-suggestions
...
Feature/marketplace suggestions
2019-03-07 16:39:14 +00:00
Jeffrey Pearce
5155179d65
Refactors jQuery output of html elements to use selectors instead of strings.
2019-03-07 10:14:42 +00:00
Kelly Dwan
dddbd29d87
Update @woocommerce/block-library to 2.0.0-beta
2019-03-06 18:33:06 -05:00
Kelly Dwan
fdefe5feac
Update with latest changes from block-library
2019-03-06 17:32:29 -05:00
Kelly Dwan
8555c415d2
Update with latest featured plugin block code
2019-03-06 17:28:52 -05:00
Kelly Dwan
ea1b7d9730
Pull in changes from woo blocks PR
2019-03-06 17:28:51 -05:00
Kelly Dwan
148b605dbe
Update copying process, copy over minified files
2019-03-06 17:28:49 -05:00
Kelly Dwan
3c57620520
Remove the `.min` renaming step
2019-03-06 17:28:47 -05:00
Kelly Dwan
2b5ab03a2d
Add the built files
2019-03-06 17:28:46 -05:00
haszari
4676491c88
snooze product-list suggestions for 2 days after dismiss (was 1)
2019-03-07 10:06:52 +13:00
Mike Jolley
6f983fb4eb
Merge pull request #22802 from woocommerce/fix/22643
...
Use taxable address when adding/removing coupons
2019-03-06 16:49:34 +00:00
Mike Jolley
406364fefb
Tidyup unused vars
2019-03-06 15:33:20 +00:00
Mike Jolley
023217c03d
Remove required when changing to optional
2019-03-06 15:18:27 +00:00
Mike Jolley
9b6ded2cef
Custom init event for state fields
2019-03-06 15:11:39 +00:00
Mike Jolley
e1ff1bfae9
Update from master
2019-03-06 12:37:24 +00:00
Mike Jolley
2bb39a4c79
Update from master
2019-03-06 12:08:07 +00:00
haszari
f944da3eac
refresh products list suggestion colspan when screen options change
2019-03-06 14:44:58 +13:00
haszari
d0fd15ea8c
Ensure product list suggestion works with different screen options
...
- calculate product-table suggestion colspan using number of columns
- was previously hard-coded
2019-03-06 14:08:14 +13:00
haszari
37cff0c7ca
fix jshint issue (const => var) + minify marketplace-suggestions
2019-03-06 13:57:18 +13:00
haszari
1ed027bb09
snooze suggestions in product list (for 24 hours) after a suggestion is dismissed
2019-03-06 10:50:22 +13:00
Mike Jolley
1adf9bd69d
Handle enter/space keyboard events
2019-03-05 14:23:28 +00:00
Mike Jolley
a04d23ae88
Order checkboxes last
2019-03-05 14:23:17 +00:00
Mike Jolley
f707eeda3e
Update from master
2019-03-05 13:31:14 +00:00
haszari
6caaf80fa6
add a tooltip (Dismiss this suggestion) to clarify dismiss button
2019-03-05 12:20:13 +13:00
haszari
e441b4a279
minify marketplace-suggestions js file
2019-03-05 12:13:14 +13:00
haszari
1c53614297
fix jshint warnings
2019-03-05 10:54:06 +13:00
haszari
8b0672f6cf
streamline product edit metabox when no suggestions are visible:
...
- hide title (animate slide up)
- trigger this after dismiss, so we're not left with a heading
and no content
2019-03-05 10:38:11 +13:00
haszari
06b5b89336
fade in product list table-row suggestions, so it's less jarring
2019-03-05 10:15:18 +13:00
haszari
4154ae55a0
increase margin under empty-state suggestions so they aren't hard-aligned to bottom
2019-03-02 09:29:21 +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
fb4e574511
remove unused function arg `slug`
2019-03-01 08:40:47 +13:00
Rua Haszard
57cb4b2beb
Merge pull request #22871 from woocommerce/add/marketplace-suggestions-wccom-endpoint
...
Add/marketplace suggestions wccom endpoint
2019-03-01 07:17:27 +13:00
Mike Jolley
caf3ff61e7
Merge pull request #22218 from woocommerce/add/fb-in-obw
...
Add Facebook to Recommended Step in OBW
2019-02-28 16:45:41 +00:00
Mike Jolley
a01ae4d0d6
Compress images
2019-02-28 16:32:50 +00:00
Mike Jolley
a43a873a13
Update placeholders
2019-02-28 16:27:57 +00:00
haszari
56ab6d231e
improve margins & line-spacing in metabox copy
2019-02-28 11:08:25 +13:00
haszari
49aaa9f08b
align product metabox `Get more options` with other tab image labels (regressed)
...
- fix css selector
- also removed redundant margin-top rule
2019-02-28 10:58:30 +13:00
haszari
dbe80f826a
fix margins & ensmallen heading in product table suggestion
2019-02-28 10:52:16 +13:00
haszari
3eaba598dc
remove outer border in metabox suggestions, lighten separators
2019-02-28 10:14:00 +13:00
haszari
ef31fcf012
align product metabox `Get more options` with other tab image labels
2019-02-28 10:05:02 +13:00
Mike Jolley
5a48c41209
Loop panels to disable options rather than look at values
2019-02-27 14:38:11 +00:00
haszari
8ce8cdde6e
update suggestions JS code to use `active` (WCCOM endpoint has updated schema)
2019-02-27 16:16:49 +13:00
haszari
243f885a13
randomly select suggestions to display, to improve visibility of each one
2019-02-27 12:29:45 +13:00
haszari
467f8cd1dc
marketplace suggestions styling polish:
...
- opt-in to shared CTA/button styles for orders empty state
- tweak table banner icon margin for perfect centering
- ensure CTA div doesn't get squished and break layout \(product metabox\)
- ensure title+copy is vertically centered in table banner \(remove last margin\)
2019-02-27 11:40:24 +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
Gerhard Potgieter
cc857be201
Merge pull request #22811 from woocommerce/add/orders-list-suggestions
...
Show marketplace suggestions in orders list empty state
2019-02-26 18:22:02 +02:00
haszari
dfae7cb9b5
automatically add utm params to suggestion urls, based on context
2019-02-26 15:48:35 +13:00
haszari
1446424ba4
hide product metabox suggestions tab (etc) when there are no suggestions
2019-02-25 16:27:49 +13:00
haszari
97524aab16
Merge branch 'feature/marketplace-suggestions' into add/product-edit-suggestions
...
# Conflicts:
# includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+ fix linter errors / warnings
2019-02-25 16:12:24 +13:00
haszari
6a571dc353
fix regression introduced in merge - visibleSuggestions renamed
2019-02-25 16:06:50 +13:00
haszari
1aff17f0b9
Merge branch 'feature/marketplace-suggestions' into add/orders-list-suggestions
2019-02-25 16:05:04 +13:00
haszari
c1a2821410
limit maximum of 5 suggestions displayed in any given context
2019-02-25 16:00:47 +13:00
haszari
ae3f397855
allow suggestions in multiple contexts:
...
- fix regression when hiding footer
- rename `visibleSuggestions` for clarity
2019-02-25 15:59:11 +13:00
haszari
1df74d504e
allow suggestions to target multiple contexts:
...
If an array of context strings is specified in json, the suggestion will
be available for display in all specified contexts.
2019-02-25 15:30:00 +13:00
haszari
27195c3834
hide footer, screen options when show suggestions in orders empty state
2019-02-25 13:46:43 +13:00
haszari
d89b38cb3f
fix up products empty state styles now row-padding is balanced
2019-02-25 11:49:08 +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
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
3fcdc65283
style orders list suggestions + remove debug code
2019-02-22 20:55:03 +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
79e7699ccd
JS code-style fixes
2019-02-22 12:54:51 +13:00