vue-storefront icon indicating copy to clipboard operation
vue-storefront copied to clipboard

Category page shows the item counts as string

Open Moedella opened this issue 4 years ago • 0 comments

What is your question / Please describe your issue

in Category.vue I have the following line of code {{ $t('{count} items', { count: getCategoryProductsTotal }) }}

but it renders as "{count} items", not with the actual value of the count var. however, if I added {{getCategoryProductsTotal}} outside the translation statement I get the actual value for the total count.

Screen Shot 2021-09-27 at 2 43 16 PM

What version of Vue Storefront are you using?

1.12.1

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Moedella avatar Sep 27 '21 12:09 Moedella