Commit Graph

4209 Commits

Author SHA1 Message Date
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
haszari cda28ceb3a hide empty-state suggestions for mobile too – focus on desktop for v1 2019-02-22 11:57:19 +13:00
haszari 9ed6f591d3 use updated tracks API wcSettings.recordEvent => wcTracks.recordEvent 2019-02-22 11:38:55 +13:00
haszari a7dd094b3a frontload suggestion data as script data, remove ajax request 2019-02-22 11:23:09 +13:00
Mike Jolley e830bd739a Use taxable address when adding/removing coupons 2019-02-21 16:23:20 +00:00
haszari f2deef861e prefix AJAX actions to reduce chance of collision 2019-02-21 15:56:26 +13:00
haszari b4a36dc620 document all js methods 2019-02-21 15:51:41 +13:00
haszari eaa1108df6 fix client side data access after change to `wp_send_json_success` 2019-02-21 10:50:43 +13:00
haszari e37583bb2b remove dismissed suggestions from DOM so styling updates accordingly 2019-02-21 09:52:37 +13:00
Mike Jolley fc1a274fcb Check for hover after timeout 2019-02-20 17:22:43 +00:00
Mike Jolley 76b7a4facf cs 2019-02-20 16:37:40 +00:00
Mike Jolley 1caeb43baf Update photoswipe 2019-02-20 11:49:55 +00:00
haszari f6299cc512 send tracks events when suggestions are displayed, clicked or dismissed:
- Using temporary stand-in tracks API until PR is merged.
- Also fixed logic so table-view suggestion is not "displayed" if
  empty-state suggestions are shown.
2019-02-20 15:33:57 +13:00
haszari b3ca321669 fix size of products empty state icon in IE - use pixel sizing 2019-02-20 14:49:38 +13:00
haszari 4c1caf9171 display icon images in suggestions + styling tweaks for header/footer 2019-02-20 11:46:06 +13:00
haszari 42e026140a hide inline products list suggestion on mobile (can't get the styling right) 2019-02-20 10:29:41 +13:00
Mike Jolley a37d8ae385 SCSS mailchimp color change missing 2019-02-19 11:22:13 +00:00
Mike Jolley 5397e4ec1a
Merge pull request #22329 from woocommerce/enhancement-manual-stock-changes/21754
Product stock adjustments with manual order line item changes
2019-02-19 10:00:49 +00:00
haszari 21b0be7ef6 share styles and markup for prpducts list suggestion 2019-02-19 16:31:14 +13:00
haszari 4f7145cf49 fix button regression in product table suggestion 2019-02-19 15:09:11 +13:00
haszari bf31d8b052 mobile styles for products empty state suggestions 2019-02-19 14:56:34 +13:00
haszari a03b9abcfb allow dismiss by default + hide products empty-state box if no suggestions 2019-02-19 13:56:49 +13:00
haszari 2b884861b7 add linkout icon to link-style suggestion CTAs (for empty products footer link) 2019-02-19 13:55:46 +13:00
haszari cc51dd4376 style products empty header/footer + support link style:
- added link-text to trigger link style for suggestion CTA, button is now opt-in
- made suggestion rendering more generic, should display something sensible if there are missing attribs
- all CTA links/buttons open in new tab via target attr
2019-02-19 12:22:06 +13:00
haszari 9cd81c371e add header & footer to products empty suggestions box 2019-02-19 11:54:58 +13:00
haszari c7b630b1f8 update products list empty state (incl. suggestions) to latest designs 2019-02-19 10:46:44 +13:00
Mike Jolley 5bb5ae6265 Update from master 2019-02-18 16:54:24 +00:00
Mike Jolley afe219d854 Select an option vs state 2019-02-18 11:49:46 +00:00
Mike Jolley 4672a47d67 Update from master 2019-02-18 11:41:05 +00:00
haszari 012da5da24 support dismissing empty-state suggestions + polish dismiss styling:\n- hover style for x\n- disable border/underline active state inherited from <a>\n- layout styling for empty-state suggestions, button on right\n- make test data more like mockup (no category recommendation in list) 2019-02-18 15:55:26 +13:00
haszari d395967019 hide suggestions immediately after user clicks x (using jQuery.fadeOut) 2019-02-18 11:48:18 +13:00
Mike Jolley 34998caa43 Add time to fragment request 2019-02-15 17:35:44 +00:00
Mike Jolley e830b42ba7 Remove old safari code 2019-02-15 17:10:17 +00:00
haszari bf9f14c0b6 ajax api for dismissing specific marketplace suggestions (first cut) 2019-02-15 14:52:24 +13:00
haszari 9a7a9ad045 update styling of products table suggestion + add dismiss button 2019-02-15 13:30:53 +13:00
haszari 4ad413ea83 move hard-coded suggestion data to woo API (WCCOM api coming soon) 2019-02-14 15:47:32 +13:00
haszari 64c71cb724 fill out products empty state suggestions:
- add back product suggestions data
- hide page admin elements, focus layout on onboarding
- bulk-fix indentation in admin.scss
- reinstate default BlankState styling (overrides are intended for products only, accidentally overwrote)
2019-02-14 14:05:07 +13:00
haszari 8db91f44c0 styling products empty state OBW style, including existing add/import + suggestions 2019-02-14 12:16:59 +13:00
haszari c9f9d01f4b ensure list suggestions render correctly with optional url/copy attributes 2019-02-14 11:21:58 +13:00
haszari aa31d6f708 use attributes + DOM (not html snippet) for products empty state suggestions 2019-02-14 11:16:39 +13:00
haszari 9388b033fc use attributes & DOM api for table row banner render - html snippet is too flexible/risky 2019-02-14 10:53:25 +13:00
haszari 165a462fa2 style marketplace suggestions list banner 2019-02-13 14:49:28 +13:00
haszari e7adedb262 fix issue with footer overlapping empty products layout - hide footer 2019-02-13 14:35:56 +13:00
haszari c615fd6549 style marketplace suggestions 2019-02-13 14:32:36 +13:00
haszari aca9930b4b style marketplace cards grid in empty products screen 2019-02-13 13:54:05 +13:00
haszari 429908158e remove use of ES6 features in marketplace suggestions (const, =>) 2019-02-13 13:34:25 +13:00
haszari 87c0f7c92f fix reference to data global (lint) 2019-02-13 12:19:42 +13:00
haszari 42852d7b67 in-product discovery - enqueue styles as separate module 2019-02-13 12:18:39 +13:00
haszari 8151f28c79 in-product discovery - show items if companion extension(s) installed 2019-02-13 11:33:37 +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 b70471448c Merge fix/21858 2019-02-12 16:19:32 +00:00
Mike Jolley f669428bdc
Merge pull request #22652 from woocommerce/fix/22507
Dump `max-width` in notices
2019-02-12 16:13:05 +00:00
Mike Jolley 4b8e808a97
Merge pull request #22664 from woocommerce/fix/21788
BlockUI on order form submit
2019-02-12 16:11:08 +00:00
haszari 2c24a567d0 in-product discovery - render suggestions in products list 2019-02-12 16:24:37 +13:00
Mike Jolley 8404b644da
Merge pull request #22645 from woocommerce/update/21963
Add notice hash to store notice cookie
2019-02-08 13:05:03 +00:00
Gerhard Potgieter d0898e6a80
Merge pull request #22629 from woocommerce/performance/22260
Use `get` instead of `load` on cart page
2019-02-06 15:47:17 +02:00
Mike Jolley 3948e9f83c BlockUI on order form submit 2019-02-05 11:40:10 +00:00
Mike Jolley fa9465a2cb novalidate order review form 2019-02-05 11:23:47 +00:00
Mike Jolley 5f5272ba2e
Merge pull request #22541 from woocommerce/pr/20830
Init cart widget when added to sidebar via the customizer
2019-02-05 10:39:29 +00:00
Mike Jolley 7760571985 Dump max width in notices 2019-02-04 16:07:51 +00:00
Mike Jolley 1928f34699 Add notice hash to store notice cookie
Closes #21963
2019-02-04 13:18:09 +00:00
Mike Jolley 893b33973c Merge branch 'fix/22147' 2019-02-04 13:05:40 +00:00
Mike Jolley 25a92b1d92 Feedback 2019-02-04 12:51:20 +00:00
Mike Jolley a5d62b83a8 Merge branch 'enhancement/woocommerce_display_product_attributes' 2019-02-04 11:25:13 +00:00
Mike Jolley 34dbf96847
Merge pull request #22410 from woocommerce/remove/simplify-commerce
Remove simplify commerce gateway from core
2019-02-04 11:23:23 +00:00
Mike Jolley 24bc59a025
Merge pull request #22443 from woocommerce/fix/21705
Placeholder resizing improvements
2019-02-04 11:13:49 +00:00
Mike Jolley 8fde07153a Use get instead of load 2019-02-01 14:30:42 +00:00
Mike Jolley 20b65a421c Merge branch 'pr/21454' 2019-01-31 16:30:27 +00:00
Mike Jolley e299da75b0 Update styling for remember me 2019-01-31 16:28:54 +00:00
Mike Jolley db36dea3d0
Merge pull request #22590 from woocommerce/fix/22395
Added more types of input to styling in admin/variations.
2019-01-31 13:10:32 +00:00
Ron Rennick c45dc09687 only set shipping cost required when method is enabled 2019-01-29 14:24:08 -04:00
Peter Fabian ad06f62669 Added more types of input to styling in admin/variations. 2019-01-28 19:32:21 +01:00
Mike Jolley 9b655c0ba7 Use hasSelectiveRefresh 2019-01-23 21:29:55 +00:00
Mike Jolley 6cfd5db528
Merge pull request #22524 from woocommerce/fix/22499
Option "Used for variations" should not appear for non-variable product types
2019-01-23 20:22:49 +00:00
Mike Jolley 3a94fc6d00 Introduce steps and cleanup variable names for clarity 2019-01-23 18:29:33 +00:00
Mike Jolley 01696d92b0 Add comments and round to 10 2019-01-23 17:34:51 +00:00
Mike Jolley f96d59ac2b Merge branch 'pr/21043' 2019-01-23 15:16:50 +00:00
Mike Jolley 987a24afdc Timeout param 2019-01-23 15:16:40 +00:00
Rodrigo Primo d08745e041 'Used for variations' checkbox should only appear for variable products
When editing product attributes, the checkbox 'Used for variations' should only be displayed when editing a variable product. The code has checks in place to control the display of this checkbox when adding an attribute or when loading the product attributes, but it was missing a check when saving product attributes which is added in this commit.
2019-01-22 15:13:02 -02:00
Rodrigo Primo a713e63502 Fix eslint errors 2019-01-22 15:04:43 -02:00
Mike Jolley 4d4d34a2d1
Merge pull request #22514 from woocommerce/update/mailchimp-branding-setup-wizard
Updates Mailchimp branding in setup wizard
2019-01-22 12:39:24 +00:00
Gareth Allison e54b1dabbd Changes tile background color to gold
As per Mailchimp's color guidelines on https://mailchimp.com/about/brand-assets/
2019-01-21 16:33:46 +02:00
Gareth Allison e60dca5c3b Adds updated Mailchimp avatar image 2019-01-21 16:33:08 +02:00
Eric Defore 148e308d38 Have ProductGallery object utilize arguments that are passed into it. 2019-01-18 12:20:13 -05:00
Eric Defore c1c8a88920 Add before and after Events for Product Galleries on Product Single 2019-01-18 12:08:38 -05:00
Mike Jolley ac29165892
Merge pull request #22459 from woocommerce/fix/21770
Prevent selected payment method description box from sliding up
2019-01-17 13:35:22 +00:00
Claudiu Lodromanean c2c7cbeccb
Merge pull request #22444 from woocommerce/fix/22119
Fix checkout field locales on first load
2019-01-16 09:39:42 -08:00
Ron Rennick 5bba703723 update trigger name to `wc_cart_emptied` 2019-01-16 10:36:35 -04:00
Mike Jolley 2ea7e4fb6a woocommerce_display_product_attributes filter 2019-01-16 12:25:19 +00:00
Ron Rennick 3fae170c14 notify script plugins that the cart was emptied 2019-01-15 14:44:28 -04:00
Mike Jolley 35a01fd06a Update select placeholders on locale change 2019-01-15 15:50:55 +00:00
Mike Jolley ec1d44c742 Prevent selected payment method description box from sliding up
Closes #21770
2019-01-15 12:14:55 +00:00
Mike Jolley f6fe8d1abc Priority should use integers
#22227
2019-01-14 14:58:00 +00:00
Mike Jolley d83c9c5f5b When page is ready, make fields update for all country fields 2019-01-14 14:44:54 +00:00
Mike Jolley 3922d186e0 trigger event when ready (wc_address_i18n_ready) 2019-01-14 14:44:14 +00:00
Mike Jolley 198fdce1bf Larger placeholder to allow more resizing 2019-01-14 13:54:01 +00:00
Mike Jolley 9d381d456b Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
Rodrigo Primo 5117a65638
Merge pull request #22116 from woocommerce/fix/refund-hash-reload/22115
Strip hash from URL that prevents reload on refunds
2019-01-09 18:20:37 -02:00
Claudiu Lodromanean e27ef52875
Merge pull request #20667 from woocommerce/fix/20658
Make product edit form aware publish was pressed
2019-01-09 12:17:38 -08:00
Rodrigo Primo b115a7587f
Merge pull request #21966 from woocommerce/add/21955
Filter out buttons from edit order row click
2019-01-09 17:23:29 -02:00
Mike Jolley 83543a9232 Handle publish and save post buttons by storing ID of button pressed 2019-01-09 16:31:53 +00:00
Mike Jolley 679af01f8d Merge branch 'fix/20658' of https://github.com/woocommerce/woocommerce into fix/20658 2019-01-09 16:11:14 +00:00
Mike Jolley 6dd984e0cf Merge branch 'master' into fix/20658 2019-01-09 16:09:19 +00:00
Mike Jolley a4925ff916 Loop to match text versions of attribute names and avoid problems with entities 2019-01-08 14:08:27 +00:00
Mike Jolley 038a1a103a
Merge pull request #21496 from kukac7/feature/img-optim
images, svgs optim
2019-01-08 11:25:10 +00:00
Mike Jolley b7e5c1b047
Merge pull request #21679 from amielucha/master
Fixes typos in class comments.
2019-01-08 11:11:42 +00:00
Claudiu Lodromanean 2e1e77f6f0
Merge pull request #22330 from woocommerce/fix/21708
Add special button style for connect button
2019-01-07 11:40:31 -08:00
Tiago Noronha f4243c6a08
Merge pull request #22225 from faisal-alvi/fix-22211
Fix-22211
2019-01-07 12:33:52 +00:00
Faisal Alvi 1999254456 pull-22225 suggestions applied 2019-01-07 16:01:52 +05:30
Mike Jolley 58c3731030 Add special button style for connect button 2019-01-03 14:41:09 +00:00
Mike Jolley 247fd3f610 Update notes with response 2019-01-03 13:37:32 +00:00
Mike Jolley 5ef45f51f6 Stock handling in ajax class only 2019-01-03 12:23:49 +00:00
Faisal Alvi 9df0cb7e0a fix-22267 v2.0 2018-12-21 13:17:27 +05:30
Ron Rennick 0456cb7323 update second instance of href reassign in cart.js, props @joshuatf 2018-12-19 11:19:47 -04:00
Ron Rennick dc41135a05 use reload() instead of reassigning href property 2018-12-19 11:16:59 -04:00
Joshua Flowers dc12b7d2d6 Use reload instead of assigning href to window.location 2018-12-17 10:27:20 +08:00
Faisal Alvi d8c926a243 Fix-22211 2018-12-14 15:46:25 +05:30
Joshua Flowers a16eba8543 Strip hash from URL that prevents reload on refunds 2018-12-04 10:11:40 +08:00
Claudiu Lodromanean 2e157427fc
Merge pull request #21970 from woocommerce/feature/twenty-nineteen
Enhanced compatibility with Twenty Nineteen
2018-11-27 09:13:14 -08:00
Tiago Noronha 0f343256c2 Multiple styling fixes 2018-11-23 00:59:33 +00:00
Tiago Noronha 99ab28a886 Remove border and add handheld styling to pagination 2018-11-19 14:40:43 +00:00
Tiago Noronha a0d2a4d219 Style pagination to match Twenty Nineteen 2018-11-19 14:35:34 +00:00
Gerhard 0227150f75 Filter out buttons as well from the onRowClick event on the orders table. 2018-11-19 10:26:54 +02:00
Tiago Noronha 4e01bf18dd Twenty Nineteen basic styling 2018-11-16 16:38:05 +00:00
Tiago Noronha 3168f13d9d Skeleton for Twenty Nineteen integration 2018-11-16 16:38:05 +00:00
claudiulodro 3fc51354a4 Decode variation html dimensions 2018-11-06 17:10:20 -05:00
Claudio Sanches f0f56c12c9 Fixed bug that stopped to display api keys notices 2018-11-02 10:21:18 -07:00
Sławek Amielucha 7f9f341334
Reduce the file size by merging two selectors 2018-11-02 17:06:30 +01:00
Gerhard ba90c531c7 Remove the change trigger as that is causing other issues as per ##20640 2018-10-31 07:29:35 +02:00
Gerhard c0acd73d31 Trigger a country select on page load to ensure the address-i18n is fired on first page load. 2018-10-29 13:39:54 +02:00
Bóta Dávid 81e2c50b39 images, svgs optim 2018-10-04 11:57:05 +02:00
claudiulodro 24d2948299 Recompile assets 2018-09-28 08:28:45 -07:00
Claudiu Lodromanean c9e716507f
Merge pull request #21446 from woocommerce/fix/21383
Do not disable empty attribute values in the attribute dropdown
2018-09-27 11:40:37 -07:00
Claudiu Lodromanean c8bab001a9
Merge pull request #21410 from rnaby/fix/21395
Fix for issue #21395
2018-09-27 10:46:23 -07:00
Gerhard Potgieter ee1c667645 jshint fixes 2018-09-27 08:07:42 +02:00
Gerhard Potgieter 711c9bdcd4 Update JS to conform to WP coding standards 2018-09-27 08:05:44 +02:00
Claudiu Lodromanean 84965af5e3
Merge pull request #21391 from netzkollektiv/master
fixes an issue with additional payment select fields having 'disabled…
2018-09-26 09:23:24 -07:00
Dominik Krebs 0af4941187 corrected code style 2018-09-26 16:10:37 +02:00
Gerhard Potgieter f637cf3005 After saving attributes check that empty attributes are not disabled in the dropdown. 2018-09-26 12:25:34 +02:00
Khan M Rashedun-Naby f979b43b25 Fix for issue #21395 2018-09-21 14:36:04 +06:00
Paul Dechov 5eea29eb31 OBW: Disable (not hide) payment email input when opted-out 2018-09-20 16:48:43 -04:00
Claudiu Lodromanean 9fe91bd2a1
Merge pull request #21247 from nikhilbarar/21214
Fix for 21214 - Regions text field not in line.
2018-09-19 08:44:49 -07:00
Dominik Krebs 64399b65b9 fixes an issue with additional payment select fields having 'disabled selected' 2018-09-19 13:35:00 +02:00
Nikhil Barar efe110c19b 21214 - Adding padding for better alignment of selected options.. 2018-09-15 00:21:54 +05:30
claudiulodro 8fd34983a5 Recompile assets 2018-09-12 08:28:32 -07:00
Claudiu Lodromanean 065d516871
Merge pull request #21301 from ediamin/fix/update_quick_edit_logic_to_show_hide_stock_qty_and_backorder_fields
Update quick edit logic to show/hide Stock qty and Backorders fields
2018-09-11 09:43:04 -07:00
Claudiu Lodromanean ada946b424
Merge pull request #21231 from woocommerce/fix/jsstyle
Fix js linter errors
2018-09-11 09:24:19 -07:00
Gerhard Potgieter 36cf6d64b8 Check the post status and set the hidden field based on that before submitting. 2018-09-10 11:23:12 +02:00
Nikhil Barar 9b4169bf93 Changes as requested related to 21214. 2018-09-08 21:14:11 +05:30
Edi Amin 39b7450cd6 Update quick edit logic to show/hide Stock qty and Backorders fields 2018-09-08 21:39:09 +06:00
Claudiu Lodromanean dbbf31c99d
Merge pull request #21234 from woocommerce/update/obw-shipping-step-fulfillment
OBW: Remove live rates from shipping step, promote label printing.
2018-09-06 10:31:02 -07:00
Nikhil Barar 9407f0c8c7 Fix for 21214 - Regions text field not in line. 2018-09-01 18:55:14 +05:30
Paul Dechov a486f50cfd OBW: Avoid form breaking due to email validation on hidden field 2018-08-31 11:36:41 -04:00
Jeff Stieler 412a3fb17f OBW: render the product dimension and weight units selection inline in a sentence. 2018-08-30 15:36:08 -06:00
Jeff Stieler fde57ab5d9 OBW: recommend either WCS or ShipStation (based on location) for label printing on shipping step. 2018-08-30 15:36:08 -06:00
Jeff Stieler 23e0174c19 OBW: add information about live rate extensions to shipping step.
This commit also refactors the script/style enqueueing in the wizard.
2018-08-30 15:36:08 -06:00
claudiulodro 4d6ab678c1 Fix linter errors 2018-08-30 09:56:26 -07:00
Jeff Stieler 8a29945531 OBW: move Jetpack+WCS requirement description to plugin install info area at bottom of payment step. 2018-08-29 16:47:46 -06:00
Diego b8d2f548f3 Added triggering of JS events on "recalculate" action on Edit Order page
* Ref. https://github.com/woocommerce/woocommerce/issues/21181
2018-08-24 09:56:20 +01:00
Peter Fabian 735162eb2a
Merge pull request #21053 from woocommerce/fix/21033
Vertical align admin order action buttons
2018-08-17 11:28:35 +02:00
Claudiu Lodromanean 809ecb08a0
Merge pull request #21022 from woocommerce/fix/20878
Change caption of image in full screen when variation is selected.
2018-08-16 12:32:30 -07:00
claudiulodro 4231fa26d5 Vertical align buttons 2018-08-14 10:30:39 -07:00
Marco Almeida f34288c2eb
Update admin.scss
Fix time field width
2018-08-14 16:20:04 +01:00
Florian Ludwig 1d76102395 Adds error event trigger for erroneous fragment retrieval (timeout or server error) 2018-08-14 12:53:04 +02:00
Florian Ludwig 6f03a5fe72 Adds timeout to cart fragment ajax call 2018-08-14 12:24:33 +02:00
Marco Almeida c81017f183
Update admin.scss
Fix extra line
2018-08-09 15:57:26 +01:00
Peter Fabian 23623323b7 Change caption of image when variation is selected. 2018-08-09 14:23:29 +02:00
Marco Almeida 804342d3a2
Additional HTML5 INPUT types css for settings
On class-wc-admin-settings.php output_fields(), WooCommerce implements rendering for several HTML5 INPUT types, to be used on WooCommerce settings pages, but there's no CSS styling for most of them. This change implements the missing CSS declarations. Those can be useful for other plugins using the WooCommerce settings fields API.
2018-08-08 17:44:46 +01:00
Claudiu Lodromanean 11911aa2ea
Merge pull request #20870 from woocommerce/add/export-products-based-on-category
Add category filter to product export functionality.
2018-08-08 08:51:58 -07:00
Peter Fabian caa978cf2d Use jQuery for scrolling to element for all browsers to avoid special cases. 2018-08-06 19:56:09 +02:00
Gerhard Potgieter d050f6af50
Merge pull request #20801 from LuigiPulcini/LuigiPulcini-patch-1
Adding product data to `removed_from_cart` event
2018-07-25 14:14:14 +02:00
LuigiPulcini 79cda7c2bc
Update add-to-cart.js 2018-07-23 08:11:21 -07:00
Gerhard Potgieter 865f724187 Add category filter to product export functionality. 2018-07-23 11:59:01 +02:00
Peter Fabian a8eac15e5b Regenerate CSS after master merge. 2018-07-21 22:17:54 +02:00
Peter Fabian d9202ed6be Merge branch 'master' into fix/20797-2 2018-07-21 22:06:46 +02:00
Gerhard Potgieter 3065eec515 Add a margin to the bestseller widget product title to avoid it overlapping the sparkline when the title is long. 2018-07-19 12:26:45 +02:00
Peter Fabian a5e4dc9dcc Removed 100% width on images on single product page for 2017 theme 2018-07-16 17:16:54 +02:00
LuigiPulcini bca7bfe29c
Adding product data to `removed_from_cart` event
Adding `$thisbutton.data()` to the arguments sent by the `removed_from_cart` event.
This would help developers easily detect which product has just been removed and alter their theme/plugin accordingly.
2018-07-14 16:11:16 +02:00
Claudio Sanches 2a1940aeba Fixed notice when variation does not exists on frontend
Closes #20752
2018-07-11 22:02:56 -03:00
Claudiu Lodromanean 9792f3399e
Merge pull request #20706 from woocommerce/fix/20705
Fixed Webhooks and REST API Keys list table and settings
2018-07-06 09:26:44 -07:00
Claudiu Lodromanean 8ba3c4e2e5
Merge pull request #20655 from woocommerce/fix/20640
Removed unnecessary form change trigger on load of checkout page.
2018-07-06 09:13:06 -07:00
Claudio Sanches 5d3653b8ca Fixed message when save REST API keys 2018-07-04 16:13:25 -03:00
Peter Fabian 35401d9aab Merge branch 'master' into fix/20640 2018-07-02 11:33:49 +02:00
Mike Jolley cb693a5ccd Make form aware publish was pressed 2018-06-29 13:58:47 +01:00
Mike Jolley 7f593835a4 Reveal row when adding 2018-06-29 12:11:33 +01:00
Claudiu Lodromanean 920eb551a6
Merge pull request #20644 from woocommerce/update/dynamic-placeholders
Make placeholders resize based on aspect ratio settings
2018-06-28 12:01:28 -07:00
Peter Fabian 11da1898b8 Removed unnecessary form change trigger on load of checkout page. 2018-06-28 18:12:04 +02:00
Mike Jolley ab6e9ce568
Merge pull request #19496 from valdrinkoshi/master
Avoid using eval in add-to-cart-variation.js
2018-06-27 18:43:00 +01:00
Mike Jolley 6b68c15309 Placeholder image styling 2018-06-27 18:13:39 +01:00
Mike Jolley f0673d7387 Merge branch 'feature/product-custom-tables-supporting-changes' of https://github.com/woocommerce/woocommerce into feature/product-custom-tables-supporting-changes 2018-06-27 16:34:31 +01:00
Mike Jolley 4ba14da963 Fix reload issue 2018-06-27 16:34:28 +01:00
Rodrigo Primo b6e73f528b Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-06-15 14:56:31 -03:00
valdrinkoshi 6e602636eb use wp.template when it's too hard 2018-06-15 10:05:00 -07:00
valdrinkoshi b2eb217eb8 handle interpolate escaped 2018-06-15 08:17:17 -07:00
valdrinkoshi 22d53675e6 avoid using wp.template in onFoundVariation 2018-06-15 08:08:34 -07:00
Mike Jolley 5e6405b650 Merge branch 'master' into update/13359 2018-06-15 15:12:12 +01:00
Mike Jolley 04e304921a Show stock based on querystring var 2018-06-15 15:11:07 +01:00
Mike Jolley a1bd9ab2ae Input type number with correct width 2018-06-15 14:32:30 +01:00
Claudiu Lodromanean b1d8add833
Merge pull request #20534 from woocommerce/fix/20525
Force logging table to wrap long columns
2018-06-14 09:15:54 -07:00
Mike Jolley 6152aea961
Merge pull request #20506 from woocommerce/refactor/20420
Tokenization form refactor
2018-06-14 16:22:45 +01:00
Mike Jolley 0c819cbd08
Merge pull request #20432 from woocommerce/fix/20399
stopPropagation when payment method selected
2018-06-14 15:26:40 +01:00
Mike Jolley 9afb57ae65 Force logging table to wrap long columns 2018-06-14 14:02:36 +01:00
Claudiu Lodromanean 424826fd41
Merge pull request #20441 from billerr/master
shipping zone settings: fixed title for shipping methods…
2018-06-13 08:41:23 -07:00
Mike Jolley 01a3e359c3 Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-06-13 10:18:38 +01:00
Mike Jolley cfe1cb5c16 Handle login and change events 2018-06-12 15:32:01 +01:00
Mike Jolley e5192cfeff Fix :checked 2018-06-12 15:01:22 +01:00
Mike Jolley ac2d76ea53 Refactor tokenization form 2018-06-12 14:57:55 +01:00
Claudiu Lodromanean 4ba04cfc4e
Merge pull request #20481 from woocommerce/update/20444
Remove personal data confirmation notice
2018-06-11 09:56:26 -07:00
Mike Jolley 588be3a780 merge master 2018-06-11 13:46:04 +01:00
Mike Jolley 663f7c4a76 click event fallback 2018-06-11 13:16:02 +01:00
Mike Jolley 5b70639994 Prompt when removing personal data 2018-06-11 11:00:29 +01:00
Mike Jolley 35db31db32 Add notice text, fix typos 2018-06-11 10:35:34 +01:00
Bill Gouveros c68dc400ef shipping zone settings: fixed title for shipping methods w/o settings 2018-06-09 02:29:07 +03:00
Mike Jolley 52854b7690 Add qty to order via modal, include stock qty in formatted name display for reference 2018-06-08 16:18:32 +01:00
Mike Jolley ce8eabc4a5 Include qty and reduce stock field on add item modal 2018-06-08 12:19:14 +01:00
Bill Gouveros c8dbdc4f81 shipping zone settings: fixed title for shipping methods without settings 2018-06-08 00:43:06 +03:00
Claudiu Lodromanean f958dce0b5
Merge pull request #20417 from mikeyarce/rtl-fix-price-filter-widget-label
Fix label for price filter for RTL sites
2018-06-07 10:37:14 -07:00
Mike Jolley 8261cffaa7 Remove bulk actions 2018-06-07 18:01:21 +01:00
Mike Jolley d74db270b8 stopPropagation when payment method selected 2018-06-07 15:41:25 +01:00
Mike Jolley 4df54b4e53 Merge branch 'master' 2018-06-07 11:24:12 +01:00
Mike Jolley 86993a4f70 Merge branch 'master' into update/13624 2018-06-07 10:30:52 +01:00
Mikey Arce ea9f8ad9c5 Fix label for price filter for RTL sites
Previously the numbers were fixed to go LTR which is the proper direction for RTL sites when dealing with numbers - but the `price` label was still RTL. This now makes it all LTR.
2018-06-06 14:15:02 -07:00
Mike Jolley ab6d5a8f75 re-init zoom to fix case #20367 2018-06-05 13:22:35 +01:00
Mike Jolley 001a2e3b98 Merge branch 'master' into fix/20311 2018-06-05 12:57:48 +01:00
Mike Jolley b3043849d9 Update from @jeffikus 2018-06-05 12:37:35 +01:00
Mike Jolley 8c632173f7
Merge pull request #20362 from woocommerce/fix/20341
Enable submit when password library fails to load
2018-06-04 11:27:31 +01:00
Gerhard Potgieter b8622398f5 Strict comparison 2018-06-04 12:23:22 +02:00
Gerhard Potgieter 5ee3b5dc99 Cater for -1 strengh when the library fails to load, it should remove the disabled attr so the form can continue to be submitted. 2018-06-04 08:39:24 +02:00
Mike Jolley 306b4022b1 Supporting css styles 2018-06-01 21:27:56 +01:00
Roshan Sameer b73930a0e9 Use :input so it works for both types 2018-06-02 01:14:03 +05:45
Roshan Sameer 1196a1ed7d Fix - nav error while saving setting form 2018-06-01 14:49:30 +05:45
Mike Jolley 18c7e16a72 reset only when needed. 2018-05-31 14:57:01 +01:00
Mike Jolley 9f6c7e2a57 JS min 2018-05-31 10:44:52 +01:00
Mike Jolley 063d3d175d Fix flexslider RTL image scrolling 2018-05-31 10:35:13 +01:00
Mike Jolley 15c2167d92 Fix gallery image order (handled in rtl css) 2018-05-31 10:34:29 +01:00
Mike Jolley 40f2d62149 Fixes 2017 gallery styles
Image did not resize.
2018-05-31 10:33:56 +01:00
Mike Jolley ef735a1a0a Styling tweaks based on master 2018-05-30 14:51:50 +01:00
Mike Jolley 814c62aaf2 merge master 2018-05-30 14:35:32 +01:00
Mike Jolley d5770f32eb Add greater specificity to required styling 2018-05-29 16:47:40 +01:00
Mike Jolley 8a6e3e30a6 If flexslider is disabled, gallery images also need to trigger photoswipe on click. 2018-05-29 12:50:40 +01:00
Mikey Arce 3be6333040 Display price filter widget in LTR for RTL sites
When dealing with numeric properties, they should be in LTR for sites whose language is set to RTL.

This changes the price filter widget to be shown in LTR for RTL sites.
2018-05-24 13:23:52 -07:00
Ewout Fernhout 292be93403
Update address-i18n.js
fixes #20194
2018-05-24 14:37:21 +02:00
Chase Wiseman 346e710314 Only hide .payment_box elements init for multiple methods
Prevents hiding a single payment method’s UI on the order pay page
2018-05-22 14:42:16 -07:00
pierrebuet 3b18ac12d1 Avoid double input field
When geolocalization is active and a form uses the GET method, the script adds an hidden field for the geolocalization hash v, without checking if it already exists. But wc_query_string_form_fields adds it already, if the parameter was present in the called url.
2018-05-18 21:39:19 +02:00
Gerhard Potgieter 5141e69339
Merge pull request #20084 from woocommerce/fix/20044
Fix tooltip styling when outside label
2018-05-18 12:29:40 +01:00
Gerhard Potgieter 391d144fd3
Merge pull request #20082 from franticpsyx/js_order_items_reload
[3.4] Add JS listeners for reloading/reinitializing order items in edit-order page
2018-05-18 12:28:17 +01:00
Mike Jolley d136926d0c Fix tooltip styling when outside label 2018-05-15 15:59:49 +01:00
Manos Psychogyiopoulos ee3388762f Dry up code using 'reloaded_items' 2018-05-15 15:17:11 +03:00
Manos Psychogyiopoulos 285a86c3d4 Add 'wc_order_items_reload' and 'wc_order_items_reloaded' event listeners 2018-05-15 15:16:21 +03:00
Claudiu Lodromanean 5258e00bad
Merge pull request #20040 from woocommerce/fix/20036
Slideup during init to prevent jump on RTL sites
2018-05-11 08:35:32 -07:00
Mike Jolley 83edda2b1f min 2018-05-11 11:57:30 +01:00
Mike Jolley 9cb0d3c884 Slideup during init to prevent jump on RTL sites 2018-05-11 11:55:22 +01:00
claudiulodro 4e046f2afe Recompile for RC1 2018-05-09 11:01:54 -07:00
Peter Fabian fcad799606 ScrollIntoView excplicitly asked to scroll to center vertically.
Even though this should be the default, Firefox defaults to top.
2018-05-09 14:40:21 +02:00
Claudiu Lodromanean 911c2d45c4
Merge pull request #20006 from woocommerce/fix/19970
Render password meter in place
2018-05-08 11:47:28 -07:00
Claudiu Lodromanean abfba228b5
Merge pull request #20005 from woocommerce/fix/19997
Update quick edit logic to handle external products
2018-05-08 11:24:18 -07:00
Claudiu Lodromanean 7528762ee2
Merge pull request #20002 from woocommerce/fix/19959
Zoom improvements for mobile/touch
2018-05-08 11:16:44 -07:00
Mike Jolley 1788273e48 Minify 2018-05-08 18:11:01 +01:00
Mike Jolley 4e4d6204bc Hide password meter rather than remove it. 2018-05-08 18:10:26 +01:00
Mike Jolley 8531b2677e Update quick edit logic to handle external products 2018-05-08 16:58:51 +01:00
Mike Jolley ffbbf08b61 Zoom improvements for mobile 2018-05-08 14:48:25 +01:00
Mike Jolley 3d8bb09ee8 Check validity before handling submit event in cart 2018-05-08 12:40:13 +01:00
Claudiu Lodromanean ad85be2b4f
Merge pull request #19989 from woocommerce/fix/obw-settings-hidden-fields-as-required
OBW: Set only applicable fields as required when enabling shipping zone
2018-05-07 12:01:39 -07:00
Claudiu Lodromanean 9c8dbbedc2
Merge pull request #19988 from woocommerce/update/obw-recommended-stylized-checkboxes
OBW: stylized checkboxes in "Recommended" step
2018-05-07 11:45:08 -07:00
Paul Dechov a765d87979 OBW: Set only applicable fields as required when enabling shipping zone 2018-05-07 11:32:00 -04:00
Paul Dechov b91c6f9207 Show checkbox outline when focused whether checked or not 2018-05-07 09:40:36 -04:00
Paul Dechov a611c1e329 Adjust recommended item to used stylized checkbox 2018-05-07 09:39:44 -04:00
Paul Dechov 1898234158 Extract checkbox styling from woocommerce-tracker scope 2018-05-07 09:36:28 -04:00
Mike Jolley cf9fa5b3ff Updates table styling and columns 2018-05-04 18:48:41 +01:00
claudiulodro eeb97510eb Recompile and prepare for beta 2 2018-05-03 09:46:40 -07:00
Claudiu Lodromanean 594641c32f
Merge pull request #19952 from woocommerce/add/obw-plugin-install-info-message
OBW: List all plugins to be installed upon continuing to next step
2018-05-03 09:23:45 -07:00
Claudiu Lodromanean 4357feef98
Merge pull request #19957 from woocommerce/fix/blank-state-cta
Fixes blank state call to action styling
2018-05-03 08:26:59 -07:00
Mike Jolley 9069357a84 Fixes blank state call to action styling 2018-05-03 16:09:35 +01:00
Mike Jolley b6b4961108 min 2018-05-03 15:29:57 +01:00
Mike Jolley 982d9ec245 Disable zoom on touch devices 2018-05-03 12:28:25 +01:00
Paul Dechov 084510b11b Fix hiding plugin info message when no plugins will be installed 2018-05-03 06:03:25 -04:00
Paul Dechov 60b3b87f4f Adjust email field styling to fit inside container 2018-05-03 05:44:02 -04:00
Paul Dechov d4cd1e7413 Extend highlight around box 2018-05-03 05:43:32 -04:00
Paul Dechov 0fb1954af6 Only call plugin info function once on load
Also refactors this function for conciseness and avoiding frequent function definition.
2018-05-03 05:18:00 -04:00
Paul Dechov 099e4b9703 Refactor: move code around for more logical grouping 2018-05-03 04:45:01 -04:00
Paul Dechov 9cd72562a8 Update plugin list on shipping zone toggle 2018-05-02 23:35:42 -04:00
Paul Dechov b57924fc01 Highlight container element on plugin list item hover 2018-05-02 23:05:37 -04:00
Paul Dechov ae54527079 Refactor: build jQuery objects instead of html strings 2018-05-02 22:44:33 -04:00
Paul Dechov fb0943bb89 Show plugins to install in 'Recommended' step 2018-05-02 17:24:11 -04:00
Paul Dechov 801667324a Show plugins to install in shipping step 2018-05-02 17:23:36 -04:00
Paul Dechov 57ad34451b Add payment step service settings plugins to list 2018-05-02 17:00:29 -04:00
Paul Dechov 9b524d7d77 List payment step service plugins to install 2018-05-02 16:58:56 -04:00
pierrebuet 030cb2690a Identation change 2018-04-27 22:42:42 +02:00
pierrebuet 74c7fdb35c Modify jQuery selector to include select tags 2018-04-27 01:20:53 +02:00
Claudiu Lodromanean 483b5aafe1
Merge pull request #19878 from woocommerce/fix/gallery-image-update
Fix gallery switching when image is the same
2018-04-26 13:14:57 -07:00
Claudiu Lodromanean 93586a4494
Merge pull request #19875 from woocommerce/fix/19855
Add sort handle column when adding new tags.
2018-04-26 11:47:58 -07:00
Claudiu Lodromanean a4508f8cc4
Merge pull request #19857 from woocommerce/fix/19856
Made JS to look for closest form-row paragraph instead of parent in the checkout.
2018-04-26 11:08:31 -07:00
Mike Jolley 7d7d73fa4a Fix gallery switching when image is the same 2018-04-26 17:47:39 +01:00
Peter Fabian 9b154b961e Add sort handle column when adding new tags. 2018-04-26 15:11:00 +02:00
Mike Jolley e6eaa4f83c Fix colorpicker styling 2018-04-26 12:21:17 +01:00
Peter Fabian 7ffc5a4b51 Made JS to look for closest form-row paragraph instead of parent.
As the input/select are now wrapped in span, going to parent brakes the form in some workflows.
2018-04-25 12:46:38 +02:00
Gerhard Potgieter 8cbdec267b Merge remote-tracking branch 'origin/master' into feature/product-custom-tables-supporting-changes 2018-04-25 10:50:41 +02:00
Mike Jolley 6fcbf2f908 Styling 2018-04-24 19:26:07 +01:00
Mike Jolley 6e90ff3ac3 JS handling for move up/down buttons 2018-04-24 19:25:45 +01:00
Claudiu Lodromanean a07135ce9e
Merge pull request #19839 from woocommerce/fix/jquery-ui-404s
Add missing jquery UI images
2018-04-24 10:54:12 -07:00
Rodrigo Primo 597033ca6f Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-04-24 13:47:22 -03:00
Mike Jolley 3f50c60ccf Add missing jquery UI images 2018-04-24 13:58:32 +01:00
Peter Fabian 694cfa979b Float the dismiss button instead of absolute-position it.
To prevent overlaps with conten/text of the message.
2018-04-23 15:42:42 +02:00
Mike Jolley cd20ba0666 Add notices to wrapper div in cart 2018-04-19 18:27:46 +01:00
claudiulodro 4f84364631 Recompile everything 2018-04-18 10:04:02 -07:00
Mike Jolley fdf086cbfc move jquery-ui 2018-04-18 11:22:01 +01:00
Mike Jolley 9dfb91835e Merge branch 'master' into update/gdpr-order-cleanup 2018-04-18 11:21:43 +01:00
Mike Jolley 62a5e8e7bf
Merge pull request #19760 from woocommerce/fix/scss
Fix scss indenting in wc-setup.scss
2018-04-18 10:59:27 +01:00
Jeff Stieler e2d6656124 OBW: show PayFast payment gateway to merchants in South Africa. 2018-04-17 17:45:43 -06:00
Claudiu Lodromanean 59d967c859
Merge pull request #19754 from woocommerce/add/obw-eway-payment-gateway
OBW: Show eWAY payment gateway to merchants in AUS/NZ.
2018-04-17 16:33:41 -07:00
claudiulodro c66b518c61 Remove duplicate css 2018-04-17 16:18:39 -07:00
claudiulodro 7c5d026661 Reapply payment settings css 2018-04-17 16:12:53 -07:00
claudiulodro 6b2174b06b Fix indenting and reapply changes 2018-04-17 16:01:19 -07:00
Jeff Stieler dc06bd8f03 Increase width of eWAY logo in OBW. 2018-04-17 16:04:50 -06:00
Jeff Stieler baa2180221 OBW: Show eWAY payment gateway to merchants in AUS/NZ. 2018-04-17 15:05:34 -06:00
claudiulodro 6d8946048f Add skip link to recommended step and make skip links darker 2018-04-17 13:55:23 -07:00
Valerie 551db8246e OBW: Add MailChimp to recommended step 2018-04-17 13:51:49 -04:00
Valerie c1e55cd6a5 OBW: Update automated taxes option 2018-04-17 13:51:48 -04:00
Valerie 452491d12d OBW: Update Storefront description and style 2018-04-17 13:51:46 -04:00
Mike Jolley d8814f9381 tip alignment 2018-04-17 12:19:01 +01:00
Mike Jolley 27cf41bbf0 Added personal data cleanup settings 2018-04-17 11:45:24 +01:00
Mike Jolley 5265f03c7b Styling 2018-04-17 11:15:07 +01:00
Mike Jolley 860e7a5d23 Merge branch 'master' into update/gdpr-checkout-customizer 2018-04-16 18:02:28 +01:00
Mike Jolley 094fc1bf3a
Merge pull request #19703 from woocommerce/update/settings-tabs-for-privacy
Moved around settings tabs to allow for a privacy page
2018-04-16 16:45:19 +01:00
Mike Jolley 1b34cd4745 Moved settings tabs around to allow for privacy page. 2018-04-12 16:59:42 +01:00
Peter Fabian 6d951b0ddd Scroll to notices also for apply coupon. 2018-04-12 13:49:34 +02:00
Peter Fabian 2baa7fbbdc Added scroll to notices to cart page 2018-04-12 13:34:34 +02:00
Mike Jolley 772588b448 Move WC photoswipe styles to photoswipe.css
Closes #19663
2018-04-10 13:48:05 +01:00
Anwer AR b68e5743e8 Fix for #19600 - Visibility dropdown not responding in Quick Edit when Stock Management is disabled 2018-04-10 05:19:25 +05:00
Mike Jolley 3140a0fb62 More customistion options for terms and conditions. 2018-04-06 11:43:30 +01:00
Mike Jolley 3bf567279b Improve default appearance of descriptions so they toggle on focus and support HTML. 2018-04-05 16:56:00 +01:00
Mike Jolley 3a6c3e002b Add option to choose if the checkout marks either required or optional fields, and style these options. 2018-04-05 14:12:59 +01:00
Mike Jolley 3c35320f76
Merge pull request #19610 from woocommerce/fix/19569
Use nbsp to separate * denoting required fields.
2018-04-05 11:02:39 +01:00
Mike Jolley cf517c50d1
Merge pull request #19618 from woocommerce/fix/19551
Increase orders table checkbox column size on small devices
2018-04-05 10:49:04 +01:00
Mike Jolley 086f07c47d
Merge pull request #19602 from woocommerce/fix/19431
Link product import/export to import/export capabilities
2018-04-05 10:45:29 +01:00
Tiago Noronha 711e1896f1 Increase orders table checkbox column size on small devices 2018-04-04 23:57:18 +01:00
Peter Fabian 80dc183880 Use nbsp to separate * denoting required fields. 2018-04-04 16:45:40 +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
Claudio Sanches a19685abb1 Removed remaining span.product-type styles 2018-04-03 16:26:01 -03:00
Mike Jolley 5bc26ebd79 Merge branch 'master' into update/17427 2018-04-03 14:38:49 +01:00
Rodrigo Primo bb553c88ae Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-03-29 12:05:55 -03:00
Mike Jolley d12194fbe7 Only push to lightbox if image is found
Closes #19435
2018-03-29 11:18:35 +01:00
Claudio Sanches e718bdd11c
Merge pull request #19192 from nishitlangaliya/Issue-18990
Fixes- Admin - removed product type column
2018-03-28 15:37:57 -03:00
nishitlangaliya b98b17eae8 span.wc-type and span.wc-type::before removed from admin.scss as per suggestion #18990 2018-03-28 23:00:43 +05:30
Mike Jolley 57378785bf Split up state and country fields 2018-03-27 19:32:04 +01:00
Mike Jolley 38c29204d4 Include US in US dollar dropdown so it's searchable 2018-03-27 18:35:15 +01:00
Mike Jolley 5e473cd88f
Merge pull request #19507 from woocommerce/fix/19479
Add missing animation mixin to 2017
2018-03-23 12:49:34 +00:00