[Skip to main content](#vessel-content)

#  Profile for one320b

##

[![one320b's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3738-one320b "View one320b's Profile")

**[ Offline](/forum/user/3738-one320b)**

- **User Type:** User

- **Register Date:** 20 Aug 2011
- **Last login:** 15 years 2 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 23:30

- **Posts:** 1
- **Profile views:** 227

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  one320b's recent posts  (1 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/4-how-to/24005-allow-fractional-quantity#24005) | [Allow fractional quantity](/forum/4-how-to/24005-allow-fractional-quantity#24005 "Let me preface by stating, I already know this is a difficult task. I've reviewed much of the code already and I'm not concerned with payment services not understanding fractional quantities.  That being said, how would one about making this change? I see that the quantity is stored as an INT in the database, and that everywhere I've seen it in code its being cast as an INT (IE: $quantity=(int)$quantity). I went in and attempted to cast the variables for quantity as a FLOAT datatype, and changed the DB datatype to FLOAT as well. I must be missing something though as it continues to round out my quantities once added to the cart.  Can you by any chance break down the process and files touched when a user clicks on &quot;add to cart&quot;? I think I'm just missing a file or variable somewhere and can't figure out where.  I would be glad to offer my code to everyone looking for this functionality in exchange once I get it working :)  Side note, Hikashop should really look at making this an option in future versions. Most commercial and some open source (ZenCart) products already do this. However, none of them in my opinion are is easy to work with within Joomla!  Thanks!")        Category: [How to?](/forum/4-how-to "If you didn't find the answer on our documentation neither on existing posts, please ask your question here.")     Topic started 15 years 2 months ago, by [one320b](/forum/user/3738-one320b "View one320b's Profile")       [Last Post](/forum/4-how-to/24005-allow-fractional-quantity#270426 "Hello  See :   www.hikashop.com/forum/2-general-talk-ab...w-feature.html#24390") 9 years 4 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:6  Views:2555 | [Last Post](/forum/4-how-to/24005-allow-fractional-quantity#270426 "Hello  See :   www.hikashop.com/forum/2-general-talk-ab...w-feature.html#24390") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      9 years 4 months ago |

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.137 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
