Jump to content

Edit History

jdernt

jdernt

Hi there!

I have a multilingual store and I cant find out why the price filter label is different for each language.

for english - 

€2.00 - €108.00

for other languages - 

2.00  € - 108.00 €

I also find the "labelRangeFilters" function in SearchProvider.php and its the same for every lang: 

$filter->setLabel(
    sprintf(
        '%1$s - %2$s',
        Tools::displayPrice($min),
        Tools::displayPrice($max)
    )
);

I would like to make the same labels for all languages. If anyone knows what files should be modified and what I should modify, I'd greatly appreciate it!

Thanks in advance!

jdernt

jdernt

Hi there!

I have a multilingual store and I cant find out why the price filter label is different for each language.

for english - 

€2.00 - €108.99

for other languages - 

2.00  € - 108.99 €

I also find the "labelRangeFilters" function in SearchProvider.php and its the same for every lang: 

$filter->setLabel(
    sprintf(
        '%1$s - %2$s',
        Tools::displayPrice($min),
        Tools::displayPrice($max)
    )
);

I would like to make the same labels for all languages. If anyone knows what files should be modified and what I should modify, I'd greatly appreciate it!

Thanks in advance!

×
×
  • Create New...