Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price range does not respect currency settings #8

Open
bka opened this issue Jan 18, 2017 · 4 comments
Open

Price range does not respect currency settings #8

bka opened this issue Jan 18, 2017 · 4 comments

Comments

@bka
Copy link

bka commented Jan 18, 2017

Hi,

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

auswahl_078

@sharmiajr
Copy link

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

@onepack
Copy link

onepack commented Apr 7, 2017

@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.

@rajeevjan1991
Copy link

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?

@sohelkhan4666
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants