• Hey Ryszard, sorry for disturbing you again =]

    I’m trying to implement weight based quantities on our fruits section and I notice some issues. You can try increasing the quantity on the apple (product) in the “link to the page you need help with” to check it out, here is what happens:

    1) My increment amount is 0,1 and when I get the qty up from 1, it goes straight to 1,2 – not 1,1
    2) After I get the Qty up, It won’t go down 1,2
    3) If I don’t get it up, I can get it down until minium which is 0,5

    I’ve check the min/max/step and it is ok (html). I think it might be something in the JS.

    The plugin which Im using for weight based is:
    – Quantities and Units for WooCommerce

    Well, any hints which I could follow to resolve this issue?

    Thank you!

    • This topic was modified 4 years, 6 months ago by mpassos.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mpassos

    (@mpassos)

    Oh, and an interesting detail:

    It does not happen in my main shop page:

    instadev.com.br/nossaloja (check “Feira” category slider)

    It works flawless here.

    Cheers from Brazil!

    Thread Starter mpassos

    (@mpassos)

    I have identified the issue. It is in the javascript of your plugin. The change is applied correctly but when you call the quantity_change method, it goes from 1.1 to 1.2.

    Which is interesting is that it only happens from 1 to 1,1…

    Still working. Will update the post as soon as I solve it.

    • This reply was modified 4 years, 6 months ago by mpassos.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Decimal Values with Quantities and Units for WooCommerce’ is closed to new replies.