Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all ...
I have installed this module, and it works fine, except, the output of the price.
In my node-product.tpl.php i have following code:
print $node->role_prices[4]
I got this from the contemplate module.
When editing a product, in the price per role field i enter for example: 19,00
the output is: 19.00000.
How do i get the output the same as for example the default price field: €19.00
Thanks for any step by step help here!
Have a great day!
Pat.
Comments
Comment #1
mcdoolz CreditAttribution: mcdoolz commentedIf anybody is wonder, just throw number_format around your number.
number_format(##)