HomeHome Product Discus... Product Discus...SmithCartSmithCartUser entered values with decimal pointUser entered values with decimal point
Previous
 
Next
New Post
10/5/2010 8:03 AM
 

I want the abilty for users to enter their own payments or part payments for donations and fees on a site in puonds and pence.

I created a unit value of (1.0) and it sort of works in that I can make user entered payments in pounds to any desired value. However I cannot figure out how to set things up to enter payments with decimal values - like £9.50 or £9.99.

Please can anyone help. John

 
New Post
10/5/2010 10:52 AM
 

Are you trying to enter the "£" symbol in the textbox if so the cart doesnt accept the currency symbol to be entered in the user entered amount textbox.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
10/5/2010 12:53 PM
 

No I'm not trying to enter the "£" sign. I just want to be able to put in a value like "23.99" but the module will only accept a 1 decimal place number and then gives a nonsense value in the cart summary on next screen.

I am assuming i need to configure something to make it work properly. Any help appreciated. John

 
New Post
10/5/2010 1:19 PM
 

Open the productlist.ascx page and check the maxlength property for the txtPrice and txtPrice2 textbox controls and try increasing the maxlength to 7 like this:

<asp:TextBox runat="server" ID="txtPrice" Width="50px" MaxLength="7" />


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartUser entered values with decimal pointUser entered values with decimal point