CIAB: update Checkout for Woo Hosted sites #106584
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to https://linear.app/a8c/issue/SHILL-929/ciab-create-checkout-flow-for-ciab
Proposed Changes
This hides the top bar logo and uses the default color scheme in Checkout for Woo Hosted sites.
Why are these changes being made?
Woo Hosted sites are technically Jetpack sites, but are supposed to use the default color scheme without a logo in Checkout. This uses the siteSlug
.commerce-garden.compattern to identify to identify Woo Hosted checkout (until we have a better method outside of the dashboard), and overrides the Jetpack styling in Checkout.Note: The line item introductory offer pricing and sidebar upsell discount should be fix by a different issue: https://linear.app/a8c/issue/CHE-266/checkout-introductory-offer-pricing-can-be-confusingincorrect-in
Testing Instructions
Test Woo Hosted color scheme:
/tools/garden/Test Jetpack color scheme:
Test Jetpack siteless color scheme: