Commit Graph

519 Commits

Author SHA1 Message Date
Gerhard 6d09d0efcf Fix OWB sell in person vertical alignment 2019-09-30 19:31:50 +05:30
Justin Shreve 9dfdfbf532 Check the box if the user goes back to setup and previously checked it 2019-09-26 11:31:46 -04:00
Justin Shreve 0c3fc315c5 Update tracking opt-in UI. 2019-09-24 14:26:21 -04:00
Yash Kapoor 6443515064
Update class-wc-admin-setup-wizard.php
Fixed escaping function for attribute values.
2019-08-28 19:16:24 +05:30
Yash Kapoor c3791673ef
Update class-wc-admin-setup-wizard.php 2019-08-22 17:14:34 +05:30
Yash Kapoor 365a701d34
Update class-wc-admin-setup-wizard.php
Added translation.
2019-08-22 16:40:57 +05:30
Claudio Sanches c63cd802aa
Merge pull request #23957 from woocommerce/feature/feature-plugin-packages
Include external feature plugins as packages
2019-07-10 15:47:48 -03:00
Claudio Sanches 5b8694e92a
Merge pull request #23915 from woocommerce/fix/23544
[Setup] Make PostCode optional as few countries don't use them
2019-07-10 15:45:32 -03:00
Mike Jolley c928188831 Update from master 2019-07-10 12:57:02 +01:00
Rodrigo Primo 53df16b2b5
Merge pull request #23781 from woocommerce/try/obw-changes
OBW: Switch shipping labels and shipping zones placement
2019-07-09 16:06:38 -03:00
vedanshujain dd783615cc Use helper method instead of `wp_list_pluck` to avoid notices
In country locales, many times configuration for postcodes may not be defined. In these cases, using `wp_list_pluck` will throw notices.

We now use a small helper method to extract post code configuration from country locales.
2019-07-09 18:13:27 +05:30
vedanshujain e2577b3a06 [Setup] Make PostCode optional as few countries don't use them
Some countries like Hong Kong, UAE etc don't use post codes, in which case this commit will make the field optional.
If its not known whether a country uses postcode or not, it will be required.
2019-07-09 14:37:03 +05:30
Paul Sealock 8777dc4c01 Revert title to WooCommerce Admin 2019-07-05 16:11:35 +12:00
Paul Sealock 1116e5516d update 'free' usage and wc-admin description 2019-07-05 16:10:10 +12:00
Paul Sealock 01f428d34f install plugin 2019-07-03 13:12:24 +12:00
Paul Sealock b65ce3dd26 OBW: Add wc-admin to recommended page 2019-07-03 13:02:07 +12:00
Mike Jolley ed0a4aae1f update shipping saving in setup wizard 2019-06-21 13:59:51 +01:00
Valerie 136613f539 OBW Shipping: Update labels description
- replace "Print shipping labels at home" heading with
"Did you know you can print shipping labels at home?"
- Use new description for WooCommerce Services:
"'Use WooCommerce Shipping (powered by WooCommerce Services & Jetpack)
to save time at the post office by printing your shipping labels
at home."
- do not capitalize post office
2019-05-23 22:17:17 -04:00
Valerie b379739ea6 OBW Shipping: Switch label and zone sections 2019-05-23 22:17:13 -04:00
Valerie 6d77056e77 OBW: Fix stranded ul closing tag 2019-05-23 22:17:03 -04:00
Rodrigo Primo f8642f2fbb Remove code duplication from OBW payment gateway logic
In #23690 we implemented a few changes to the logic to decide which
payment gateways to display in the onboarding wizard. When working on
this code, we noticed that there was a bit of duplication in it that was
not necessary (see
https://github.com/woocommerce/woocommerce/pull/23690#discussion_r284004924).
We opted to remove this duplication in a different commit, since that PR
was included in a patch release.
2019-05-17 10:32:06 -03:00
Gerhard 0eef8654f6 payapal enabled setting defaults to false 2019-05-16 16:08:46 +02:00
Gerhard 99b183e5bb Refactor paypal and stripe combined logic, add fallback to specified settings when previously saved settings were detected by no option present for the enabled setting. 2019-05-16 15:35:29 +02:00
Gerhard b0a831b64f OWB: Check PayPal by default when Stripe not available. 2019-05-16 15:26:58 +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
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 f18542aa71 remove slash from currency code string 2019-04-17 12:06:57 +01:00
Rodrigo Primo 20e9701583 Bump selectWoo.full.js version 2019-04-16 14:33:31 +01: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
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 fbda3a91d8 Merge feature/add-tracks into master 2019-03-11 15:15:50 +00:00
Paul Sealock 60d478b642 wc_clean 2019-03-11 11:49:56 +13:00
Paul Sealock ea4407de99 dione 2019-03-08 10:42:23 +13:00
Paul Sealock e9d02699c4 phpcs 2019-03-08 10:05:59 +13:00
Mike Jolley a5e72cfc02 Re-order elements and add tabindex 2019-03-05 14:22:59 +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 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
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
Gerhard 70f4935236 Fix logic to avoid setting to no again 2019-02-27 14:30:00 +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
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
Valerie ca316d8933 OBW: Remove customized blurb on recommended step 2019-02-22 21:14:22 -05:00
Mike Jolley 7def966e4f Impoved JSON handling 2019-02-20 12:00:47 +00:00
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