emizentech/magento2-price-slider

Price range does not respect currency settings

Opened this issue · 4 comments

bka commented

Hi,

thanks for this module. Here is a little issue, having a different currency like €, the slider still displays $

auswahl_078

i have installed this extension in magento bt i didn't see price filter in category page

@bka
Put this in the top of the phtml file:

$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $currencySymbol = $objectManager->get('Magento\Directory\Model\Currency')->getCurrencySymbol();
Then use it in the Javascript with: <?=$currencySymbol?>

Hope it helps.

i have also installed it in magento 2.2 but price slider not appearing on front-end(in layered navigation filter) .
can you please let me know where to put the above code with exact file location? or i have to do some other changes?

You can change currency symbol in

app/code/Emizentech/Priceslider/view/frontend/templates/filter.phtml

Change $ symbol into respected currency symbol in script tag.
Thanks