close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Danish currency

Thread began 2/20/2011 11:42 am by regin.toftegaard421288 | Last modified 2/22/2011 11:54 am by Jason Byrnes | 1949 views | 3 replies |

regin.toftegaard421288

Danish currency

I would like to have the danish currency embedded in eCart since I am now am building a web-shop for a danish company. Denmark uses kroner just like Sweden and Norway, but the value of the currency is different than the Swedish. PayPal Denmark supports this currency and is often listed as dkk.

Can this be changed soon, or is there any workaround I can use until this issue has been fixed?

I guess I was to quick to offer a webshop solution for my client before checking if it actually is possible to do with eCart 5. That is my mistake, but I would love you forever if you can help me out here.

Sign in to reply to this post

Jason ByrnesWebAssist

eCart wont support showing the danish currency symbol, but you can make sure it is passed to paypal as dkk by editing the paypal code.


for PayPal payments pro, the following code on the confirm page will set the curency;
$PP_DirectPayment_required[0][$nextIndex] = "Currency";
$PP_DirectPayment_required[1][$nextIndex] = "USD";


you could change that to:
$PP_DirectPayment_required[0][$nextIndex] = "Currency";
$PP_DirectPayment_required[1][$nextIndex] = "DKK";


to have the currency sent to paypal set to dkk.

Sign in to reply to this post

Regin Toftegaard

Great that solves my problem. Is there any way that the currency symbol can be deleted, so it isn't visible?

Sign in to reply to this post

Jason ByrnesWebAssist

eCart will use the WA_eCart_DisplayMoney function to display the price with the currency symbol:

php:
<?php echo WA_eCart_DisplayMoney($eCart2$eCart2->GrandTotal()); ?>




you can remove the WA_eCart_DisplayMoney function to show only the price:

php:
<?php echo $eCart2->GrandTotal(); ?>
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...