Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Checkout block #1294

Closed
27 of 30 tasks
pmcpinto opened this issue Dec 2, 2019 · 4 comments
Closed
27 of 30 tasks

Checkout block #1294

pmcpinto opened this issue Dec 2, 2019 · 4 comments
Assignees
Labels
type: epic A label used by Zenhub for indicating issues functioning as an Epic. type: new block Applied to work that introduces a new block (typically used on an epic issue).
Milestone

Comments

@pmcpinto
Copy link

pmcpinto commented Dec 2, 2019

User Story

As a merchant
I want a block that allows adding an optimized checkout layout
So I can improve my checkout conversion rate and quickly change some of the cart settings

Acceptance Criteria

Restrictions

Tooltip

Payments

Displaying products

Shipping

  • If the store doesn't have any shipping option configured, the user should see a message in the Shipping Options layout pushing the user to configure the shipping options (Add Checkout Form components #1351)
  • The user can enable/disable using the shipping address as the billing address. Using the shipping address as the billing address is enabled by default (currently we don't provide this option on WooCommerce Settings > Shipping > Shipping options) (Checkout Block: Shipping options for block #1485)
  • If the user disables it – we add a new section to the form for a custom billing address – which inherits the same fields (with settings) as the Shipping address above it (Checkout Block: Shipping options for block #1485)

Address 2 form (see #1480 for all the below items)

  • The user can show/hide the Address 2 input field
  • The Address 2 input field should be on by default
  • The user can choose to make Address 2 a required field by selecting the checkbox (this removes the optional text on the label). The required field option should be off by default Decision made to make this optional and based on locale rather than user setting.

Company name (see #1481 for all the below items)

  • The user can show/hide the Company Name input field
  • The Company Name input field should be off by default
  • The user can choose to make Company Name a required field by selecting the checkbox (this removes the optional text on the label). The required field option should be off by default

Phone number (see #1482 for all the below items)

  • The user can show/hide the Phone Number input field
  • The Phone Number input field should be off by default
  • The user can choose to make Phone Number a required field by selecting the checkbox (this removes the optional text on the label). The required field option should be off by default

Order notes (it can be backlogged if we don't have enough time in this cycle) (see #1483 for the below items. I've (@nerrad) also backlogged this)

  • The user can enable/disable having order notes in the checkout. Having an order notes field is enabled by default.
  • Order notes are always optional and if enabled the user only sees a checkbox in the block layout. When the order notes are disabled the checkbox is removed from the block layout.

Coupons (See #1411 - components will be re-used for checkout)

  • If the user has the coupons' usage disabled on WC Settings we hide it in the checkout layout (both on the block editor and in the front-end)

Legal (see #1484 for below items)

  • When the user has set a Terms & Condition page in the Customizer or in the WC Settings, he should see the T&C link below the Place Order button
  • When the user has set a Privacy Policy page in the Customizer he should see the PP link below the Place Order button

Feedback

Front-end behavior

Links

MT
Final mockups desktop
Final mockups mobile
Validation Error Indicators for fields: figma

@pmcpinto pmcpinto added the type: epic A label used by Zenhub for indicating issues functioning as an Epic. label Dec 2, 2019
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label type: feature request to this issue, with a confidence of 0.94. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@pmcpinto
Copy link
Author

pmcpinto commented Dec 6, 2019

@nerrad the acceptance criteria was difficult to digest, so I broke it down in different sections. I'm going to do the same for the Cart epic.

@nerrad
Copy link
Contributor

nerrad commented Jan 3, 2020

You'll note that as of this post there are a number of items not checked off. This is because the user stories required a lot of supporting work as a part of completing them. I've gone through and linked to issues that will:

  • Ensure the user story is completed (there may be pulls in progress or done that have been completed, if that's the case the issue will be closed)
  • Can be used to track what is left to do (and includes the estimate in our release chart planning).
  • Can be used to identify what we might want to tweak/modify for the initial iteration if we need to reduce scope to meet our cycle targets.

@nerrad nerrad added this to the Future Release milestone Jan 27, 2020
@nerrad nerrad added the type: new block Applied to work that introduces a new block (typically used on an epic issue). label Jan 28, 2020
@senadir senadir pinned this issue Feb 18, 2020
@nerrad nerrad modified the milestones: Future Release, 2.6.0 Apr 17, 2020
@nerrad nerrad self-assigned this May 1, 2020
@nerrad
Copy link
Contributor

nerrad commented Jun 1, 2020

The release of 2.6.0 fulfills the purpose of this epic (initial MVP of checkout block).

@nerrad nerrad closed this as completed Jun 1, 2020
@mikejolley mikejolley unpinned this issue Jun 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: epic A label used by Zenhub for indicating issues functioning as an Epic. type: new block Applied to work that introduces a new block (typically used on an epic issue).
Projects
None yet
Development

No branches or pull requests

2 participants