Commit Graph

23412 Commits

Author SHA1 Message Date
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 a15b44d6ec Setup wizard: fix form submit UI blocking when HTML5 form validation isn’t available. 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 17a72b39ab Setup wizard: only hook into method selection change event on shipping step. 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
Jeff Stieler e8ee3fd35a Setup wizard: enable tax calculation if automated taxes are enabled. 2017-09-26 15:09:39 -06:00
Jeff Stieler 5642868436 Setup wizard: add method-specific settings and descriptions to shipping step. 2017-09-26 15:09:39 -06:00
Jeff Stieler 58a289dc20 Setup wizard: only toggle service enable control when its direct parent is clicked. 2017-09-26 15:09:38 -06:00
Jeff Stieler 59ca25aba7 Setup wizard: fix UI block when HTML5 form validation fails. 2017-09-26 15:09:38 -06:00
Jeff Stieler 2e85ff1c0e Setup wizard: revert to combined country/state selection in initial step. 2017-09-26 15:09:38 -06:00
Jeff Stieler 5f5a4da48d Setup wizard: update “ready” step overall structure.
Removed tweet, updated text. Note: completely unstyled.
2017-09-26 15:09:38 -06:00
Jeff Stieler 1a8cb7a6a4 Setup wizard: update “activate” step overall structure.
Change the Jetpack feature descriptions, graphic, placement of CTA button. Note: completely unstyled.
2017-09-26 15:09:38 -06:00
Jeff Stieler 189fbd571b Setup wizard: remove now unused “theme” step. 2017-09-26 15:09:37 -06:00
Jeff Stieler 1034dc597b Setup wizard: “extras” step save handler. 2017-09-26 15:09:37 -06:00
Jeff Stieler 4daef097fd Setup wizard: replace “theme” step with “extras” step.
Presentation only. Determine need for a WooCommerce theme and support for automated taxes, showing options to enable each. If the store isn’t eligible for either, hide the step entirely.
2017-09-26 15:09:37 -06:00
Jeff Stieler 90acbe97b4 Setup wizard: update shipping step save method.
The shipping step now detects if live rates can be configured and allows the user to add shipping methods to a domestic and international zone. Note: flat rate shipping still needs an input for rate.
2017-09-26 15:09:37 -06:00
Jeff Stieler d1c5b8239b Setup wizard: basic layout changes for shipping step.
Still needs finer touches in styling and dynamic descriptions for shipping method options.
2017-09-26 15:09:37 -06:00
Jeff Stieler 32dcfaa080 Setup wizard: fix PHP warning ‘undefined index’ in service item display method. 2017-09-26 15:09:36 -06:00
Valerie 666983bfaa Setup wizard: Fix spacing 2017-09-26 15:09:36 -06:00
Valerie afd9646c8f Setup wizard: Add country-based intro to Shipping 2017-09-26 15:09:36 -06:00
Valerie d9e4092281 Setup wizard: Fix list toggle name color 2017-09-26 15:09:36 -06:00
Valerie 89f34c4996 Setup wizard: Fix typo 2017-09-26 15:09:10 -06:00
Valerie e23aefef13 Setup wizard: Add toggle for manual payment list 2017-09-26 15:09:10 -06:00
Valerie 04574700a5 Setup wizard: Update Stripe featured style
- filter in-cart payment gateways by featured
- display featured and others in separate lists
2017-09-26 15:08:31 -06:00
Valerie 1eda1a026d Setup wizard: Add function to display service rows
- Update style
- Use new reusable class 'wc-wizard-services' instead of
'wc-wizard-payment-gateways'
- Update JS script for toggling checkboxes
- Update payment gateways: in-cart and manual
- Update POST variable names in save function
2017-09-26 15:08:31 -06:00
Valerie 39028f082a Setup wizard: Remove extra variable assignment 2017-09-26 15:07:14 -06:00
Valerie 32df816077 Setup wizard: Fix typo in PayPal Braintree description 2017-09-26 15:07:14 -06:00
Valerie 231f5190a2 Setup wizard: Fix Stripe description markup 2017-09-26 15:07:13 -06:00
Valerie c79320d9e4 Setup wizard: Move tracking checkbox to end of page 2017-09-26 15:07:13 -06:00
Valerie daabafbe24 Setup wizard: Add label for second address field 2017-09-26 15:07:13 -06:00
Jeff Stieler 65110cebea Setup wizard: show previously selected product type and remove shipping step when selling digital products only. 2017-09-26 15:07:13 -06:00
Jeff Stieler a196fdfc94 Setup wizard: install Jetpack and initiate connection flow when “saving” the activate step. 2017-09-26 15:07:12 -06:00
Jeff Stieler 99beab7070 Setup wizard: allow plugin install to happen immediately. 2017-09-26 15:07:12 -06:00
Jeff Stieler a83bcd7c39 Setup wizard: install WooCommerce Services if Stripe gateway is enabled. 2017-09-26 15:07:12 -06:00
Jeff Stieler 11d145fbc8 Setup wizard: refactor plugin installation logic and use it in payment gateway save method. 2017-09-26 15:07:12 -06:00
Jeff Stieler 94936ccda0 Setup wizard: refactor WooCommerce Services installer logic to be reusable. 2017-09-26 15:07:11 -06:00
Jeff Stieler 14066f33ec Setup wizard: add “skip” link to activate step. 2017-09-26 15:07:11 -06:00
Jeff Stieler 7e2ffa2043 Setup wizard: add “activate” step, modeled after theme step.
Initial commit - needs styling love and Jetpack connection hookup.
2017-09-26 15:07:11 -06:00
Jeff Stieler a423098193 Setup wizard: remove “location” step. 2017-09-26 15:07:11 -06:00
Jeff Stieler 91dfc4875e Setup wizard: remove “skip” link from payments step. 2017-09-26 15:07:10 -06:00
Jeff Stieler c9dd317b2e Setup wizard: differentiate between “in cart” and “manual” payment gateways.
This is in preparation to display the manual gateways behind a collapsable control.
2017-09-26 15:07:10 -06:00
Jeff Stieler 49443388d7 Setup wizard: check country for Stripe support before defaulting to it. 2017-09-26 15:07:10 -06:00
Jeff Stieler 70588a4a99 Setup wizard: update Stripe gateway description, default it to enabled. 2017-09-26 15:07:10 -06:00