Currency Symbol

Here you can ask us how to install the dynamic Magento ajax product filter allowing customers to sort products according to various attributes.

Currency Symbol

Postby esc » Fri Jan 10, 2014 9:55 am

Any idea on how to make the currency symbol appear next to the Price in the data-filter-option? I see only the price numbers but I would like to have the $ symbol before the numbers....

Thanks.
esc
 
Posts: 10
Joined: Mon Nov 18, 2013 5:43 pm

Re: Currency Symbol

Postby AlexMalex » Mon Jan 13, 2014 6:19 am

Hello esc,

Product filter doesn't have this feature, but you can do it using javascript solution.

Open files:
/skin/frontend/ THEME NAME /default/js/plumrocket/productsfilter/filter.js


Go to row 79:
.text(option)


Change it on this:
.text(attribute == 'Price'? '$' + option: option)


Regards,
Alex
User avatar
AlexMalex
Site Admin
 
Posts: 39
Joined: Mon Jul 15, 2013 5:30 am

Re: Currency Symbol

Postby esc » Mon Jan 13, 2014 4:57 pm

Thanks Alex, it worked good!!!
esc
 
Posts: 10
Joined: Mon Nov 18, 2013 5:43 pm

Re: Currency Symbol

Postby AlexMalex » Wed Jan 15, 2014 10:05 am

You welcome.
User avatar
AlexMalex
Site Admin
 
Posts: 39
Joined: Mon Jul 15, 2013 5:30 am


Return to Product Filter

Who is online

Users browsing this forum: No registered users and 1 guest

cron