Skip to content
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

Move cart item error after quantity field #751

Merged
merged 2 commits into from
Oct 21, 2021
Merged

Conversation

kmeleta
Copy link
Contributor

@kmeleta kmeleta commented Oct 7, 2021

Why are these changes introduced?

Fixes #470

What approach did you take?

Moved the cart-item__error content into cart-item__quantity so error messaging associated with the quantity input is closer in proximity. I also added a cart-item__quantity-wrapper child to help preserve the same flex wrapping styles as before.

Other considerations

Are there other types of general error messages that are likely to appear here that wouldn't make sense after the quantity input?

Demo links

Checklist

svinkle
svinkle previously approved these changes Oct 7, 2021
@LucasLacerdaUX LucasLacerdaUX self-requested a review October 7, 2021 18:54
@LucasLacerdaUX LucasLacerdaUX self-assigned this Oct 7, 2021
LucasLacerdaUX
LucasLacerdaUX previously approved these changes Oct 7, 2021
Copy link
Contributor

@melissaperreault melissaperreault left a comment

Choose a reason for hiding this comment

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

Thank you Ken! Looks good to me!

@ludoboludo ludoboludo self-requested a review October 20, 2021 13:27
Copy link
Contributor

@ludoboludo ludoboludo left a comment

Choose a reason for hiding this comment

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

Tested on a android, iOS and chrome desktop 👍

@kmeleta kmeleta merged commit a113d25 into main Oct 21, 2021
@kmeleta kmeleta deleted the cart-error-placement branch October 21, 2021 15:28
phapsidesGT pushed a commit to Gravytrain-UK/gt-shopify-dawn-theme that referenced this pull request Sep 3, 2024
* Move cart item error after quantity field

* Adjust error icon alignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Cart] Line item error text proximity
5 participants