ecart and euro
Hi there,
When the cart is at last step and see all products in it the Price and Total are showed with dot 18.00 instead 18,00 with comma, which kind of pages manage this code???
Hi there,
When the cart is at last step and see all products in it the Price and Total are showed with dot 18.00 instead 18,00 with comma, which kind of pages manage this code???
You will want to update the code where it displays the number... The eCart itself has settings where the currency format can be changed... If you edit the cart object in dreamweaver it will be on the first screen.
Sometimes we use the number_format() function as well... in those cases you might want to do a site-wide find for: number_format(
then wherever the function is used add two parameters to reset the decimal and thousands separator like: number_format($value,2,',','.')
You could also just add the number_format function to reformat it outside of the cart as well.
May you explain me how is possible implement this in php code (I am not a PHP programmer). In the server Behaviors have a red question mark why ?
If you are using powerstore the red question mark is probably just because some of the code is in a plugin and not on the page itself, so it can be ignored.
I'm not sure how much more detail I can give in explaining how to do it... just find where the number is referenced and wrap it with the number_format function.
So if the code was: <?php echo($number); ?>
it becomes: <?php echo(number_format($number,2,',','.')); ?>
If you want us to do it for you, or show you how in a screen sharing session, then we could do that in a premier support ticket.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.