Covering the individual functions that eCart gives you.
Traditionally if you wanted to display a value from your database as a currency you would add a currency symbol such as £ or $ before the binding of the field which stores that value...
with eCart there is a nice little function that does this for you, the function is called WA_eCart_DisplayMoney.
This function name would be placed inside a php echo and it comprises of 2 paremeters:
WA_eCart_DisplayMoney($YourCartName, $TableRowValue)
And example as follows:
<?php echo WA_eCart_DisplayMoney($WebCart, $row_rsItems['ItemPrice']); ?>
Comments will be sent to the author of this tutorial and may not be answered immediately. For general help from WebAssist, please visit technical support.
Sign in to add commentsYour 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.
jamie424562: 11 Years, 1 Month, 5 Days, 9 Hours, 38 Minutes ago
this removes the price and then also breaks the recordset when i try to use it.....
: 10 Years, 3 Months, 1 Day, 3 Hours, 41 Minutes ago
hello, i bought these plugins but i am from Nigeria and found out Naira isnt include, is there a walk around for the currency thing, maybe through php as this wont allow me be able to use this plugin effectively..thanks