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
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
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
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
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
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
4c1caf9171
display icon images in suggestions + styling tweaks for header/footer
2019-02-20 11:46:06 +13: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
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
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
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
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
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
haszari
2c24a567d0
in-product discovery - render suggestions in products list
2019-02-12 16:24:37 +13:00
Ron Rennick
c45dc09687
only set shipping cost required when method is enabled
2019-01-29 14:24:08 -04: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
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
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
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
Joshua Flowers
dc12b7d2d6
Use reload instead of assigning href to window.location
2018-12-17 10:27:20 +08:00
Joshua Flowers
a16eba8543
Strip hash from URL that prevents reload on refunds
2018-12-04 10:11:40 +08:00
Gerhard
0227150f75
Filter out buttons as well from the onRowClick event on the orders table.
2018-11-19 10:26:54 +02:00
Claudio Sanches
f0f56c12c9
Fixed bug that stopped to display api keys notices
2018-11-02 10:21:18 -07:00
claudiulodro
24d2948299
Recompile assets
2018-09-28 08:28:45 -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
Gerhard Potgieter
f637cf3005
After saving attributes check that empty attributes are not disabled in the dropdown.
2018-09-26 12:25:34 +02:00
Paul Dechov
5eea29eb31
OBW: Disable (not hide) payment email input when opted-out
2018-09-20 16:48:43 -04:00
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
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
Paul Dechov
a486f50cfd
OBW: Avoid form breaking due to email validation on hidden field
2018-08-31 11:36:41 -04: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
Gerhard Potgieter
865f724187
Add category filter to product export functionality.
2018-07-23 11:59:01 +02:00
Claudio Sanches
5d3653b8ca
Fixed message when save REST API keys
2018-07-04 16:13:25 -03: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
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
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
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
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
Mike Jolley
8261cffaa7
Remove bulk actions
2018-06-07 18:01:21 +01:00
Mike Jolley
86993a4f70
Merge branch 'master' into update/13624
2018-06-07 10:30:52 +01:00
Mike Jolley
001a2e3b98
Merge branch 'master' into fix/20311
2018-06-05 12:57:48 +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
9f6c7e2a57
JS min
2018-05-31 10:44:52 +01:00
Mike Jolley
814c62aaf2
merge master
2018-05-30 14:35:32 +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
claudiulodro
4e046f2afe
Recompile for RC1
2018-05-09 11:01:54 -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
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
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
a611c1e329
Adjust recommended item to used stylized checkbox
2018-05-07 09:39:44 -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
Paul Dechov
084510b11b
Fix hiding plugin info message when no plugins will be installed
2018-05-03 06:03:25 -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
Peter Fabian
9b154b961e
Add sort handle column when adding new tags.
2018-04-26 15:11:00 +02:00
Mike Jolley
6e90ff3ac3
JS handling for move up/down buttons
2018-04-24 19:25:45 +01:00
Rodrigo Primo
597033ca6f
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-04-24 13:47:22 -03:00
Mike Jolley
860e7a5d23
Merge branch 'master' into update/gdpr-checkout-customizer
2018-04-16 18:02:28 +01:00
Mike Jolley
1b34cd4745
Moved settings tabs around to allow for privacy page.
2018-04-12 16:59:42 +01:00
Mike Jolley
3140a0fb62
More customistion options for terms and conditions.
2018-04-06 11:43:30 +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
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
Rodrigo Primo
bb553c88ae
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-03-29 12:05:55 -03:00
Mike Jolley
57378785bf
Split up state and country fields
2018-03-27 19:32:04 +01:00
Mike Jolley
cb3c4849b4
Merge branch 'master' into fix/19175
2018-03-13 18:14:36 +00:00
Mike Jolley
1fa36b5f15
Fix JS state/country inputs
2018-03-09 16:25:42 +00:00
Rodrigo Primo
3a480e5d80
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-03-01 08:02:08 -03:00
Mike Jolley
9ed504c4af
Add extra data in mobile view
2018-02-23 16:55:06 +00:00
Mike Jolley
5c36c30998
Merge pull request #19035 from woocommerce/fix/19018-wizard-toggles
...
Setup Wizard: Start toggle when clicking anywhere on row
2018-02-22 12:25:23 +00:00
Mike Jolley
83f8bcb8ce
Make the init tooltips after inline editing more specific
2018-02-21 13:34:07 +00:00
Claudio Sanches
ef393b8405
Merge pull request #18918 from woocommerce/fix/order-item-meta-key-maxlength
...
Set maxlength for order item meta key
2018-02-20 16:52:35 -03:00
Caleb Burks
44c5d20c45
Minify/compile
2018-02-19 20:05:58 -05:00
Caleb Burks
8ef278a28b
Start toggle on row click
2018-02-19 20:03:32 -05:00
Claudiu Lodromanean
4616b86c25
Merge pull request #19022 from woocommerce/fix/19011
...
Fixes button disable state and save response handling
2018-02-19 08:41:13 -08:00
Claudio Sanches
0a695f76b4
Merge pull request #19021 from woocommerce/fix/19017
...
Prevent JS error is row is missing orders column
2018-02-19 12:44:41 -03:00
Mike Jolley
6f855c781f
Fix response/ajax handling for #18080
2018-02-19 14:56:30 +00:00
Mike Jolley
5fce9152bd
Merge pull request #18080 from WPprodigy/fix-stock-update-order-notes
...
Enhancements for stock updates
2018-02-19 14:51:05 +00:00
Mike Jolley
b15bc8f1f2
Fixes button disable state and save response handling
...
To test, save tax rates and see row is missing.
After patch the button is disabled until changes are made.
If you force button to be non-disabled via inspector and save, fields
will not be hidden.
2018-02-19 12:27:37 +00:00