-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement]: Block-based checkout: Collapsed order summary on mobile, sticky on desktop #45285
Comments
Two notes for the engineering team:
|
Hey @nikkivias @pmcpinto I removed the sticky on desktop part of this issue, as those are 2 different things with different scope. Sticky one is already requested here #42230 |
@nikkivias just to confirm:
|
I wanted to pick this next, but I'm porter next week, if I'm not the one picking this up, a suggestion to whoever is picking this up, instead of replicating the order summary component, touching the editor component, or the structure, just use a slotfill, inside the sidebar and above the place order button. You'd have 2 slots and 1 fill. Ideally the top order summary is the current one in its placement, and the one above the button is the slotted one. |
@senadir the slots we add would be for internal use only, correct? |
Yes, ideally. Any concerns there? I still think slots have a place in extensibility. |
No concerns, just checking. Yes they do have a place in extensibility but I don't think we should expose these publicly until we see a solid use case for it, outside of this one. |
Describe the solution you'd like
The current checkout experience where the Order summary is concerned needs improvement. We want to investigate if the following proposed solutions are feasible.
On mobile
Upon entering checkout the order summary takes up much of the space above the fold that it often pushes down the first actionable item on the page (e.g. Contact). Furthermore, when scrolling down to the end of the page, there is no access to the order summary unless the user scrolls all the way back up.
💡 Proposed solution
Implement an order summary that is:
Place order
buttonCollapsed on default, overlay when expanded
Final order summary section (sticky summary is hidden in this view)
Example of scroll interaction behaviour:
CleanShot.2024-03-04.at.15.58.17.mp4
cc: @pmcpinto
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: