Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@laurent35240
Copy link
Contributor

Q A
Branch? 1.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets fixes #9862
License MIT

Fixing number of items displayed in order summary page

@laurent35240 laurent35240 requested a review from a team as a code owner November 5, 2018 21:34
@Zales0123 Zales0123 added the Potential Bug Potential bugs or bugfixes, that needs to be reproduced. label Nov 5, 2018
Copy link
Contributor

@lchrusciel lchrusciel left a comment

Choose a reason for hiding this comment

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

Thanks a lot for contribution Laurent!

Will you give a try to add a behat scenario for this as well?

@laurent35240
Copy link
Contributor Author

@lchrusciel Sure I will give it a try

@laurent35240 laurent35240 force-pushed the 9862_order_summary_page_items branch from 923412d to c6b96a0 Compare November 7, 2018 20:03
</div>
<div class="item">
{{ order.items|length }} {{ 'sylius.ui.items'|trans|lower }}
{{ order.totalQuantity }} {{ 'sylius.ui.items'|trans|lower }}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm wondering, maybe we should change the 'sylius.ui.items' translation as well? I agree that there we should have a total quantity of the order, but then it should be something like 4 units or 4 products or whatever, instead of 4 items as order item can be indeed 1 :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think items is the good word here.
It is the same word used in Amazon cart page even if you order several time the same product.
amazon com shopping cart

@Zales0123 let me know if it is ok for you

Copy link
Contributor

Choose a reason for hiding this comment

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

πŸ‘

@laurent35240 laurent35240 force-pushed the 9862_order_summary_page_items branch from 758c1df to 043819c Compare November 8, 2018 23:06
@Zales0123 Zales0123 merged commit bba88d7 into Sylius:1.2 Nov 12, 2018
@Zales0123
Copy link
Contributor

Thanks, Laurent! πŸŽ‰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Potential Bug Potential bugs or bugfixes, that needs to be reproduced.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants