How can I limit decimal places in quantity field for products sold by meter?

Top WooCommerce & WordPress Plugins Forums Min Max Default Quantity for WooCommerce How can I limit decimal places in quantity field for products sold by meter?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #104937
    Annie Maney
    Guest

    Hello,

    We’re using your Pro version, however we’re having some difficulties and not sure how to solve them….

    Some of the products we sell are fabrics by the metre.  We have set our minimum to 0.2 and our quantity step to 0.1.  The default quantity when you visit the product page is 1 however when you use the minus button it will not reduce.

    When we press the + button it increases but doesn’t limit the decimal place to one. ie. 1.1 is correct but 1.2 is 1.2000000002 and 1.3 is 1.3000000003 etc.  How do we limit it to only one decimal place?

    Thank for your assistance.

    #104938
    WPWhale
    Moderator

    Hi Annie,

    I’ve seen this multiple times before, in most cases it’s a theme incompatibility (to confirm, you get this on product and also on cart, right?).

    To get this fixed, we will need access (probably FTP as well), can you please send us to [email protected] so we can take care of that?

    Omar

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.