Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Selling by the weight - rounding issue

Recommended Posts

Hello all,


(this post replaces post http://www.oscommerce.com/forums/index.php?showtopic=235864 which has been misplaced. Sorry for the inconvenience).


I scanned through the previous posts by could not get a solution to my problem.


I have a customer who wants to sell (part of) his products by the weight (namely meat & vegetable).

The use on this side of the ocean is to display product prices in kilos.

He still would like his customers to be able to order quantities less than a kilo (for example 0.75 grammes or rather, as we are in France, 0,750 grammes with a comma).


My problem is twofold.


1. when I try to order 0.75 or 0,75 grammes, ans update the quantity, OSC rounds up tu 1, which is not what I want. ON the countrary 1.75 is kept as is and correctly processed.


2. I would like to use commas instead of point. I found a post with no reply to this one. ANy help ?



Best regards,




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...