-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
🌸✨ Marketplace
: Checkout
includes Products
, Taxes
, and DeliveryFee
#1997
🌸✨ Marketplace
: Checkout
includes Products
, Taxes
, and DeliveryFee
#1997
Conversation
Marketplace
: Checkout
includes Products
, Taxes
, and DeliveryFee
Marketplace
: Checkout
includes Products
, Taxes
, and DeliveryFee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay, this is better!
<h3 class="font-bold">Delivering to:</h3> | ||
<p> | ||
<%= render(delivery.delivery_area) %><br /> | ||
<span class="text-sm font-light italic"><%= render(Marketplace::Cart::DeliveryExpectationsComponent.new(cart: delivery.cart)) %></span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this text styling become part of the component? Layout styling makes sense for wrapper tags but if these seem like inherent styling attributes of the component itself not of this "area" of the page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I think pushing this responsibility down is a good idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ehh, actually let's not do that just yet. DeliveryExpectationsComponent
is rendered in a number of places, with a substantially different information hierarchy.
Presuming it should always be small, light, and italic does not seem to be valid.
Marketplace
: Buying 🥡Products
#1326It's not the prettiest, but it includes each product being purchased,
the quantity, the unit pricer, and the total price as well as the taxes
and delivery fees.