BootstrapTheme icon indicating copy to clipboard operation
BootstrapTheme copied to clipboard

Label for subtotals wrong

Open aleho opened this issue 4 years ago • 0 comments

Instead of sylius.ui.subtotal the templates

  • SyliusShopBundle/views/Cart/Summary/_totals.html.twig
  • SyliusShopBundle/views/Checkout/_summary.html.twig
  • SyliusShopBundle/views/Common/Order/Table/_totals.html.twig

are using sylius.ui.items_total to label the subtotal, in spite of the value clearly stating money.convertAndFormat(itemsSubtotal).

This seems wrong in my opinion, leading to a "total number" label, which even worse e.g. in German translation refers to a total count, not a subtotal monetary amount.

aleho avatar Mar 01 '21 11:03 aleho