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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Australian Currency in Ecart 5!

Thread began 2/21/2011 11:18 pm by help_info383092 | Last modified 2/28/2011 9:31 am by Jason Byrnes | 1463 views | 7 replies |

help_info383092

Australian Currency in Ecart 5!

I can not specify Australian dollars symbol in the custom currency field. I type $AUD in the field and it came up with error!

Anyone having the same problem!

Regards,

Eric

Sign in to reply to this post

Jason ByrnesWebAssist

in the eCart object enter the currency symbol using a forward slash to escape the dollar symbol:
\$AUD

Sign in to reply to this post

help_info383092

Back Slash for Australia Dollar - /20.00 \20!

The back and forward do not work on Ecart Object on Australia dollar. I have tried to pur $/AUD and \$AUD it came up with this: /20 and \20. Everythign is workind perfectly except the Australia dollar symbol. Is there any way to edit in the code?

Below is the error:

Notice: Undefined variable: AUD in C:\wamp\www\Ramelau\WA_eCart\pbook_PHP.php on line 250


Regards,

Eric

Sign in to reply to this post

Jason ByrnesWebAssist

it worked on my system when i used:
\$AUD


can you send a copy of the WA_eCart\pbook_PHP.php file so i can have a look at the code.

Sign in to reply to this post

help_info383092

\$AUD came up with \20

Please find attached is the code! On the PayPal payment window still $26.00 USD. On the cart.php and confirm.php came up with \20 and \26 with the following error:

Notice: Undefined variable: AUD in C:\wamp\www\Ramelau\WA_eCart\pbook_PHP.php on line 250
Call Stack
# Time Memory Function Location
1 0.0021 537224 {main}( ) ..\confirm.php:0
2 0.0037 685752 require_once( 'C:\wamp\www\Ramelau\WA_eCart\pbook_PHP.php' ) ..\confirm.php:3


Notice: Undefined variable: AUD in C:\wamp\www\Ramelau\WA_eCart\pbook_PHP.php on line 250
Call Stack
# Time Memory Function Location
1 0.0008 386824 {main}( ) ..\phrasedbook.php:0
2 0.0032 535352 require_once( 'C:\wamp\www\Ramelau\WA_eCart\pbook_PHP.php' ) ..\phrasedbook.php:3

Attached Files
pbook_PHP.zip
Sign in to reply to this post

Jason ByrnesWebAssist

change line 250:

php:
$pbook = new pbook_Definition("pbook", 0, "\\$AUD", "", true, 2, 0, "oz", true, 2, 1, 0);



to:

php:
$pbook = new pbook_Definition("pbook", 0, "\$AUD", "", true, 2, 0, "oz", true, 2, 1, 0);





to change the currency code sent to payapl, you will need to edit the code that sends the transaction to them.

if you are using paypal payments pro, the confirm page will have this code:

php:
$PP_PayPro_optional[0][$nextIndex] = "CURRENCY";

  $PP_PayPro_optional[1][$nextIndex] = "USD";



change it to:

php:
$PP_PayPro_optional[0][$nextIndex] = "CURRENCY";

  $PP_PayPro_optional[1][$nextIndex] = "AUD";




if it is paypal standard, change:

php:
<input type="hidden" name="currency_code" id="currency_code" value="USD" />



to:

php:
<input type="hidden" name="currency_code" id="currency_code" value="USD" />
Sign in to reply to this post

help_info383092

AUD Currency!

Hi Jason

Thank you for your help! It works now.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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