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

Add Checkout block sidebar #1921

Merged
merged 1 commit into from
Mar 12, 2020
Merged

Add Checkout block sidebar #1921

merged 1 commit into from
Mar 12, 2020

Conversation

Aljullu
Copy link
Contributor

@Aljullu Aljullu commented Mar 10, 2020

Part of #1304.
Part of #1486.

Screenshots

imatge

How to test the changes in this Pull Request:

  1. Create a post with a Checkout block and verify the sidebar is shown with the correct values.
  2. Verify you can add/remove coupons.
  3. Verify shipping address is updated when it changes in the form.
  4. Verify there are no regressions in Cart block styles.

@Aljullu Aljullu added status: needs review focus: components Work that introduces new or updates existing components. skip-changelog PRs that you don't want to appear in the changelog. labels Mar 10, 2020
@Aljullu Aljullu added this to the Future Release milestone Mar 10, 2020
@Aljullu Aljullu requested a review from a team as a code owner March 10, 2020 11:11
@Aljullu Aljullu self-assigned this Mar 10, 2020
@Aljullu Aljullu requested review from mikejolley and removed request for a team March 10, 2020 11:11
@Aljullu Aljullu force-pushed the add/checkout-sidebar branch 2 times, most recently from 0bae207 to 000a637 Compare March 10, 2020 16:01
Copy link
Contributor

@nerrad nerrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huge 👍 for extracting out the new sidebar components so that checkout and cart are both using them 👏

Functionally, this seems to work well. I noticed there's an error when applying an invalid coupon, but this also occurs in master so I'll go ahead and approve this.

Comment on lines +62 to +71
total_items: '0',
total_items_tax: '0',
total_fees: '0',
total_fees_tax: '0',
total_discount: '0',
total_discount_tax: '0',
total_shipping: '0',
total_shipping_tax: '0',
total_price: '0',
total_tax: '0',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 good catch.

@Aljullu Aljullu force-pushed the add/checkout-sidebar branch from 000a637 to 1255a86 Compare March 12, 2020 09:31
@Aljullu Aljullu merged commit eb33843 into master Mar 12, 2020
@Aljullu Aljullu deleted the add/checkout-sidebar branch March 12, 2020 09:41
@nerrad nerrad modified the milestones: Future Release, 2.6.0 Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
focus: components Work that introduces new or updates existing components. skip-changelog PRs that you don't want to appear in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants