close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ecart and euro

Thread began 8/08/2013 6:30 pm by massimo173451 | Last modified 8/09/2013 2:58 pm by Ray Borduin | 281 views | 3 replies |

massimo173451

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

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post

massimo173451

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 ?

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...