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
4c1caf9171
display icon images in suggestions + styling tweaks for header/footer
2019-02-20 11:46:06 +13: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
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
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
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
Mike Jolley
b70471448c
Merge fix/21858
2019-02-12 16:19:32 +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
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
8fde07153a
Use get instead of load
2019-02-01 14:30:42 +00:00
Ron Rennick
c45dc09687
only set shipping cost required when method is enabled
2019-01-29 14:24:08 -04: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
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
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
b7e5c1b047
Merge pull request #21679 from amielucha/master
...
Fixes typos in class comments.
2019-01-08 11:11:42 +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
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
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
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
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
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
Paul Dechov
5eea29eb31
OBW: Disable (not hide) payment email input when opted-out
2018-09-20 16:48:43 -04:00
Dominik Krebs
64399b65b9
fixes an issue with additional payment select fields having 'disabled selected'
2018-09-19 13:35:00 +02: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
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
Peter Fabian
23623323b7
Change caption of image when variation is selected.
2018-08-09 14:23:29 +02: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
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
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
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
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
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
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
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
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
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
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
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
814c62aaf2
merge master
2018-05-30 14:35:32 +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
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
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
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
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
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
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
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
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
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
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
cd20ba0666
Add notices to wrapper div in cart
2018-04-19 18:27:46 +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
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
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
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
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
Mike Jolley
57378785bf
Split up state and country fields
2018-03-27 19:32:04 +01:00
claudiulodro
b0fa583f6e
Enable selecting with tab key on selectWoo
2018-03-15 11:52:07 -07:00
Mike Jolley
cb3c4849b4
Merge branch 'master' into fix/19175
2018-03-13 18:14:36 +00:00
Claudiu Lodromanean
05b4bf7a55
Merge pull request #19382 from woocommerce/fix/19370
...
Variations errors
2018-03-13 10:42:49 -07:00
Claudiu Lodromanean
3a5644ddce
Merge pull request #19338 from woocommerce/fix/19222
...
Fix JS state/country inputs
2018-03-13 10:10:24 -07:00
Mike Jolley
1dd558ac69
Loading should be false
2018-03-13 11:50:43 +00:00
Mike Jolley
1fa36b5f15
Fix JS state/country inputs
2018-03-09 16:25:42 +00:00
Mike Jolley
0d624862c2
Use gallery thumbnail size for variation image switcher.
2018-03-09 14:36:14 +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
e27af8a416
When loading default attributes/variation, if there is no longer a match, reset the form and hide the notice
2018-03-01 10:32:26 +00:00
Mike Jolley
f28a3dd35d
Merge pull request #19156 from woocommerce/fix/19120
...
Only trim strings in multiselect display options
2018-02-27 19:18:09 +00:00
claudiulodro
c8f418fd45
Only trim strings in multiselect display options
2018-02-27 07:50:33 -08: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
64c6dd9e8b
Merge pull request #18779 from jeffikus/master
...
Updates Flexslider to version 2.7.0
2018-02-22 12:23:32 +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
Mike Jolley
a7c1bab152
Prevent JS error is row is missing orders column
...
Closes #19017
2018-02-19 12:17:24 +00:00
Mike Jolley
20a7cc392b
If selecting text, don't link to order on row click.
2018-02-12 11:07:04 +00:00
Caleb Burks
c278bffa78
Set maxlength for order item meta key
2018-02-09 22:33:35 -05:00
Mike Jolley
fdf81ac190
Min
2018-02-08 12:38:52 +00:00
Mike Jolley
b95812d563
Handle quick edit
2018-02-08 12:35:57 +00:00
Gerhard Potgieter
780905cd0e
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-02-08 10:11:27 +02:00
Caleb Burks
0ed97d26bd
Compile and Minify
2018-02-07 19:30:09 -05:00
Caleb Burks
4ca94e8f21
Add tooltip for default category
2018-02-07 19:24:43 -05:00
Shiva Poudel
5e48861ba1
Remove demo store notice JS
2018-02-05 10:23:35 +05:45
Claudio Sanches
9c39dd34cc
Merge branch 'feature/network-order-widget' of https://github.com/cmmarslender/woocommerce into cmmarslender-feature/network-order-widget
2018-02-02 14:46:51 -02:00
Jeffrey Pearce
4d2846ebdf
Updates Flexslider to version 2.7.0
...
- Fixes RTL logic.
2018-02-02 13:56:02 +02:00
Mike Jolley
727cf673e6
Make handles appear for attributes and categories
2018-02-01 14:46:04 +00:00
Pascal Roget
3964e28a38
Allow Ctrl+Click
...
Restores ctrl+click opens new background tab behavior in Firefox, Chrome and Opera.
2018-01-31 14:14:17 -08:00
Mike Jolley
832d767a83
Full support for sorting
2018-01-31 20:17:06 +00:00
Mike Jolley
c9aff28aed
Merge branch 'master' into fix/18704
2018-01-31 18:04:14 +00:00
Mike Jolley
1c570759ae
Allow devs to add 'no-link' class to elements to prevent order view link being triggered on row click
...
Closes #18704
2018-01-31 14:10:23 +00:00
Mike Jolley
6f6ddf2eeb
Prevent uncategorized from being sorted. it's always top of the list.
2018-01-31 13:34:55 +00:00
Paul Dechov
16430dfdaa
Keep shipping service description in sync with selected value after refresh
2018-01-24 23:52:59 -05:00
Mike Jolley
b82dbb6354
Update fragment when removing from cart
...
Closes #18548
2018-01-22 10:50:57 +00:00
Mike Jolley
1fc6155167
Fix cart ajax triggers
...
Closes #18498
2018-01-18 16:31:17 +00:00
Mike Jolley
672a31e7c6
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-01-16 10:40:19 +00:00
Mike Jolley
431b95dade
cart_hash_key param
2018-01-15 16:03:27 +00:00
claudiulodro
32b85885b4
Recompile assets
2018-01-11 09:10:29 -08:00
Claudiu Lodromanean
d7718df0f9
Merge pull request #18400 from woocommerce/update/17656
...
Pass through zoom options
2018-01-09 09:21:13 -08:00
Mike Jolley
2b2b73b4b7
Pass through zoom options
2018-01-09 15:44:54 +00:00
Mike Jolley
fdadbc67a4
Remove deprecated load call
...
Closes #18005
2018-01-09 10:01:29 +00:00
claudiulodro
00372e9bb0
Remove videos from help sections
2018-01-08 10:48:25 -08:00
claudiulodro
fd18d24ddd
Recompile and version for beta 2
2018-01-05 10:10:17 -08:00
claudiulodro
eea518dda2
Focus on inputs when clicked instead of sorting
2018-01-03 12:10:08 -08:00
Claudiu Lodromanean
de71c92fa0
Merge pull request #18278 from woocommerce/fix/setup-wizard-ppec-api-subject-set-when-unchecked
...
Setup wizard: don't set PPEC "API Subject" when WCS rerouting is unchecked
2018-01-02 10:39:35 -08:00
Mike Jolley
5aee9f973c
Append timestamp to filename
2018-01-02 13:29:23 +00:00
Mike Jolley
46c51bb3a6
Allow filename to be set from javascript
2018-01-02 13:16:43 +00:00
Paul Dechov
a87183503f
Fix api_subject option being set even when reroute_requests unchecked
2017-12-22 14:57:50 -05:00
MannyC
1252215dc2
Change flexslider options property name back to just `flexslider` from `flexslider_options`.
2017-12-20 12:15:45 +00:00
MannyC
c8dfc7e91e
Allow back end to pass adhoc options to the product flexslider, following the standard set by the photoswipe options.
...
This commit also changes the name of the options array key from `flexslider` to `flexslider-options`, also following the photoswipe standard.
As a side effect, the flexslider is now correctly being passed the `rtl` parameter, which previously wasn't being used by the front end (even though the back end was sending it).
2017-12-17 01:03:51 +00:00
Mike Jolley
d14d3afc2e
Merge pull request #18162 from WPprodigy/downloads-logging-enhancements
...
[3.3] New download logging reports enhancements
2017-12-15 11:09:21 +00:00
Caleb Burks
cb154b5d40
Add button for copying DL link
2017-12-13 23:57:47 -06:00
Caleb Burks
c7f5ee97db
Hide variation stock status setting conditionally
2017-12-13 22:38:03 -06:00
claudiulodro
a10dbbde48
Recompile everything
2017-12-12 11:38:44 -08:00
Mike Jolley
4fc9f7594f
Merge pull request #18094 from woocommerce/fix/18083
...
Remove fragment when appending geolocation hash
2017-12-12 12:57:16 +00:00
Claudiu Lodromanean
c0e0f9c2cb
Merge pull request #18039 from woocommerce/add/setup-wizard-wcs-paypal-express-checkout-settings
...
Setup wizard: PayPal Express Checkout settings for rerouting via WCS
2017-12-11 08:26:24 -08:00
Mike Jolley
43f8e1b056
Remove fragment when appending geolocation hash
...
Fixes #18083
2017-12-11 13:31:54 +00:00
Caleb Burks
274e5c3aa2
Hide manage stock buttons if inventory is disabled
2017-12-09 23:02:40 -06:00
Caleb Burks
bb3a500564
Woops - ignore xD
2017-12-09 22:48:49 -06:00
Caleb Burks
94ffd6ff29
Remove duplicate code
2017-12-09 22:47:23 -06:00
Caleb Burks
457e60d253
Allow for multiple stock updates at once
2017-12-09 22:22:41 -06:00
Caleb Burks
4f187a0840
Ajaxify the order note addition
2017-12-09 00:32:35 -06:00
Claudiu Lodromanean
85eae84d86
Merge pull request #18063 from woocommerce/fix/17454
...
Add BOM to export
2017-12-07 09:58:52 -08:00
Mike Jolley
9ef09b5a07
Add BOM to export
...
Closes #17454
2017-12-07 15:14:42 +00:00
Paul Dechov
9571fa07d1
Extend stripe setting behavior to ppec
2017-12-05 14:58:50 -05:00
claudiulodro
d60456cc73
Resolve conflicts and bring up to date with master
2017-12-04 13:56:59 -08:00
Mike Jolley
0a9485c465
Merge branch 'master' into feature/11259
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# includes/admin/list-tables/class-wc-admin-list-table-products.php
# includes/class-wc-install.php
# includes/wc-update-functions.php
2017-12-04 14:14:03 +00:00
Mike Jolley
050ba6642f
Merge pull request #17928 from woocommerce/fix/selectwoofocus
...
Fix some focus issues in selectWoo
2017-12-04 13:55:17 +00:00
claudiulodro
9d2b76da2b
Fix some focus issues in selectWoo
2017-11-27 14:34:05 -08:00
claudiulodro
5513dc4546
Update with master
2017-11-22 11:02:14 -08:00
Mike Jolley
3773b81bc9
Merge branch 'master' into update/order-screen-refinements
...
# Conflicts:
# includes/admin/meta-boxes/views/html-order-item.php
2017-11-22 16:32:34 +00:00
Mike Jolley
29fed057af
Mobile styling
2017-11-22 16:28:11 +00:00
Mike Jolley
b3e7260c95
Improve styling of order actions columns
2017-11-22 16:14:30 +00:00
Shiva Poudel
cea8982ac3
Fix - Default shipping class not loading from localize script
2017-11-22 11:34:03 +05:45
claudiulodro
99aefc91f3
Changes from feedback
2017-11-21 14:08:17 -08:00
claudiulodro
a73436bdcd
Merge remote-tracking branch 'origin/master' into HEAD
2017-11-20 14:43:12 -08:00
claudiulodro
413758b395
Minify
2017-11-20 14:37:40 -08:00
claudiulodro
7a43b5a187
Fix bug in show/hide js
2017-11-20 10:44:50 -08:00
Mike Jolley
e8fa9e5b86
Support control and click new tab on orders view
2017-11-20 17:58:08 +00:00
Shiva Poudel
56317052f2
Fix - Order button text on payment method change
...
CC @kloon
2017-11-18 20:08:19 +05:45
Chris Marslender
4d856955d9
Merge branch 'master' into feature/network-order-widget
2017-11-17 15:27:52 -07:00
Mike Jolley
f207fdcde9
Reload attributes html on save
2017-11-17 15:43:14 +00:00
Mike Jolley
72e078e83e
Merge branch 'fix/17236'
...
# Conflicts:
# includes/class-woocommerce.php
2017-11-17 12:49:02 +00:00
claudiulodro
0390cf3e26
Bring up-to-date with master
2017-11-16 10:06:07 -08:00
Chris Marslender
961c24e373
Merge branch 'master' into feature/network-order-widget
2017-11-15 18:43:34 -07:00
claudiulodro
4ef2152881
Hide/set fields depending on whether managing stock
2017-11-15 14:10:06 -08:00
Mike Jolley
cbc16f7e2b
Min
2017-11-15 14:34:42 +00:00
Mike Jolley
36ce76434a
Fix propagation on click
...
Fixes #17630
2017-11-15 14:34:35 +00:00
Mike Jolley
56d86aee96
trashed styling
2017-11-15 13:41:20 +00:00
Mike Jolley
128b826791
Merge branch 'master' into tweak/order-screens
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# includes/admin/class-wc-admin-post-types.php
2017-11-15 13:36:13 +00:00
Mike Jolley
dea454c88e
Clickable elements
2017-11-15 12:51:14 +00:00
Shiva Poudel
07784c3ee2
Revert "Add correct method to define new in a backbone"
2017-11-15 11:24:10 +05:45
Chris Marslender
2731de7461
Updates for coding standards
2017-11-14 18:59:20 -07:00
Chris Marslender
f1fe210dba
Merge branch 'master' into feature/network-order-widget
2017-11-14 18:52:18 -07:00
Mike Jolley
992d6e3aed
Dump old settings
2017-11-14 16:36:18 +00:00
Mike Jolley
6e08ff0284
Merge pull request #17610 from woocommerce/update/17557
...
Theme support to declare image sizes
2017-11-09 16:04:22 +00:00
Mike Jolley
683e396c43
Merge branch 'pr/17567'
2017-11-08 15:21:24 +00:00
Mike Jolley
f54b240539
No need to reload if redirecting
2017-11-08 15:21:13 +00:00
Mike Jolley
160d17eb2e
Merge pull request #17500 from woocommerce/fix/17156
...
Use scrollIntoView on checkout
2017-11-08 14:13:24 +00:00
Mike Jolley
7e0f18f4af
min
2017-11-08 14:12:54 +00:00
Mike Jolley
e7f1a3f22f
scrollElement.length
2017-11-08 14:12:36 +00:00
Mike Jolley
74ece1b7aa
Merge pull request #17527 from greguly/patch-5
...
Shipping selection for multiple packages
2017-11-08 14:11:17 +00:00
Mike Jolley
bb31ecdff1
Validation
2017-11-08 13:40:30 +00:00
Mike Jolley
e025caf177
Widths and aspect ratios
2017-11-07 18:32:43 +00:00
Gerhard Potgieter
5164dc25e3
Update password js files to trigger on button[type="submit"] instead of input[type="submit"]
2017-11-07 12:37:36 +02:00
Chris Marslender
77721a1637
When a user can't access any sites, or no orders are returned, show "no orders found" message
2017-11-06 10:44:55 -07:00
Chris Marslender
68e42ab6a2
Add loading indicator for the network order widget
2017-11-06 10:32:30 -07:00
Chris Marslender
f4ad8b8089
Enqueue .min.js version of network order script if SCRIPT_DEBUG not enabled
2017-11-06 10:08:07 -07:00