View
 

How to add the unofficial Russian ruble symbol to Ecwid

Page history last edited by Eugene 2 years ago

Currently there is no official symbol for the ruble, though the abbreviations "руб" or "р." are in wide use. Various symbols have been put forward as possibilities, the most popular one is a "Р" with two horizontal strikes (rus, eng).

At this moment this sign isn't supported by fonts, however it's already possible to add it(with some limitation) using custom CSS themes and @font-face rule.

 

How to do it:

  • Download the "PT Sans" font. It includes the ruble sign. http://www.paratype.ru/public/
  • Include this font in your Ecwid custom CSS theme using the @font-face CSS rule.
  • Change the font of the elements which display currency in the Ecwid storefront to "PT Sans".
  • Set the necessary currency symbol in the Ecwid backend.

 

Important note: the sign will work in a storefront only. It will not be shown in all email notifications and Ecwid backend.

 

Example of CSS code:rouble_sign.css