Tutorial created by Christopher West, Freelancer Looking for Work
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:
And example as follows:
<?php echo WA_eCart_DisplayMoney($WebCart, $row_rsItems['ItemPrice']); ?>
jamie424562: 9 Years, 9 Months, 3 Weeks, 6 Days, 6 Minutes ago
this removes the price and then also breaks the recordset when i try to use it.....
: 8 Years, 11 Months, 3 Weeks, 1 Day, 18 Hours, 10 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
Your 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.
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 comments