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

#   Decimal Quantities

##

- **[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")**
- [![wernejo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/38697-wernejo "View wernejo's Profile") Topic Author
- [ Offline](/forum/user/38697-wernejo)

Less More

- Posts: 43
- Thank you received: 0
-
-

11 years 2 months ago [\#213653](#213653) by [wernejo](/forum/user/38697-wernejo "View wernejo's Profile")  *[Decimal Quantities](/forum/27-checkout/879173-decimal-quantities#213653 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hi,  I'm working on a website for a butcher who wants to be able to sell his products by the Kg rather than in set quantities.  Is there a way that HikaShop can be set up to accept values other than whole numbers? E.g. 2.65 kg of meat.  The website also needs the option to be able to limit this feature to only some products as not everything the sell will be sold in fractions.  If this isn't a feature already then I strongly recommend adding it as I've already tried several other shopping carts and no one seems to be able to do it. Technology has come a long way so I don't see why this wouldn't be a hard thing to do.")* was created by *[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

Hi,

I'm working on a website for a butcher who wants to be able to sell his products by the Kg rather than in set quantities.

Is there a way that HikaShop can be set up to accept values other than whole numbers? E.g. 2.65 kg of meat.

The website also needs the option to be able to limit this feature to only some products as not everything the sell will be sold in fractions.

If this isn't a feature already then I strongly recommend adding it as I've already tried several other shopping carts and no one seems to be able to do it. Technology has come a long way so I don't see why this wouldn't be a hard thing to do.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3OTE3My1kZWNpbWFsLXF1YW50aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 2 months ago -  11 years 2 months ago [\#213683](#213683) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Decimal Quantities](/forum/27-checkout/879173-decimal-quantities#213683 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hi,  I'm working on a website for a butcher who wants to be able to sell his products by the Kg rather than in set quantities.  Is there a way that HikaShop can be set up to accept values other than whole numbers? E.g. 2.65 kg of meat.  The website also needs the option to be able to limit this feature to only some products as not everything the sell will be sold in fractions.  If this isn't a feature already then I strongly recommend adding it as I've already tried several other shopping carts and no one seems to be able to do it. Technology has come a long way so I don't see why this wouldn't be a hard thing to do.")*

Hello,
A solution can be to directly use Characteristics, you"ll find an example through that thread : [ www.hikashop.com/forum/4-how-to/20874-price-by-weight.html](http://www.hikashop.com/forum/4-how-to/20874-price-by-weight.html)

But if you really want to directly enter the weight yourself, the solution will be to directly use the following plugin, and :
- Go to "Hikashop-&gt;Display-&gt;Custom fields"
- Create an Item custom field
- Set the "Column name" option to **ordered\_weight**
- Publish it for the front-end

By using that Custom Item field the price of your product will be multiplied by the number that you have added on the ordered_weight field through your product page.

Last edit: 11 years 2 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3OTE3My1kZWNpbWFsLXF1YW50aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

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

Time to create page: 0.043 seconds

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