Welcome Guest, Not a member yet? Register   Sign In
Shopping Cart and leading zeros issue
#1

Hello,

My first time here and I'm pretty new with CI to. So, please go easy on me.

I'm working in a shopping cart and I have an issue: 

After the user apply a coupon(let's say a 100% discount), the item has no value at all. 

   

That looks quite weird. At least it should have $0. So, the user knows that she got the discount from the coupon. 

It seems that CI removes leading zeros and anything that isn't a number or decimal point. 

Any idea how I can solve that?

Regards,
Castle
Reply


Messages In This Thread
Shopping Cart and leading zeros issue - by castle - 03-10-2017, 12:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB