Jump to content

Price formatting


Recommended Posts


i will like to edit the way module blockspecials output its prices.

For example,i want to separate the different elements of a price.
Having the main figure, the cents and the currency sign all separated.
Just to be able to add css to the different elements of the price :)

Ive seen in the blockspecials.tpl, function displayWtPrice is used which is found in classes/product.php,
which in turn calls function displayPrice found in classes/tools.php.

I guess it's function displayPrice that has to be modified for this.

Can i have any help on how to proceed please..

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More