Jump to content

[SOLVED] change the price with dash mark (-)


Recommended Posts

Try changing line 253 (in PrestaShop v1.3.1) of classes/Tools.php (the last line in the displayPrice function) from:

return $ret;



to:

//return $ret;
return $c_char.$blank.'-';



and change line 51 of js/tools.js in your theme's directory from:

if (currencyFormat == 1)



to:

return currencySign + blank + '-';
if (currencyFormat == 1)



Once your prices are ready, change the lines back again.

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