Commit Graph

521 Commits

Author SHA1 Message Date
Mike Jolley b2542d7e8c Missing rest api class in wizard 2019-02-05 17:41:17 +00:00
Paul Dechov 4164305b3c OBW: Offer Storefront when WP 5.0 default theme is active
Because the OBW hadn't been updated to consider Twenty Nineteen a default theme, Storefront was omitted from the 'Recommended' step on the basis of Twenty Nineteen's WooCommerce support.
2019-02-04 09:58:39 -05:00
Gareth Allison 2dcc823e46 Updates mentions of "MailChimp"
Updates mentions of "MailChimp" to "Mailchimp" as per their branding guidelines: https://mailchimp.com/about/brand-assets/
2019-01-21 16:34:31 +02:00
Valerie 94275039cd OBW: Fix ShipStation plugin info so install works 2018-11-16 14:06:58 -05:00
Jeff Stieler b9b9f191e9 Setup wizard: store shipping label opt-in in options table, use for “activate” step feature list. 2018-10-25 11:43:13 -04:00
Jeff Stieler 950f0c4688 Setup wizard: remove mention of live shipping rates from “activate” step. 2018-10-24 08:57:09 -04:00
Jeff Stieler 5fbbd38728 OBW: update to official ShipStation plugin slug. 2018-09-21 10:48:10 -06:00
Jeff Stieler 1dc6a1c66d OBW: fix PHPCS errors. 2018-09-06 09:13:58 -06:00
Jeff Stieler 412a3fb17f OBW: render the product dimension and weight units selection inline in a sentence. 2018-08-30 15:36:08 -06:00
Jeff Stieler b3532dc4de OBW: hook up WCS / ShipStation install in shipping step save handler. 2018-08-30 15:36:08 -06:00
Jeff Stieler c179f7c5c6 OBW: remove live rates method setup from shipping step save handler. 2018-08-30 15:36:08 -06:00
Jeff Stieler fde57ab5d9 OBW: recommend either WCS or ShipStation (based on location) for label printing on shipping step. 2018-08-30 15:36:08 -06:00
Jeff Stieler 2a243915f1 OBW: remove now defunct WCS shipping carrier by country helper function. 2018-08-30 15:36:08 -06:00
Jeff Stieler 23e0174c19 OBW: add information about live rate extensions to shipping step.
This commit also refactors the script/style enqueueing in the wizard.
2018-08-30 15:36:08 -06:00
Jeff Stieler 934b6e1698 OBW: remove live rates from shipping step. 2018-08-30 15:35:16 -06: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
Jeff Stieler 0028902eb2 OBW: change Stripe and PayPal account creation to opt-out and remove descriptions. 2018-08-29 16:44:47 -06:00
Gerhard Potgieter 1b98c1e22e Hide activate step on wizard when the user does not have install_plugins capability, administrators on multisites cannot install plugins, only super admins are allowed. 2018-08-16 12:38:27 +02:00
Paul Dechov adceaffaa2 OBW: Change name of PayPal Express Checkout gateway to match rebranding 2018-07-04 10:46:19 -04:00
Rodrigo Primo 7cdcae5bff Check if $_POST['store_state'] is set before using it
Fixes #20684
2018-07-03 09:48:35 -03:00
Rodrigo Primo a106b324bf Ignore specific PHPCS rules instead of all rules 2018-07-03 09:42:59 -03:00
Dan Wyman f41b774dc2 Mailing list - update form action
Mailing list form now identifies itself to the mailing list server.
2018-06-15 14:27:43 -07:00
Mike Jolley 34e27fa930 Missed a json encode 2018-05-30 14:05:06 +01:00
Mike Jolley e1ba7f4b93 Introduce is_paypal_supported_currency check in setup wizard 2018-05-25 17:28:56 +01:00
Paul Dechov a611c1e329 Adjust recommended item to used stylized checkbox 2018-05-07 09:39:44 -04: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
Paul Dechov 44cf10e8cc Fix phpcs issues 2018-05-03 09:35:09 -04:00
Paul Dechov 099e4b9703 Refactor: move code around for more logical grouping 2018-05-03 04:45:01 -04:00
Paul Dechov 64a47cd7cd Show WCS and Jetpack only if they are not aleady active 2018-05-02 23:49:58 -04:00
Paul Dechov 9cd72562a8 Update plugin list on shipping zone toggle 2018-05-02 23:35:42 -04:00
Paul Dechov 2cfbe0a1f0 Remove 'will be installed and activated' messaging in other places 2018-05-02 22:36:47 -04:00
Paul Dechov bdf6188ed6 Change payment gateway names to plugin name 2018-05-02 17:28:09 -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
Lauren Smith 80835e3aca Updating repo slug for PayFast in the onboarding wizard 2018-05-02 15:38:16 -05:00
Gerhard Potgieter 07dcf77f6f Deffer first tracker send to a cron instead of direct calling it. 2018-04-24 14:16:41 +02:00
Mike Jolley 8a05930cba
Merge pull request #19761 from woocommerce/update/obw-save-locales-measurement-units-when-saving-address
OBW: Save locale-specific measurement units upon saving address
2018-04-18 11:09:48 +01:00
Mike Jolley b05ac76303
Merge pull request #19762 from woocommerce/update/obw-store-state-control-in-store-setup-form-layout
OBW: Position State select between City and Zip inputs
2018-04-18 11:04:41 +01:00
Paul Dechov c1211e5f03 OBW: Move store State dropdown between City and Zip 2018-04-17 23:16:59 -04:00
Paul Dechov 8c8e18d25b OBW: Save locale-specific measurement units upon saving address 2018-04-17 22:52:42 -04:00
Jeff Stieler e2d6656124 OBW: show PayFast payment gateway to merchants in South Africa. 2018-04-17 17:45:43 -06:00
Claudiu Lodromanean 59d967c859
Merge pull request #19754 from woocommerce/add/obw-eway-payment-gateway
OBW: Show eWAY payment gateway to merchants in AUS/NZ.
2018-04-17 16:33:41 -07:00
Jeff Stieler 098115006e OBW: prevent MailChimp from redirecting after activation. 2018-04-17 17:15:14 -06:00
Jeff Stieler baa2180221 OBW: Show eWAY payment gateway to merchants in AUS/NZ. 2018-04-17 15:05:34 -06:00
claudiulodro 6d8946048f Add skip link to recommended step and make skip links darker 2018-04-17 13:55:23 -07:00
Valerie 43ab4b25ae OBW: Update Recommended step description 2018-04-17 13:51:49 -04:00
Valerie 551db8246e OBW: Add MailChimp to recommended step 2018-04-17 13:51:49 -04:00
Valerie c1e55cd6a5 OBW: Update automated taxes option 2018-04-17 13:51:48 -04:00
Valerie 452491d12d OBW: Update Storefront description and style 2018-04-17 13:51:46 -04:00
Valerie cadcd562d8 OBW: Rename Extras Step as Recommended 2018-04-17 13:14:27 -04:00
Paul Dechov 73884400f1 Remove unnecessary 'file' value for existing plugins 2018-04-16 07:21:04 -04:00
Paul Dechov 2b118c8ba8 Always check for active plugin in wizard before scheduling install
Check for active plugin independent of whether 'file' is present. Also omits directory from 'file' string and prepends [slug]/ to it.
2018-04-16 07:20:42 -04:00
Mike Jolley 5bc26ebd79 Merge branch 'master' into update/17427 2018-04-03 14:38:49 +01:00
Mike Jolley 57378785bf Split up state and country fields 2018-03-27 19:32:04 +01:00
Mike Jolley 38c29204d4 Include US in US dollar dropdown so it's searchable 2018-03-27 18:35:15 +01:00
Mike Jolley 0c3ab5d485 Update currency text to make it clear it's to accept payments 2018-03-27 13:35:13 +01:00
Mike Jolley dd3b998851 Tweak wording for opt-out 2018-03-27 13:00:19 +01:00
Mike Jolley ce7caa8029 Merge branch 'master' into fix/19284 2018-03-19 13:01:31 +00:00
Mike Jolley f7056a4284 missing echo 2018-03-19 12:59:50 +00:00
Mike Jolley a60e51afe1 Merge branch 'master' into update/setup-wizard-activate-step-when-jetpack-connected 2018-03-14 12:49:44 +00:00
Mike Jolley f771e323d9 Set opt-in/out based on geolocation data and DNT headers 2018-03-14 12:32:40 +00:00
Mike Jolley 69b09af0f0 Merge branch 'master' into fix/19175 2018-03-07 10:33:24 +00:00
Mike Jolley 696c1186f0 Update text and opt-in 2018-03-07 10:32:47 +00:00
Mike Jolley 88c7c1333b No back links, better link styling 2018-03-05 21:59:32 +00:00
Mike Jolley 1536d50824 Merge branch 'master' into update/18389-wizard-steps-improvements 2018-03-05 20:24:26 +00:00
Rodrigo Primo 23b69eba53 Use phpcbf to fix coding standard violations in includes/admin
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Mike Jolley f0fc684704 Wording update 2018-03-02 16:44:26 +00:00
Mike Jolley bd91ea27ab Update tracker to be opt-in and contain proper instructions
Fixes #19175
2018-03-01 19:31:30 +00:00
Claudio Sanches 7da77237a2 Fixed coding standards 2018-02-21 18:19:38 -03:00
Claudio Sanches 2f6795a2c8 Fixed undefined index after running setup wizard two times on fresh install 2018-02-21 18:15:50 -03:00
Caleb Burks 3469d47947 Prevent shipping zones PHP notice in wizard 2018-02-20 02:33:06 -05:00
Paul Dechov d35f76136e Only show the Activate step if Jetpack isn't connected or WCS features were chosen 2018-02-16 23:23:41 -05:00
Paul Dechov b8c57576e6 Update graphic to WCS banner design 2018-02-16 18:07:04 -05:00
Paul Dechov 5d71521d6a Omit 'Reasons you\'ll love Jetpack' if Jetpack is already connected 2018-02-15 17:49:18 -05:00
Paul Dechov 16649fa7d9 Show 'Activate' step even when Jetpack is connected, to accept WCS terms of service 2018-02-15 17:48:37 -05:00
Caleb Burks 19e3126e54 Add additional wizard next steps 2018-02-10 18:51:25 -05:00
Caleb Burks 0b228c4fda Add ability to go back to prev steps during setup 2018-02-10 18:28:07 -05:00
nishitlangaliya 70ea46d573 rephrasing create a first product to as per suggestion ref #18785 2018-02-06 06:35:15 +05:30
Mechiel Couvaras 8d6f434ba0
Update Klarna URL to relevant versions
Updating Klarna URL to point to the relevant product page (region specific) on WooCommerce.com
2018-01-29 15:40:53 +02:00
Paul Dechov 25373cadee Tweak spacing of store setup step towards original static design 2018-01-24 17:21:04 -05:00
Paul Dechov 98fe2c7c3e Remove newline and whitespace from dropdown option tooltips 2018-01-24 10:31:16 -05:00
Paul Dechov e5d00fa98e Fix payment addons link again 2018-01-23 18:25:44 -05:00
Paul Dechov 7f973c2c79 Tweak Activate step lower heading to reflect listing of features of above 2018-01-23 18:20:47 -05:00
Paul Dechov 591dd9ec2d Clarify 'payments' (in WCS feature list) to 'payment setup' 2018-01-23 18:19:12 -05:00
Paul Dechov 4eb1c182b2 Point PPEC extension link to woocommerce.com instead of wordpress.org 2018-01-23 18:16:33 -05:00
Paul Dechov 3dee78ea54 Tweak variable name 2018-01-17 12:43:44 -05:00
Paul Dechov dc884c5e2f Refactor so as to leave 'enabled' setting alone in case gateway was already enabled 2018-01-16 16:15:30 -05:00
Paul Dechov fcf3d368f2 Setup wizard: if selected, activate but disable PPEC gateway by default 2018-01-16 16:14:35 -05:00
Mike Jolley 243c664030 Wording update 2018-01-12 12:29:22 +00:00
Mike Jolley 89c888d654 phpcs 2018-01-12 11:33:26 +00:00
Mechiel Couvaras 294b2cca74
Update class-wc-admin-setup-wizard.php
Update to Klarna copy as per their specification.
2018-01-10 12:42:47 +02:00
Paul Maiorana 00da05c437
Update description for Square per their feedback. 2018-01-05 14:31:37 -05:00
Claudiu Lodromanean 14c2180928
Merge pull request #18279 from woocommerce/fix/setup-wizard-service-style-tweak
Setup wizard: adjust styling for service child elements
2018-01-03 09:38:28 -08:00
Paul Dechov e03f0c201f Align service name logos to top, and adjust padding 2018-01-03 10:43:26 -05:00
Paul Dechov a87183503f Fix api_subject option being set even when reroute_requests unchecked 2017-12-22 14:57:50 -05:00
Gerhard Potgieter 4ba9af1c2f Change WC::is_active_theme into a global function wc_is_active_theme. Clean up the conditional checks to read better. 2017-12-15 14:32:54 +02:00
Gerhard Potgieter 2907725e5c Display storefront theme in wizard when theme does not support woocommerce, or a default theme.
Closes #18182
2017-12-15 10:23:31 +02:00
Mike Jolley e3b61f6203
Merge pull request #18151 from woocommerce/fix/18149
Save offline gateways in wizard
2017-12-14 16:45:20 +00:00
Mike Jolley 1555507756
Merge pull request #18123 from woocommerce/update/setup-wizard-omit-paypal-standard
Setup wizard: Omit PayPal Standard unless plugins cannot be installed
2017-12-14 16:42:03 +00:00
claudiulodro cf86647de3 Save offline gateways in wizard 2017-12-13 13:38:33 -08:00
Paul Dechov 8f3de46637
Merge branch 'master' into update/setup-wizard-omit-paypal-standard 2017-12-13 09:41:25 -05:00
Paul Dechov d7ae29fe51 Fix UK country code in Square support check 2017-12-13 09:37:15 -05:00
Paul Dechov f4c557a9be Add test verifying that the correct list of payment gateways is returned per country 2017-12-13 09:35:43 -05:00
Mike Jolley 71c9025709 Updates CSS for chevron to work across browsers - input::before is not supported in Firefox. 2017-12-13 14:30:00 +00:00
Paul Dechov b1b604b401 Fix stripe being shown in Klarna and Square cases regardless of Stripe support
No difference in practice, since I believe all Klarna and Square countries are supported by Stripe, but for robustness this should be explicitly checked.
2017-12-12 20:39:04 -05:00
Paul Dechov b26a3ca1a2 Fix 'Klarna Payments' name 2017-12-12 20:22:01 -05:00
Paul Dechov 4511c5ae12 Make PPEC opt-out in every case 2017-12-12 20:21:21 -05:00
Paul Dechov 1706c3e152 Refactor 'get_wizard_in_cart_payment_gateways' function
Extract function that returns all possible in-cart gateways, and tighten the logic overall.
2017-12-12 20:20:26 -05:00
Paul Dechov 080c5b50e7 Omit PayPal Standard unless plugins cannot be installed 2017-12-12 14:04:36 -05:00
Paul Dechov 200c6780e9 Setup wizard: omit unnecessary sentence from PPEC settings description 2017-12-12 13:57:46 -05:00
Mike Jolley a89b8cd707 Update the logo in the wizard 2017-12-12 17:38:10 +00:00
claudiulodro 4af3f9f12f Add class back to paypal in wizard 2017-12-12 08:24:35 -08:00
claudiulodro ba363b6353 Bring up-to-date with master and resolve conflicts 2017-12-11 11:36:00 -08:00
claudiulodro 3b94d0c52b Bring up-to-date with master and resolve conflict 2017-12-11 10:27:05 -08:00
Paul Dechov 0f84a5eb4b Revise checkbox label 2017-12-11 09:50:27 -05:00
Marcin Bot d0756a4a36 Fixed the undefined index notice 2017-12-07 11:20:04 +00:00
Paul Dechov 1433347eda Remove unused description string for Braintree 2017-12-06 15:36:46 -05:00
Paul Dechov f2cc10922a Add full stops to code comments 2017-12-06 14:53:31 -05:00
Paul Dechov c75f5f54af Show PPEC instead of Braintree in US, and remove Braintree altogether 2017-12-06 10:02:32 -05:00
Paul Dechov 94da7ffbed Default PPEC to enabled 2017-12-06 10:01:55 -05:00
Paul Dechov 28c4dc0fbe Install WCS if PPEC settings set 2017-12-06 09:19:39 -05:00
Paul Dechov eecd0db0f0 Tweak checkbox label 2017-12-06 09:19:08 -05:00
Paul Dechov 4155f02ec8 Make sure PPEC settings are opened if enabled on load 2017-12-06 09:18:06 -05:00
Marcin Bot 0d12b31a13 Updated the Klarna logo 2017-12-06 14:04:28 +00:00
Paul Dechov 6500b11db8 Adjust logo widths to match design and approximately equalize prominence 2017-12-05 19:55:43 -05:00
Paul Dechov 9a3b63036f Address 'Undefined index' notice by checking for set param 2017-12-05 14:56:15 -05:00
Paul Dechov 570a2e9512 Add PPEC settings to wizard, to facilitate rerouting via WCS 2017-12-05 14:53:44 -05:00
Marcin Bot 399e2893e1 Updated the Klarna logo 2017-12-05 17:06:35 +00:00
Marcin Bot 10f912a0a9 Split Klarna into two plugins and updated their display logic 2017-12-05 16:38:19 +00:00
Marcin Bot d1e4d0fe3c Fixed a <label>'s id 2017-12-05 16:21:36 +00:00
Marcin Bot fbc630114c Fixed the payment gateways link 2017-12-05 16:21:36 +00:00
Marcin Bot 628906a5bc Added Klarna and Square CSS classes 2017-12-05 16:20:15 +00:00
Marcin Bot 6dae7f3451 Fixed an i18n domain 2017-12-05 16:20:15 +00:00
Marcin Bot 8b0e0e3df4 Fixed the copies 2017-12-05 16:20:15 +00:00
Valerie 8c6d069377 Add Square to wizard payment step 2017-12-05 16:20:15 +00:00
Valerie e28341a9a3 Wizard: Ask user if selling in person 2017-12-05 16:20:15 +00:00
Valerie 6d2ca0fd15 Add Klarna to wizard payment step 2017-12-05 16:20:15 +00:00
Claudio Sanches f395fcd2e8 Fixed missing text domain in setup wizard 2017-11-20 22:08:23 -02:00
Valerie e9985146d5 Wizard: Fix escaping in payment description 2017-11-16 11:29:21 -05:00
claudiulodro 3c5ede6e14 Dont need placeholder any more 2017-11-07 11:41:12 -08:00
claudiulodro 862060cba9 Add default to "What type of product do you plan to sell" 2017-11-07 11:39:37 -08:00
Gerhard Potgieter 8add04b92e Change input to button for submit in class-wc-admin-setup-wizard.php 2017-11-06 14:31:22 +02:00
Gerhard Potgieter 99f38e72c1 PHPCS changes for class-wc-admin-setup-wizard.php 2017-11-06 14:26:17 +02: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
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