close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Currency display issue

Thread began 3/08/2010 12:03 pm by keithlogan347721 | Last modified 3/09/2010 7:58 pm by Jason Byrnes | 498 views | 2 replies |

keithlogan347721

Currency display issue

Hi

I've been through the PDF guide on how to change the currency symbol from say a $ to a £ sign.

Everything has been updated apart from within the following area. If I create a Product with options, the product with the options displays with a $ sign rather than a £ sign. I've checked all the mentioned files in the PDF but cannot for the life of me see the offending sign.

Can someone help?

Sign in to reply to this post

keithlogan347721

Hi,

Taking a look at the code for the generated product page I noticed that the price displays correctly in the code i.e. <h2 id="ProductPrice">£30.00</h2>
But the page in any browser window displays the price as $30.00

Can someone from WA please advise please?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

on the product detail page, there is javascript code that is used to display the price of the selected option.


look for the following code:

if (xmlHttp.responseText != "")  {
var theRet=xmlHttp.responseText;
var thePriceField = "$"+ getFromRSDump(theRet,"ProductPrice");
if (thePriceField.indexOf(".")==-1) {




the dollar sign is on:
var thePriceField = "$"+ getFromRSDump(theRet,"ProductPrice");

change that to display your pound sign:
var thePriceField = "&pound;"+ getFromRSDump(theRet,"ProductPrice");

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