Mike Jolley
8f37ea33ed
Refactored into list table classes
2017-11-03 16:10:32 +00:00
Mike Jolley
ed49c5b524
Styling improvements
2017-11-03 11:57:44 +00:00
Mike Jolley
2e1e9291bc
Remove trailing `.`
...
@claudiulodro Only affects master.
2017-11-02 18:29:34 +00:00
Mike Jolley
1f7ecd9fb9
Merge branch 'master' into tweak/order-screens
...
# Conflicts:
# assets/js/frontend/checkout.min.js
2017-11-01 16:52:21 +00:00
Mike Jolley
9c096b419f
Merge branch 'pr/17435'
2017-11-01 13:10:37 +00:00
Mike Jolley
ef4c05a393
Merge branch 'pr/17098'
2017-11-01 12:43:35 +00:00
Mike Jolley
415d1ab061
Use global if it exists to improve performance.
2017-11-01 12:43:26 +00:00
Mike Jolley
ff02941a53
Merge branch 'pr/17434'
2017-11-01 12:32:52 +00:00
Mike Jolley
80dfbc0ced
phpcs tweaks and escaping
2017-11-01 12:32:35 +00:00
veisis
fbd1b114db
Class name fix in docblock
2017-11-01 11:59:49 +02:00
Mike Jolley
43ba326ed9
Fix currency position with rtl symbols
2017-10-31 12:22:18 +00:00
Mike Jolley
cb998799c6
Merge pull request #17298 from dechov/update/ignore-existing-unit-option-values-in-wizard
...
Ignore existing unit option values in wizard in favor of national unit conventions
2017-10-30 12:55:06 +00:00
Claudio Sanches
4b13b6e79c
Merge pull request #17409 from woocommerce/tweak/invoice-email-name
...
Change title of Customer invoice email
2017-10-30 10:09:33 -02:00
Ryan Halliday
671b602db6
Added `{site_title}` replacement to Email footer
2017-10-28 15:18:53 +13:00
Shiva Poudel
289842aacf
Tweak - Order panel meta description
2017-10-28 06:37:29 +05:45
Gerhard Potgieter
1ee7033678
Only invoice in dropdown, too many customer usage.
2017-10-27 17:05:35 +02:00
Gerhard Potgieter
980d688ca0
Change invoice email title to "Customer invoice / Order details"
2017-10-27 15:01:02 +02:00
Mike Jolley
5824cb9358
Update stripe wording
...
Closes #16385
2017-10-27 13:48:48 +01:00
Paul Dechov
d048e4d355
Use measurement unit defaults in locale-info instead of hard coding
2017-10-26 09:28:18 -04:00
Paul Dechov
fee6f954dc
Ignore existing unit option values in wizard, in favor of national conventions
2017-10-26 09:21:35 -04:00
Marcin Bot
234d9e05a5
Fixed the jetpack redirect url for sites in subdirectories ( #17312 )
...
* Fixed the jetpack redirect url for sites in subdirectories
* Using admin_url instead of get_admin_url for consistency
* Wrapped the generated url in esc_url_raw
2017-10-26 13:40:54 +01:00
Paul Dechov
9c2df6486c
Default currency responds to country selection in setup wizard ( #17318 )
...
* Default currency responds to country selection in wizard
* Refactor to use wp_list_pluck
* Use <script> tag to define global instead of using hidden <input>
* Revert ignoring currency option value on page load
2017-10-26 13:39:54 +01:00
Claudio Sanches
6782cfaca5
Fixed how apply strtolower in columns names in the importer auto map
...
Now apply for all columns names, even when added by the filters.
2017-10-26 08:20:06 -02:00
Claudio Sanches
9f81791e17
Merge pull request #17358 from woocommerce/fix/17337-bases
...
Adjust how permalinks are retrieved and saved
2017-10-25 20:20:41 -02:00
claudiulodro
6cc5d5290c
Update to latest selectWoo
2017-10-25 13:51:37 -07:00
Mike Jolley
9d2a493cea
Prevent notice on settings page when accessing invalid tab
...
Closes #17367
2017-10-25 12:51:19 +01:00
Mike Jolley
e68f087659
When no permalinks are set, set the defaults and avoid switching locales
2017-10-24 16:29:04 +01:00
Mike Jolley
b0c9efbdc2
Merge pull request #17267 from Umangvaghela/fix-17264
...
fix 17264 issue
2017-10-18 08:25:50 -07:00
Paul Dechov
85af075566
Check for proper currency when getting WCS live rates carrier in setup wizard ( #17240 )
2017-10-18 11:09:33 -04:00
Umangvaghela
1b7b3f214e
fix issue
2017-10-18 15:11:59 +05:30
Mike Jolley
120d5b0768
Moved major update check into get_untested_plugins.
...
Prevents results returning when already on the major.
2017-10-17 08:27:55 -07:00
Mike Jolley
47a609edb7
Modal should only display for major updates
...
Fixes #17216
2017-10-16 21:50:44 -07:00
Mike Jolley
344456c115
Merge pull request #17234 from woocommerce/fix/17216
...
Scroll untested plugins list if it's too big
2017-10-16 21:08:07 -07:00
claudiulodro
4ebac67545
Scroll plugins list if it's too big
2017-10-16 09:10:20 -07:00
Umangvaghela
10fe92cfc1
Fix-minor-changes
2017-10-16 16:33:12 +05:30
Gerhard Potgieter
e4c961c3ba
Merge pull request #17194 from woocommerce/update/email-tweaks
...
Email template and admin tweaks
2017-10-13 17:10:08 +02:00
Mike Jolley
c1b83df5f6
Merge pull request #17174 from woocommerce/improve/17172
...
Add extra lines back in admin order summary
2017-10-13 15:24:51 +01:00
Mike Jolley
7df8f6bec6
Resend new order notification option
...
@kloon Stole your code.
Ref: #17186
2017-10-13 14:54:12 +01:00
Mike Jolley
98eeafcc29
Hide shipping/discount rows when not needed and match email wording.
2017-10-13 14:01:20 +01:00
Gerhard Potgieter
feffde2a73
Merge pull request #17167 from woocommerce/tweak/services-text-in-wizard
...
Tweak/services text in wizard
2017-10-13 11:32:51 +02:00
claudiulodro
b5e02ea6f6
Add extra lines back in admin order summary
2017-10-12 14:01:11 -07:00
Mike Jolley
8fa3ddde86
Tweaked intro text further about live rates
2017-10-12 18:29:23 +01:00
Mike Jolley
a447221213
wc_setup_wcs_tout is not used.
2017-10-12 17:19:47 +01:00
Mike Jolley
a1f4cc0464
Show what powers taxes and link, just like storefront
2017-10-12 17:19:17 +01:00
Mike Jolley
9198d636c5
This installs jetpack/services - be clear
2017-10-12 17:18:37 +01:00
Mike Jolley
806f80c8d2
Be explicit about what powers live rates
2017-10-12 17:18:15 +01:00
Claudiu Lodromanean
fb763a6deb
Merge pull request #17155 from woocommerce/fix/selectWoo-dependency
...
wc-admin-order-meta-boxes as a selectwoo dependency
2017-10-12 08:38:36 -07:00
Mike Jolley
2db0d1d4d6
Merge pull request #17151 from woocommerce/fix/shipping-rate-save
...
Fix tax rate save when only changing shipping checkbox
2017-10-12 12:33:46 +01:00
Mike Jolley
cffcaaf773
wc-admin-order-meta-boxes as a selectwoo dependency
2017-10-12 12:32:36 +01:00
Mike Jolley
47d69dad2d
Load videos when the help tab is opened, not before.
...
Closes #17145
2017-10-12 12:18:37 +01:00
Mike Jolley
0908bc0b13
phpcs
2017-10-12 11:26:55 +01:00
mehul0810
024eec53f8
Added Text Domain
2017-10-12 08:28:45 +05:30
mehul0810
3e2cf907eb
Modified message key
2017-10-12 08:27:41 +05:30
Mike Jolley
12d93803ee
Merge pull request #17121 from woocommerce/update/wizard-payments-copy
...
Update payment step copy for Stripe, and fixes margins/spacing
2017-10-11 10:17:57 +01:00
Marcin Bot
17e4f2a609
Merge pull request #17127 from woocommerce/fix/17122-setup-required-shipping-fields
...
Setup wizard - made the shipping cost fields required
2017-10-10 18:50:20 +02:00
Marcin Bot
01578d55c9
Wrapped the class name in esc_attr
2017-10-10 17:49:04 +01:00
Marcin Bot
eaf8a09e82
Setup wizard - made the shipping cost fields required
2017-10-10 16:59:08 +01:00
Jeff Stieler
24599524ba
Setup wizard: add “powered by” to automated taxes description.
2017-10-10 09:24:13 -06:00
Mike Jolley
6b357bcfdc
Updates the payment step copy and fixes margins
2017-10-10 15:40:03 +01:00
mehul0810
48e7575b10
Alignment Fix
2017-10-10 18:44:33 +05:30
mehul0810
aaa092159b
Added using CRUD
2017-10-10 18:44:12 +05:30
mehul0810
0a4307ce40
Modified confirmation popup message
2017-10-10 16:52:37 +05:30
Jeff Stieler
974f402017
Fix duplicate plugin install from wizard. ( #17114 )
...
* Setup wizard: avoid duplicate plugin installs.
* Setup wizard: use background flag to determine if Jetpack is being installed.
* Setup wizard: use wc_set_time_limit() instead of set_time_limit() to avoid potential warnings/errors.
2017-10-09 16:45:33 -06:00
Jeff Stieler
c5f097f319
Setup wizard: check for activate-step-specific GET parameters before hiding the step.
...
This was a bit overzealous, and broke successful connection flows from the wizard. (Introduced in 97faa49fc4
)
2017-10-09 08:55:30 -06:00
mehul0810
9d5da174b7
Message Text changed
2017-10-09 16:17:00 +05:30
mehul0810
914e31affb
Ask for confirmation popup only if sales is produced for a product
2017-10-09 16:16:22 +05:30
Mike Jolley
74fb3821e2
Merge pull request #17096 from woocommerce/add/17092-jetpack-tos-accept-flag
...
Setup wizard: set a flag when Jetpack is opted into.
2017-10-09 11:39:32 +01:00
Jeff Stieler
000295c0bf
Setup wizard: remove the “activate” step if Jetpack is already connected. ( #17099 )
...
* Setup wizard: remove the “activate” step if Jetpack is already connected.
* phpcs
2017-10-09 11:35:17 +01:00
mehul0810
1c9a5dbae8
Removed Comma
2017-10-08 15:35:14 +05:30
mehul0810
284c107b1a
Add Support for confirmation popup to Delete Permanently link under Trash status.
2017-10-08 15:33:53 +05:30
mehul0810
6e6af2285c
Added Message for Product permanent deletion
2017-10-08 15:28:23 +05:30
Jeff Stieler
4c66520989
Setup wizard: set a flag when Jetpack is opted into.
...
This is to be picked up by the WooCommerce Services extension.
2017-10-06 20:40:25 -06:00
Konstantin Kovshenin
70a72693c3
Helper: Fix automatic subscription activation
...
Fixes a bug where automatic subscription activation upon plugin
activation does not trigger due to the subscription being unlimited.
2017-10-06 17:12:55 +03:00
Valerie K
b4088c5d91
Wizard: Handle Jetpack install, activate, and connection errors ( #16983 )
...
* Wizard: Remove extra query arg in next step URL
Remove the activate_error query arg from
the URL for the next step.
* Wizard: Remove temp queued Jetpack install option
This is done so that the option does not remain
when going through the wizard again, or when going
back to previous pages.
It prevents an infinite loop from happening when
waiting for the Jetpack install and activation
to finish on the activate step.
* Wizard: Install and activate Jetpack if needed
Add function to install & activate Jetpack as needed.
Props to @jeffstieler for the idea, and the implementation/code:
https://github.com/Automattic/woocommerce-services/pull/1031#discussion_r122505316
https://github.com/Automattic/jetpack/blob/master/3rd-party/woocommerce-services.php#L101
Add a list of errors and a function to get the correct error message.
After clicking the connect Jetpack button, make sure that
Jetpack is installed and activated.
On error, redirect to the activate page with a query arg.
* Wizard: Show Jetpack error message if it exists
Always check for an error message when displaying
the activate step. If the error
message exists, display it at the top of the page.
* Remove redundant "if" so the $title in the Activate step is always a valid string
* Tweaked the "Server is on a private network" Jetpack activation error message.
2017-10-05 12:51:49 +01:00
Valerie K
61caed9cb8
Wizard: Add Stripe Email ( #17029 )
...
* Wizard: Add Stripe email input, show previously entered payment settings, only save settings for enabled gateways
2017-10-04 13:37:59 -06:00
Jeff Stieler
b72ad3f2cc
Setup wizard: fix logic error when detecting existing shipping zones. ( #16995 )
...
* Setup wizard: fix logic error when detecting existing shipping zones.
* Hide the shipping zones sections on the Shipping step if there are already shipping zones configured in the store.
2017-10-04 11:48:06 -06:00
Mike Jolley
38434e3288
Merge pull request #17052 from shivapoudel/fix/footer-text
...
Fix - Admin footer text
2017-10-04 14:44:46 +01:00
James Koster
e26302b1ff
Nothing to be translated any more!
2017-10-04 13:11:44 +01:00
James Koster
7c05dde430
Remove "Powered by WooCommerce" credit in default email footer text setting. closes #17053
2017-10-04 12:40:18 +01:00
Shiva Poudel
7cd968c69b
Fix - Admin footer text
2017-10-04 15:33:22 +05:45
Valerie
60e9258913
Wizard: Update option for types of product sold
2017-10-03 17:38:08 +02:00
Valerie
3ca5ded150
Wizard: Reset live rates options on save
2017-10-03 17:30:00 +02:00
Valerie
450236c8d9
Wizard: Update store setup text
2017-10-03 17:30:00 +02:00
Valerie
9da7925288
Wizard: Fix paragraph bottom margin
...
Avoid too little bottom margin when the paragraph
is the last paragraph on the page, but not the last element.
Avoid too much bottom margin when there were nonce fields
after the last paragraph on the page.
2017-10-03 17:29:22 +02:00
Valerie
9a2ab72cd6
Wizard: Style tracking option
2017-10-03 17:26:32 +02:00
Mike Jolley
e0421cd7bc
Replay protection on refunds
...
Sends the current refunded amount with the request, so if a refund is
attempted twice it will mismatch.
Fixes #13614
2017-09-28 16:17:13 +01:00
claudiulodro
a5c2ebb2f2
Bring up-to-date with master and recompile css
2017-09-27 13:32:09 -07:00
Jeff Stieler
f6c0054aa1
Setup wizard: use a setup wizard specific ID for the Jetpack connection URL.
2017-09-27 14:04:40 -06:00
Valerie
5e33fc0b58
Wizard: Fix bad email check for Stripe status
...
We are no longer asking for the user's email or
saving it, so it shouldn't be checked against.
2017-09-27 23:03:01 +03:00
Valerie
72f9ce08ac
Wizard: Move Jetpack TOS above button
2017-09-27 22:48:33 +03:00
Jeff Stieler
6793afed50
Setup wizard: for non-Services merchants, mention that Jetpack is for “extra” features on the activate step.
2017-09-27 13:27:52 -06:00
Valerie
b772b002a9
Wizard: Save payments enabled status
...
- toggle payment option on if its setting was previously saved,
or if it's listed as to be toggled on be default
- check if setting is saved as enabled in options
2017-09-27 22:26:13 +03:00
Jeff Stieler
3f7c3af3e5
Setup wizard: default Stripe gateway on, swap email input for opt-in account creation.
2017-09-27 13:14:13 -06:00
Jeff Stieler
7b9b09e9ad
Setup wizard: consolidate translations for Jetpack enabled features list as much as possible.
2017-09-27 12:46:01 -06:00
Valerie
8c2a2860e3
Wizard: Correctly save taxes opt-in status
...
- Make sure to save the option every time, even if not selected
- Show the corresponding state in the toggle
2017-09-27 20:05:41 +03:00
Valerie
0b2bad8122
Wizard: Update 'WP Admin' to 'dashboard'
2017-09-27 17:30:09 +03:00
Valerie
bd98a7098d
Wizard: Remove superfluous description in last step
2017-09-27 17:29:40 +03:00
Valerie
d6c94e4837
Wizard: Remove superfluous Extras description
2017-09-27 17:26:43 +03:00
Valerie
a09b7f1670
Wizard: Update shipping info text
2017-09-27 17:24:50 +03:00
Konstantin Kovshenin
d63eb56753
Helper: Add a new filter to display only installed extensions.
2017-09-27 15:17:24 +03:00
Mike Jolley
9800d72c82
Merge pull request #16949 from woocommerce/fix/16928
...
[Importer] Display error message when it's impossible to get a sample of the file
2017-09-27 13:01:20 +01:00
José Marques
409a3a0141
Helper: replaces path on logo image to new Woo theme location path
2017-09-27 11:07:19 +01:00
Jeff Stieler
3a3ae914a3
Setup wizard: add TOS blurb to the “activate” step.
2017-09-26 15:10:30 -06:00
Valerie
f183344a9c
Wizard: Style footnote on last page
2017-09-26 15:10:30 -06:00
Valerie
83d7b03883
Wizard: Style next actions section
2017-09-26 15:10:29 -06:00
Valerie
2348faf9e5
Wizard: style newsletter form
2017-09-26 15:10:29 -06:00
Valerie
f4bc596664
Wizard: Make payment service email required
2017-09-26 15:10:29 -06:00
Valerie
5a7db686c5
Wizard: Add placeholder to flat rate cost input
2017-09-26 15:10:29 -06:00
Valerie
aee55f4b68
Wizard: Style shipping method selection
2017-09-26 15:10:29 -06:00
Valerie
17a97ca3f7
Wizard: Remove inline CSS for unit dropdowns
2017-09-26 15:10:28 -06:00
Valerie
4be979f322
Setup wizard: Style email input for payment service
2017-09-26 15:10:28 -06:00
Valerie
1dadabaa56
Setup wizard: Style store info form
2017-09-26 15:10:28 -06:00
Valerie
244296b814
Setup wizard: Update button style
2017-09-26 15:10:27 -06:00
Valerie
426c0c2743
Setup wizard: Style Jetpack logo
2017-09-26 15:10:27 -06:00
Valerie
24e3db78ec
Setup wizard: Style Jetpack feature sections
2017-09-26 15:10:27 -06:00
Valerie
0f04645bea
Setup wizard: Show correct shipping text on select
2017-09-26 15:10:27 -06:00
Valerie
1960b6bcd1
Setup wizard: Fix thick border in toggle list
2017-09-26 15:10:27 -06:00
Valerie
18deb4dc2e
Setup wizard: Style shipping unit selection
2017-09-26 15:10:26 -06:00
Valerie
43949c2b74
Setup wizard: Add shipping units descriptions
2017-09-26 15:10:26 -06:00
Valerie
fc5aa77259
Setup wizard: Style shipping method description
2017-09-26 15:10:26 -06:00
Daniel Rey Lopez
a5d8c371b4
Added logic to install the plugins and themes asynchronously but without using wp-cron
2017-09-26 15:10:25 -06:00
Daniel Rey Lopez
28964433fb
Added wrapper function for installing a theme
2017-09-26 15:10:25 -06:00
Daniel Rey Lopez
73183634d2
Removed unused "background" argument, since it's always true
2017-09-26 15:10:25 -06:00
Daniel Rey Lopez
5c867094cc
Remove unused install_jetpack() function parameter.
2017-09-26 15:10:25 -06:00
Jeff Stieler
3ba7617594
Setup wizard: change copy to “recommended” extras.
2017-09-26 15:10:24 -06:00
Jeff Stieler
09bbb1c3de
Setup wizard: update the copy in several places.
2017-09-26 15:10:24 -06:00
Jeff Stieler
5ced91d56f
Setup wizard: update comments to have ending punctuation and fix a few typos.
2017-09-26 15:10:24 -06:00
Jeff Stieler
47085db0b2
Setup wizard: refactor featured service check to be more efficient.
...
Use `empty()` instead of `isset()` and a comparison.
2017-09-26 15:10:24 -06:00
Jeff Stieler
e220926b65
Setup wizard: remove markup (where possible) from the translated Stripe service description.
2017-09-26 15:10:24 -06:00
Jeff Stieler
e4614b39e3
Setup wizard: make Stripe an opt-in gateway, rename “manual payments” to “offline” payments to align with the header text.
2017-09-26 15:10:24 -06:00
Jeff Stieler
e6dc95432a
Setup wizard: hide settings until a service is enabled.
2017-09-26 15:10:23 -06:00
Jeff Stieler
3a09d74ed4
Setup wizard: use email address of the current user (not the admin) on payments and “ready!” steps.
2017-09-26 15:09:44 -06:00
Jeff Stieler
27c6a3a141
Setup wizard: clean up unused array keys when determining Stripe country support.
2017-09-26 15:09:44 -06:00
Jeff Stieler
202808fdb8
Setup wizard: fix missing translations on payments step.
2017-09-26 15:09:43 -06:00
Jeff Stieler
3fda0f00a0
Setup wizard: remove contraction and add oxford comma to tailored “activate” step messaging.
2017-09-26 15:09:43 -06:00
Jeff Stieler
a3ce6b8e81
Setup wizard: fix coding standard issues with “activate” step tailored messaging.
2017-09-26 15:09:43 -06:00
Marcin Bot
5c3e505539
Fixed the way the Jetpack string is translated
2017-09-26 15:09:43 -06:00
Marcin Bot
d2116c576c
Tailored the Jetpack step message to the services selected
2017-09-26 15:09:42 -06:00
Jeff Stieler
592508fc49
Setup wizard: ensure that the current user can install plugins for any setup feature that requires it.
2017-09-26 15:09:42 -06:00
Jeff Stieler
e19db10be8
Setup wizard: short circuit the shipping zone setup earlier.
2017-09-26 15:09:42 -06:00
Jeff Stieler
4bf21b9724
Setup wizard: remove now unused locale and tax interactions from client side script.
2017-09-26 15:09:41 -06:00
Jeff Stieler
b5fba545f6
Setup wizard: set currency formatting options based on store location.
2017-09-26 15:09:41 -06:00
Jeff Stieler
6c08b9644b
Setup wizard: wait for in-progress Jetpack installation to complete before submitting form.
...
We need to know that Jetpack is active before moving to the next step. The previously logic fired off a synchronous installation that caused a race condition.
2017-09-26 15:09:41 -06:00
Jeff Stieler
c4c19623c0
Setup wizard: set flag for queued Jetpack installs.
...
This sets up the ability to avoid installation race conditions.
2017-09-26 15:09:41 -06:00
Jeff Stieler
337e3c02e4
Setup wizard: queue Jetpack installation ahead of payment gateways.
2017-09-26 15:09:41 -06:00
Jeff Stieler
c0bc74154d
Setup wizard: fix PHP warnings when saving shipping method settings.
2017-09-26 15:09:40 -06:00
Jeff Stieler
325cea86c6
Setup wizard: keep user in setup wizard in case of Jetpack connection error.
2017-09-26 15:09:40 -06:00
Jeff Stieler
b85d311dff
Setup wizard: save shipping method settings chosen on shipping step.
2017-09-26 15:09:40 -06:00
Jeff Stieler
081bcb2fc2
Setup wizard: refactor shipping method form rendering to group inputs into an array.
2017-09-26 15:09:39 -06:00
Jeff Stieler
96b0fcaacf
Setup wizard: simplify automated tax eligibility check.
...
Use the WC_Countries class to gather EU countries.
2017-09-26 15:09:39 -06:00