Jump to content

[Solved] How to use Currency images instead of Currency symbols?


Recommended Posts

You will need to change line 7 of modules/blockcurrencies/blockcurrencies.tpl:

<a href="[removed]setCurrency({$f_currency.id_currency});" title="{$f_currency.name}">{$f_currency.sign}



to something like:

<a href="[removed]setCurrency({$f_currency.id_currency});" title="{$f_currency.name}"><img src="{$img_dir}currency{$f_currency.id_currency}.jpg" alt="{$f_currency.name}" />



Change [removed] to javascript followed by a colon. Then put currency1.jpg, currency2.jpg, etc in the img directory inside your theme.

Link to comment
Share on other sites

  • 3 months later...

This Change only block currency Module images


How to Change this in Before product price


Can you help me

You will need to change line 7 of modules/blockcurrencies/blockcurrencies.tpl:

<a href="[removed]setCurrency({$f_currency.id_currency});" title="{$f_currency.name}">{$f_currency.sign}



to something like:

<a href="[removed]setCurrency({$f_currency.id_currency});" title="{$f_currency.name}"><img src="{$img_dir}currency{$f_currency.id_currency}.jpg" alt="{$f_currency.name}" />



Change [removed] to javascript followed by a colon. Then put currency1.jpg, currency2.jpg, etc in the img directory inside your theme.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...