TGK Posted August 1, 2018 Share Posted August 1, 2018 hi all, im setted a configureOption type "Quantity" it has minimum "100" max "0" because i need client fill custom value my problem is the input doesnt accept decimals and i need it accept decimals atleast 2 decimals, i tried some ways in configureproduct.tpl but doesnt work if client enter 100 sumary calculate price well but if client enter 100,50 sumary doesnt recognize decimal value and the price is same how if client enter 100 thank for help me. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 1, 2018 Share Posted August 1, 2018 going back to a post in 2014, I wrote that configurable options can't use fractions/decimals... one reason might be that the database table structure of tblhostingconfigoptions and tblprocoductconfigoptions sets the number of decimal places to 0... you could try changing the decimals value of qtymin & max to 2 in both tables (backup db first!) and then see if the cart accepts fractional qty values... i'm not sure it will, but i'm intrigued to know if this would work.. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.