Rodrigo Primo
6e976c7f0c
Remove unnecessary conditions from out of stock query
...
In the query to get the number of out of stock products for the admin
dashboard widget, it is not necessary to use `1=1` and also not
necessary to use `posts.post_type IN ( 'product', 'product_variation' )`
as only products are added to wp_wc_product_meta_lookup.
2019-05-16 09:41:52 -03:00
Gerhard Potgieter
9f0e1a6e64
Merge pull request #23534 from woocommerce/fix/233880-alt
...
Revise update stock logic
2019-05-16 14:15:13 +02:00
Gerhard
b694efcb63
Klarna should not be featured.
2019-05-14 07:36:15 +02:00
Gerhard
e131b01133
Modify payment gateway placement, defaults and new logos.
2019-05-13 15:54:44 +02:00
Gerhard
36cab83d76
Update out of stock dashboard widget to use same query as in reporting, this only counts published products.
2019-05-13 11:02:50 +02:00
Gerhard Potgieter
32769d0d76
Merge pull request #23625 from woocommerce/fix/23549
...
Use attribute's orderby option to sort terms in product's edit screen
2019-05-10 11:19:08 +02:00
Gerhard Potgieter
18e2332cfc
Merge pull request #23590 from woocommerce/fix/23587
...
Stock sorting issue when Yoast installed
2019-05-10 11:17:26 +02:00
Gerhard Potgieter
902cc1f0b0
Merge branch 'master' into fix/23606
2019-05-10 11:12:54 +02:00
Gerhard Potgieter
364093056d
Merge pull request #23580 from woocommerce/report-bug-link
...
Change the link of the "Report a bug" button
2019-05-10 10:59:24 +02:00
Gerhard Potgieter
984357fb41
Merge pull request #23597 from woocommerce/fix/23509
...
Added confirmation before saving empty list of countries to sell to.
2019-05-10 10:56:13 +02:00
Gerhard Potgieter
07ea25377a
Merge pull request #23517 from woocommerce/fix/23506
...
Fix dismiss button in two WC admin notices
2019-05-10 10:37:01 +02:00
Gerhard Potgieter
af574f6484
Merge pull request #23456 from woocommerce/fix/23447
...
Disable export of scheduled action posts
2019-05-10 10:27:34 +02:00
Gerhard
84b75c31ad
Three equals
2019-05-09 12:57:25 +02:00
Claudio Sanches
490219de7c
Use attributes orderby options to sort terms in product's edit screen
2019-05-06 20:39:36 -03:00
Gerhard
48e6083adc
Restore param and return for backward compatibility.
2019-05-06 14:47:27 +02:00
Gerhard
b1e2a0119a
Fix system status connected to woocommerce.com status
2019-05-06 10:11:59 +02:00
Peter Fabian
98edbd2f78
Added confirmation before saving an empty list of countries to sell to in general WC settings.
2019-05-02 21:26:29 +02:00
Peter Fabian
3caee4451d
Fixed PHPCS.
2019-05-02 21:20:08 +02:00
Peter Fabian
b891bfe238
Removed unused variables.
2019-05-02 17:53:50 +02:00
Gerhard
48000e63a1
Move remove_ordering_args calls from the_posts filter to query_filters method, this avoids conflicts with other plugins also hooking in and modify the args.
2019-05-02 14:31:30 +02:00
Rodrigo Primo
5ed76fd067
Change the link of the "Report a bug" button
...
Changes the link of the "Report a bug" button from https://github.com/woocommerce/woocommerce/issues?state=open to https://github.com/woocommerce/woocommerce/issues/new?template=Bug_report.md . When users click on this button, they should go directly to the new issue page, instead of the page that list issues.
2019-05-01 22:58:55 -03:00
Mike Jolley
a7279bd261
Revert double saving change
2019-04-26 17:19:41 +01:00
Rodrigo Primo
00128fec58
Fix dismiss button in two WC admin notices
...
The dismiss button in the WC admin notices `legacy_shipping` and `no_shipping_methods` was not fully clickable due to a custom CSS applied to them. This custom CSS was used to add a background image to those notices. More specifically, the problem was caused by the use of `position: relative` applied to `<p>` elements. I couldn't find an easy way to fix this problem keeping the custom background image, so I opted to remove it to make the design of all notices identical (besides the background image, the custom CSS also added a few other differences to those to notices like the font size of the notice title).
2019-04-25 14:19:35 -03:00
Rodrigo Primo
5c1936bfdd
PHPCS fixes
2019-04-25 14:12:45 -03:00
Peter Fabian
abf1b7450d
Save the product before calling wc_update_product_stock to ensure data consistency and set quantity in local copy after saving it to db in wc_update_product_stock.
...
wc_update_product_stock reads product from the db twice, so if it's out of sync, strange things are happening.
Also, changes dependant on stock status might get reverted if local copy of $product is not updated after wc_update_product_stock.
2019-04-25 14:57:08 +02:00
parmarhardip
8ffd78372f
- coding standard improve
2019-04-25 10:25:17 +05:30
Mike Jolley
036a91d20c
Merge pull request #23484 from woocommerce/update/marketplace-queue-handling
...
Marketplace queue handling - avoid recurring event
2019-04-24 17:00:40 +01:00
Mike Jolley
9776e346b3
cancel_all
2019-04-24 16:28:28 +01:00
Mike Jolley
1efcecddc5
Merge pull request #23469 from dfeuster/master
...
corrected anchor href from old codex to new location
2019-04-24 16:11:32 +01:00
Mike Jolley
98dfb8e8c2
Merge pull request #23446 from woocommerce/fix/23439
...
Product list table shipping class tax_query
2019-04-24 14:56:00 +01:00
Mike Jolley
9d9f7bec59
Merge pull request #23383 from woocommerce/update/update-notices
...
[3.6] More useful update notices if cron is disabled
2019-04-24 14:49:44 +01:00
parmarhardip
7b8d7d7390
- autoload false and check Travis CI build
2019-04-24 19:03:19 +05:30
parmarhardip
4c90f566bb
- Prevent the Cart, checkout and my account page from being set to the same page.
2019-04-24 17:31:20 +05:30
Mike Jolley
618e98f4e0
Avoid queue on init
2019-04-24 13:00:23 +01:00
Mike Jolley
db67172b75
Queue single event only as needed
2019-04-24 13:00:16 +01:00
parmarhardip
2122a84d8b
- coding standard check
2019-04-24 16:34:28 +05:30
parmarhardip
f643c516d1
enhance #23381 Prevent the Cart, checkout and my account page from being set to the same page.
2019-04-24 15:59:14 +05:30
Daniel Feuster
dfe8ac43bf
corrected anchor href from old codex to new location
2019-04-23 16:54:44 -05:00
Ron Rennick
130ebf95cd
phpcs sniff fixes for class-wc-admin.php
2019-04-23 12:07:02 -03:00
Ron Rennick
d2d342f30e
disable export of scheduled action posts
2019-04-23 12:03:30 -03:00
Mike Jolley
6c36c71a65
Remove red styling
2019-04-23 12:10:07 +01:00
Mike Jolley
6589c04dab
Merge branch 'update/update-notices' of https://github.com/woocommerce/woocommerce into update/update-notices
2019-04-23 12:01:18 +01:00
Mike Jolley
3cb3d5df4e
Prevent tab causing extra white space
2019-04-23 12:01:13 +01:00
Gerhard
0f00eb9a79
Fix product list table shipping class tax_query
2019-04-23 11:19:07 +02:00
Rodrigo Primo
ac70d1e9b2
Fix copy and paste error in code documentation
2019-04-22 11:43:09 -03:00
Mike Jolley
7ef1fd5ea6
More useful update notices
2019-04-18 20:06:17 +01:00
Mike Jolley
d411f082d7
Added missing wp_unslash
2019-04-18 18:52:51 +01:00
Mike Jolley
e1e13dee91
merge conflict
2019-04-18 12:06:13 +01:00
Mike Jolley
2033a231a4
Update from master
2019-04-18 12:05:23 +01:00
Mike Jolley
8d5d7b2463
Update from master
2019-04-18 11:56:47 +01:00
Mike Jolley
44d129e452
Merge pull request #23334 from woocommerce/fix/23328
...
Revert selectWoo escaping change
2019-04-18 11:51:11 +01:00
Mike Jolley
3aff19afe7
version bump
2019-04-18 11:47:07 +01:00
Mike Jolley
2f850633a5
Merge pull request #23251 from woocommerce/fix/23239
...
CSV Import: Search for 'number' anywhere in cell, not just the end
2019-04-18 11:21:14 +01:00
Leon Aves
60148d7f8f
Fix security check on email template preview page.
...
The nonce generated on the previous page was not being verified properly due to mismatched brackets (the second argument to wp_verify_nonce was not being passed).
2019-04-18 00:08:00 +01:00
Mike Jolley
f18542aa71
remove slash from currency code string
2019-04-17 12:06:57 +01:00
Mike Jolley
4e50a8f6dd
Escape strings passed to selectwoo
2019-04-17 12:02:20 +01:00
Rodrigo Primo
20e9701583
Bump selectWoo.full.js version
2019-04-16 14:33:31 +01:00
Timmy Crawford
bf151aee3e
Merge pull request #23303 from woocommerce/fix/23232
...
Refactor #23300
2019-04-15 11:21:00 -07:00
Mike Jolley
aaca13ee3d
Map more fields, including special columns with custom data handling requirements
2019-04-15 16:05:29 +01:00
Mike Jolley
93535047fd
Ability to parse tags with space separators
2019-04-15 15:55:42 +01:00
Mike Jolley
b5f89e35d1
Remove localisation
2019-04-15 14:26:49 +01:00
Mike Jolley
c5b7719697
Only map if this is looks like a Shopify export.
2019-04-15 14:24:56 +01:00
Mike Jolley
1504f8af3e
Merge pull request #23011 from Tofandel/patch-2
...
Improve the speed of the admin dashboard by only updating transients once per class
2019-04-15 14:03:31 +01:00
Gerhard
134f9c9c8e
Fix PHPCS
2019-04-15 12:13:02 +02:00
Gerhard
96906d9efa
PHPCS Fixes
2019-04-10 14:53:03 +02:00
Gerhard
8716c7451c
PHPCS fixes
2019-04-10 14:29:40 +02:00
Mike Jolley
945ff7958f
Merge pull request #23101 from woocommerce/update/23090
...
Add table ENGINE to system status report
2019-04-10 11:32:51 +01:00
Mike Jolley
deaaa5d1d8
Remove two old moved-feature notices
2019-04-10 11:23:35 +01:00
Mike Jolley
91084f3e28
Add todo for legacy shipping notice
2019-04-10 11:23:04 +01:00
haszari
7ede25add7
use admin_url to generate manage suggestions url (support multisite etc)
2019-04-10 12:16:49 +12:00
haszari
cd9101bb58
fix target url of 'Manage Suggestions', settings are now in 'Advanced'
2019-04-10 12:02:09 +12:00
John Coy
0bd52938ab
Mapping for default Shopify fields
...
Helps to improve assigning the default Shopify columns upon upload.
2019-04-09 14:09:09 -05:00
Timmy Crawford
8bccfcca1a
more phpcs fixes.
2019-04-09 11:34:34 -07:00
Timmy Crawford
81c679181c
PHPCS fixes.
2019-04-09 10:18:47 -07:00
Timmy Crawford
f2b55bf060
Move suggestions/tracks settings to new Advanced | WooCommerce.com page.
2019-04-09 09:38:26 -07:00
Mike Jolley
91e21644cf
Style descriptions after select2 boxes
2019-04-09 15:02:05 +01:00
Mike Jolley
cb27b40c67
Search for 'number' anywhere in cell, not just the end
2019-04-09 14:37:46 +01:00
haszari
36f1dbf7fb
ensure no-suggestions state "manage" link triggers tracks event
2019-04-09 13:53:25 +12:00
Timmy Crawford
b35945c5f5
PHPCS fix.
2019-04-08 17:21:50 -07:00
Timmy Crawford
e4552c571d
Only show suggestions setting when current user can install_plugins
2019-04-08 16:27:32 -07:00
Timmy Crawford
ae66f195a5
Add link to manage suggestions in default/empty view
2019-04-08 16:24:52 -07:00
Timmy Crawford
4a2c706cc0
Add setting to control display of marketplace suggestions.
2019-04-08 16:24:52 -07:00
Timmy Crawford
616af5c28d
Merge pull request #23216 from woocommerce/update/tracks-opt-out
...
[3.6] Update opt-out usage tracking text.
2019-04-08 14:27:08 -07:00
Timmy Crawford
7ac179f7b8
Merge pull request #23229 from woocommerce/add/manage-suggestions-metabox-link
...
[3.6] Add manage suggestions link into browse-all metabox footer
2019-04-08 13:59:35 -07:00
Timmy Crawford
886d1acca5
Updates to usage tracking text per feedback.
2019-04-08 12:00:11 -07:00
haszari
d2ff99189c
enqueue translatable string for `Manage suggestions` link
2019-04-08 15:45:41 +12:00
Mark Senff
0185795319
Update html-product-attribute.php
2019-04-07 09:42:27 -04:00
Timmy Crawford
72b9555706
Update opt-out usage tracking text.
2019-04-05 12:59:32 -07:00
Valerie
0d1c1ec7b6
OBW: Display FB recommendation until removed
...
Instead of ending the FB recommendation on
a specific date we'll remove it when needed.
2019-04-04 13:34:40 -04:00
Timmy Crawford
800ad318e3
OBW: Ensure tracker opt-in is always shown.
2019-03-27 15:29:55 -07:00
Timmy Crawford
4cad501098
Merge pull request #23146 from woocommerce/fix/22695
...
Update fallback download URL in helper
2019-03-27 15:01:10 -07:00
Mike Jolley
3a8c3b3813
Update download URL in helper
2019-03-26 11:36:41 +00:00
Mike Jolley
eb45b94edb
Switch data_type
2019-03-25 15:10:56 +00:00
Mike Jolley
9907a25ff6
Append notice if variations are invalid
2019-03-25 13:30:04 +00:00
Mike Jolley
cb3134a563
phpcs
2019-03-25 12:45:38 +00:00
Mike Jolley
c5defa6a1e
Add engine to system status
2019-03-21 14:39:33 +00:00
Mike Jolley
6944e73963
Update option definition
2019-03-20 15:27:19 +00:00
Mike Jolley
494c6ffdbd
Handle save
2019-03-20 15:27:07 +00:00
Mike Jolley
b387444136
Allow us to define a setting in API but not save as option
2019-03-20 15:26:38 +00:00
Gerhard
fbe1bc7c1f
Move saving setting functionality to wp_loaded hook to avoid issues with menus loading before the setting is saved.
2019-03-20 13:34:02 +02:00
Mike Jolley
97f30e7f5c
Variation stock status handling
2019-03-18 12:56:49 +00:00
Mike Jolley
37bc893aba
Merge pull request #23039 from woocommerce/update/plugin-rating-notice-text
...
Update the rating request text in the footer to be friendlier for screen reader users
2019-03-18 10:38:53 +00:00
Gerhard
a7571c71c1
Fix typo in lookup table notice markup
2019-03-18 10:11:05 +02:00
Mike Jolley
6b82636e33
phpcs
2019-03-15 16:16:53 +00:00
Kelly Dwan
b066922c40
Update the rating request text in the footer to be friendlier for screen reader users
2019-03-15 12:05:27 -04:00
Mike Jolley
5ee5227dac
Hooks for all actitation and deactivation events
2019-03-15 16:02:55 +00:00
Mike Jolley
d6a38dce55
woocommerce_helper_subscription_deactivate_success
2019-03-15 15:45:50 +00:00
Mike Jolley
3f5f437b9e
woocommerce_helper_subscription_activate_success
2019-03-15 15:42:17 +00:00
Timmy Crawford
e1c09b4609
Merge pull request #22973 from woocommerce/update/22545
...
Revised sale start/end date save logic
2019-03-14 17:53:40 -07:00
Adrien Foulon
700d89f8ff
Fix missing parenthesis
2019-03-14 23:55:02 +01:00
Claudio Sanches
d365497a66
Fixed coding standards
2019-03-14 19:48:47 -03:00
Adrien Foulon
d53d6f6a7d
phpcs
2019-03-14 23:18:47 +01:00
Adrien Foulon
7a470fb117
Separating nocache and cache logic for clarity
2019-03-14 23:16:55 +01:00
Adrien Foulon
0391b11b20
Review
2019-03-14 23:05:54 +01:00
Adrien Foulon
7d77241ed2
Move variable definitions in class
2019-03-14 16:44:26 +01:00
Mike Jolley
520c517410
Merge pull request #23019 from woocommerce/update/onsale-lookup
...
onsale lookup table
2019-03-14 11:10:35 +00:00
haszari
9f11374edf
wrap button text label for translation
2019-03-14 14:56:35 +13:00
haszari
cfa6f58b8f
wrap no-suggestions strings for translation
2019-03-14 14:56:34 +13:00
haszari
a751e6a054
content & icon for no-suggestions state in product edit metabox
2019-03-14 14:56:33 +13:00
Adrien Foulon
005d7491cf
Cleanup
2019-03-13 22:28:09 +01:00
Adrien Foulon
55339a2870
Cache setter and getter wrapper
2019-03-13 22:21:09 +01:00
Adrien Foulon
8d866d9df7
Fix error wpdb global
2019-03-13 21:19:21 +01:00
Adrien Foulon
322eed0b2c
Fix error
2019-03-13 19:06:47 +01:00
Adrien Foulon
11e8f087e8
Fix get cached query call
2019-03-13 18:18:59 +01:00
Mike Jolley
337b6cdc60
Link had wrong styling - it does not dismiss
2019-03-13 17:07:33 +00:00
Adrien Foulon
99358e7763
Remove whitespaces on empty lines
2019-03-13 18:00:13 +01:00
Adrien Foulon
eefbaff3ea
Remove whitespaces on empty lines
2019-03-13 17:59:34 +01:00
Adrien Foulon
cc65b2d856
Apply code review
2019-03-13 17:54:13 +01:00
Adrien Foulon
80435d779f
Apply code review
2019-03-13 17:52:28 +01:00
Rodrigo Primo
f9cdab66eb
Merge pull request #22889 from woocommerce/fix/22817
...
Hide 'other' payment method from invoice
2019-03-13 12:01:56 -03:00
Adrien Foulon
fa9b08c9a4
Make the maybe_update_transients hook static so it's not constructor dependant
...
Because extended classes don't call the parent constructor and that would break BC
2019-03-13 13:47:00 +01:00
Mike Jolley
e6c60dd6c2
Show notice when regeneration is taking place with link to AS
2019-03-13 12:25:20 +00:00
Adrien Foulon
bc34c6e3eb
Fix php5.2 support
2019-03-13 12:11:49 +01:00
Adrien Foulon
a520cb5f44
Rename function
2019-03-13 11:55:18 +01:00
Adrien Foulon
b2ad443db5
phpcs
2019-03-13 11:51:48 +01:00
Adrien Foulon
95cbe5c969
phpcs
2019-03-13 11:51:24 +01:00
Mike Jolley
b4cfef95a2
Stop calling notice file
2019-03-13 10:40:38 +00:00
Mike Jolley
54fac746b3
Remove unused notice file
2019-03-13 10:40:11 +00:00
Mike Jolley
6f4eeef2fe
Move deprecated notices to bottom of class and add deprecated tag
2019-03-13 10:37:30 +00:00
Adrien Foulon
13b5a07383
Update class-wc-admin-report.php
2019-03-13 11:35:42 +01:00
Adrien Foulon
ee403d6000
Improve the speed of the admin dashboard by only updating transients once per class
...
While debugging the admin dashboard I found out that some transients where updated up to 5 times during the page load, reading is fast but writting is costy, so the query where adding a total of 200ms to the page load (because they are also huge transients)
I've rewritten the transient storage procedure so that per class a transient is only written once at the end of the request
I also found that a continue was changed for a break line 139 for php7.3 and the new warning it incurs, the problem is it was changed the wrong way, it should have been a "continue 2" to continue the foreach and not a break.
That makes me wonder if some others like this may have slipped in the code.
2019-03-13 11:33:03 +01:00
Mike Jolley
ef352c2b48
Outofstock lookup
2019-03-13 10:10:24 +00:00
Mike Jolley
b4aa0c3915
use found rows
2019-03-13 10:06:49 +00:00
Mike Jolley
f5bd3be2c2
most stocked lookup table
2019-03-13 09:59:14 +00:00
Mike Jolley
ac21a4bc33
phpcs
2019-03-12 22:26:53 +00:00
Mike Jolley
3b98d2de8d
Switch low stock report to lookup table
...
Baseline page load time down from 60s to 0.7s
2019-03-12 22:26:46 +00:00
Mike Jolley
a6a035ec92
Fix low stock query to ref correct lookup table column
2019-03-12 22:16:42 +00:00
Rodrigo Primo
c4d6f3dac3
Replace deprecated WPCS rule
...
This commit replaces all the instances where the WPCS rule `WordPress.VIP.SlowDBQuery` was used with `WordPress.DB.SlowDBQuery`. `WordPress.VIP.SlowDBQuery` was deprecated in WPCS 2.0 and `WordPress.DB.SlowDBQuery` was added as a replacement (see 5f27d8e3a4/CHANGELOG.md (L130)
).
2019-03-12 11:24:09 -03:00
Mike Jolley
f8dded8b49
merge refactor/22762 into master
2019-03-12 13:49:10 +00:00
Mike Jolley
4ab3cc2204
Merge branch 'update/21017'
2019-03-12 13:45:48 +00:00
Mike Jolley
561afbabbd
Merge pull request #22949 from woocommerce/update/22929
...
Update order discount display
2019-03-12 13:35:42 +00:00
Mike Jolley
638812cdd3
Merge pull request #22904 from woocommerce/update/20577
...
Updates - Docs and ActionScheduler implementation
2019-03-12 13:21:48 +00: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
72870d808c
Merge pull request #22890 from woocommerce/fix/21785
...
Avoid changing tracking preferences when disconnecting helper
2019-03-11 17:04:29 +00:00
Mike Jolley
0211757e47
Merge pull request #22988 from woocommerce/fix/payment-custom-section-saving
...
Refactor WC_Settings_Payment_Gateways::save
2019-03-11 16:08:24 +00:00
Mike Jolley
dbfd06222a
tweak logic to only save ordering when section is empty
2019-03-11 16:06:53 +00:00
Mike Jolley
fbda3a91d8
Merge feature/add-tracks into master
2019-03-11 15:15:50 +00:00
Mike Jolley
b95bf94092
Merge pull request #22984 from woocommerce/fix/skip-order-count-query-when-filtered
...
Don’t query for an order count unnecessarily
2019-03-11 13:28:16 +00:00
Mike Jolley
de509ef041
Merge pull request #22982 from woocommerce/remove/blocks-notice
...
Remove Blocks Plugin Notif
2019-03-11 13:27:49 +00:00
Mike Jolley
e55bb84e8b
Merge pull request #22718 from woocommerce/experiment/product-sorting-index
...
Performance: product sorting lookup table
2019-03-11 13:27:10 +00:00
Gerhard
f40692003b
Rework payment gateway settings save functionality so it falls back to saving the current section.
2019-03-11 13:27:17 +02:00
Paul Sealock
6e2c67aef6
dont escape
2019-03-11 11:59:05 +13:00
Paul Sealock
60d478b642
wc_clean
2019-03-11 11:49:56 +13:00
Caleb Burks
afaf3482c4
Don’t query for an order count unnecessarily
2019-03-08 16:18:31 -06:00
Timmy Crawford
0ebefa53fd
Remove Blocks Plugin Notif
2019-03-08 11:09:15 -08:00
Mike Jolley
ddb134fe45
Redirection improvements
2019-03-08 15:11:23 +00:00
Mike Jolley
bea53ebf4f
Handle date offsets on save
2019-03-08 13:36:55 +00:00
Mike Jolley
d9ab3b106e
Clean up date lookup
2019-03-08 13:36:22 +00:00
Mike Jolley
6f35239a26
Move activate/deactivate hooks to main WC class
2019-03-08 12:50:06 +00:00
Mike Jolley
fcf2a1d027
Move helper includes into helper class
2019-03-08 12:48:40 +00:00
Mike Jolley
574de2e90c
Move helper headers into wc_enable_wc_plugin_headers so they always exist.
2019-03-08 12:44:33 +00:00
Mike Jolley
e7c8db0796
Merge pull request #22887 from woocommerce/update/22882-additional-system-status-values
...
Additional System Status Options
2019-03-08 10:15:45 +00:00
Mike Jolley
a3c2dcd8f2
Update from master
2019-03-08 09:50:56 +00:00
Paul Sealock
14d9678513
admin
2019-03-08 10:48:26 +13:00
Paul Sealock
ea4407de99
dione
2019-03-08 10:42:23 +13:00
Paul Sealock
09dec90831
getting there
2019-03-08 10:20:50 +13:00
Paul Sealock
9ee0912104
even more
2019-03-08 10:11:43 +13:00
Paul Sealock
712f06014d
moar
2019-03-08 10:08:34 +13:00
Paul Sealock
e9d02699c4
phpcs
2019-03-08 10:05:59 +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
Mike Jolley
33c576a2fd
Merge pull request #22570 from woocommerce/performance/slow-term-queries
...
Improve slow term ordering queries
2019-03-07 16:33:01 +00:00
Mike Jolley
0782d39a55
Stock status
2019-03-07 14:32:20 +00:00
Mike Jolley
1ab455ec09
virtual and downloadable
2019-03-07 14:07:51 +00:00
Mike Jolley
94b19dc3ca
SKU and price sorting using lookup table in admin
2019-03-07 13:47:15 +00:00
Mike Jolley
598ac86e95
Tests
2019-03-07 11:08:29 +00:00
Mike Jolley
89a4eba859
update from 22951
2019-03-07 10:58:14 +00:00
Jeff Stieler
68573f6ed5
Increase Tracks performance (perhaps..) ( #22829 )
...
* Don’t block on Tracks requests and lower timeout to 1s.
* Where possible, render Tracks pixels in the page footer instead of making a blocking HTTP request from the server.
* Add direct API call fallback for Tracks event pixels.
2019-03-06 15:55:49 -07:00
Mike Jolley
56fbcfd8af
Include inactive plugins in system status
2019-03-06 18:29:44 +00:00
Mike Jolley
7aa82a1829
Use day, not time, in status widget for caching
2019-03-06 17:25:35 +00:00
Mike Jolley
38816eb2ce
Update wording and presentation of discount amount
2019-03-06 16:39:28 +00:00
Mike Jolley
0f3be9fce4
phpcs
2019-03-06 16:17:33 +00:00
Mike Jolley
b07f3e21db
Merge branch 'master' into experiment/product-sorting-index
2019-03-06 12:54:40 +00:00
Mike Jolley
99455cfe34
update text
2019-03-06 12:00:54 +00: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
16a0a3e27e
Update from master
2019-03-05 19:03:01 +00:00
Mike Jolley
cc6ca5bdbd
Add deprecated
2019-03-05 19:00:37 +00:00
Mike Jolley
a5e72cfc02
Re-order elements and add tabindex
2019-03-05 14:22:59 +00:00
Mike Jolley
ac6763d0d0
Merge pull request #22820 from woocommerce/fix/22496
...
Make 'refund amount' read-only
2019-03-05 12:56:59 +00:00
haszari
6caaf80fa6
add a tooltip (Dismiss this suggestion) to clarify dismiss button
2019-03-05 12:20:13 +13:00
Paul Sealock
d968b95b53
Add opt in/out to settings page
2019-03-05 11:06:45 +13:00
Jeff Stieler
22c20b0d32
Where possible, render Tracks pixels in the page footer instead of making a blocking HTTP request from the server.
2019-03-04 08:59:21 -07:00
Mike Jolley
003a5bd188
Better placeholder replacement for footer
2019-03-04 14:53:19 +00:00
Joshua Flowers
10826c7bf0
Change wc_ prefix to woocommerce_
2019-03-04 14:16:05 +08:00
Joshua Flowers
9128e8c4f5
Add scripts to wc setup footer
2019-03-04 14:14:45 +08:00
Mike Jolley
5af9d968e5
Update from master
2019-03-01 10:29:17 +00:00
Joshua T Flowers
e53724832d
Tracks: Add tracking event when OBW is started ( #22877 )
...
* Check if current step matches event before firing
* Move step check to switch statement
* Track when the OBW has started
* Rename Jetpack activation tracking method
* Remove duplicate tracking optin check
* Track when option to track is udpated in OBW
* Check if tracking is actively being opted into in is_tracking_enabled()
* Move tracking start check into WC_Admin_Setup_Wizard_Tracking
* Clean up tracking opt-in check logic
2019-03-01 11:12:30 +08: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
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
611bf3b1dd
Price filter + stock widget requires lookup table
2019-02-28 14:24:05 +00:00
Mike Jolley
b903086251
Fix callbacks and remove logging
2019-02-28 11:52:56 +00:00
Mike Jolley
71afa5e590
Update notice wording
2019-02-28 11:16:09 +00:00
Mike Jolley
d59b1c39d7
Remove force link - it can be done in AS
2019-02-28 11:15:58 +00:00
Mike Jolley
d990b5192f
Switch to action scheduler
2019-02-28 11:11:08 +00:00
Mike Jolley
f81791dab9
Update notice text + docs links
2019-02-28 10:45:38 +00:00
Joshua T Flowers
a91adfa087
Tracks: Add selected payment gateways in OBW ( #22872 )
...
* Check if current step matches event before firing
* Move step check to switch statement
* Track payment gateways in OBW
* Combine arrays into comma separate strings
2019-02-28 11:58:08 +08:00
Mike Jolley
2e4bcebfb8
Ignore specific rules
2019-02-27 15:33:51 +00:00
Mike Jolley
a89caf0b89
Add wrapper for is_plugin_active
2019-02-27 15:25:27 +00:00
Mike Jolley
0b3a57c96f
Avoid changing tracking preferences when disconnecting helper
2019-02-27 14:04:50 +00:00
Mike Jolley
fd3173f63a
Hide 'other' payment method from invoice
2019-02-27 13:56:15 +00:00
Mike Jolley
0469bbe8b0
Merge pull request #22884 from woocommerce/fix/22861
...
Remember tracking setting when going through the OWB again
2019-02-27 13:46:31 +00:00
Gerhard
5cfa6fc3db
PHPCS fixes
2019-02-27 15:24:50 +02:00
Gerhard
497d082b03
Refine Dropin and MU Plugin report functionality a bit. Added option to show if connected to WooCommerce.com.
2019-02-27 15:19:12 +02:00
Gerhard
70f4935236
Fix logic to avoid setting to no again
2019-02-27 14:30:00 +02:00
Gerhard
bf57a037c6
First go at adding dropins and mu plugins to system status report
2019-02-27 14:27:53 +02:00
Gerhard
72ea7b05e7
Move tracking check to the if statement to avoid writing to the DB when it already has a value stored.
2019-02-27 13:38:36 +02:00
Gerhard
a1c3048318
Keep tracking enabled if already enabled when saving the wizard.
2019-02-27 12:55:49 +02:00
Konstantin Kovshenin
9447afbc47
Update Marketplace suggestions endpoint URL
2019-02-27 12:26:14 +03:00
haszari
d5287b3f07
switch in WCCOM new (versioned) suggestions host/URL
2019-02-27 16:12:38 +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
8dbda1b9c9
revert suggestion-related changes in helper:
...
- no longer required, now using active plugins for suggestions
- get_local_woo_plugins needs to not be cached
- left plugin `slug` in get_local_woo_plugins values, may be useful
2019-02-27 10:19:56 +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
Gerhard Potgieter
3455b2c1cb
Merge pull request #22830 from woocommerce/add/marketplace-updater-wc-queue
...
Update Marketplace suggestions data using WC_Queue
2019-02-26 17:55:33 +02:00
haszari
c45a39676c
use safe get for API request, linter fixes, doc comments
2019-02-26 10:07:42 +13:00
Krzysztof Grabania
946b1e2469
Remove whitespace characters from Select2 option title
2019-02-25 20:12:54 +01: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
1aff17f0b9
Merge branch 'feature/marketplace-suggestions' into add/orders-list-suggestions
2019-02-25 16:05:04 +13:00
haszari
556bd1b372
remove hard-coded test suggestion data
2019-02-25 13:34:59 +13:00
haszari
764926f30c
rename product edit suggestions contexts for consistency
2019-02-25 10:21:22 +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
041068a705
use full path when including container template, rename folder 'views'
2019-02-24 09:37:33 +13:00
Valerie
ca316d8933
OBW: Remove customized blurb on recommended step
2019-02-22 21:14:22 -05:00
Konstantin Kovshenin
1dad53d5e0
Update Marketplace suggestions data using WC_Queue
...
Schedules an update task to run as soon as possible to fetch the
suggestions data, and cache it for a week. Failures are cached for
a day.
2019-02-22 22:34:18 +03:00
Konstantin Kovshenin
a0af355a45
Change marketplace suggestions label to "Get more options"
2019-02-22 21:16:13 +03:00
Mike Jolley
27ac2e1577
phpcs
2019-02-22 13:33:41 +00:00
Mike Jolley
d07d1cf0b0
If taxes are enabled, make the refund box readonly
2019-02-22 13:30:49 +00:00
Konstantin Kovshenin
86d8065f3b
Remove debug code
2019-02-22 12:11:54 +03:00
Konstantin Kovshenin
25a72cc5f3
Add missing HTML template that renders the product data panel content
2019-02-22 12:03:58 +03:00
Konstantin Kovshenin
559409bccb
Remove hard-coded JSON test data
2019-02-22 11:55:56 +03:00
Konstantin Kovshenin
901d41bdfa
Marketplace suggestions in Edit Product screen
...
Adds a new tab to Woo's product data metabox and renders the
appropriate containers for JS to inject some Marketplace
suggestions.
2019-02-22 11:52:17 +03:00