Skip to content

Instantly share code, notes, and snippets.

@yuriitaran
Created October 29, 2018 11:42
Show Gist options
  • Save yuriitaran/eb2b0e1cb5cb9b2b402b248fb859a3a7 to your computer and use it in GitHub Desktop.
Save yuriitaran/eb2b0e1cb5cb9b2b402b248fb859a3a7 to your computer and use it in GitHub Desktop.
Opencart tweaks and tricks
// in \system\library\currency.php
// change
if (($symbol_right) && ($format)) {
$string .= $symbol_right;
}
// to
if (($symbol_right) && ($format)) {
$string .= '<span class="currency-symbol">' . $symbol_right . '</span>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment