Flatsome theme compatibility with decimals

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #103951
    Molnar Gabor
    Guest

    Hello,
    Unfortunatelly this plugin is not compatible with the Flatsome theme. When I set decimal quantities 0,1 and I try it out, it will produce 1,100001 –> 1,200002 –> 1,300003 etc..

    • This topic was modified 1 year, 5 months ago by Omar Dabbas.
    #103952
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Will be checking that asap. One question though – do you have any of Force JS check options enabled in plugin’s “Advanced Options” settings section (i.e. at the bottom of the page in “WooCommerce > Settings > Product Quantity”)? If you have – please try temporary disabling them to see if issue is still there.

    #103953
    Molnar Gabor
    Guest

    Hi,
    No, I dont.

    #103954
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Sorry for a late reply. I’ve just checked and you are correct – Flatsome theme has issues with decimal quantities. The problem is in their custom plus and minus quantity buttons. They added custom JS code to handle it. For now the only “solution” I was able to come up with is to hide Flatsome’s plus and minus quantity buttons by adding custom CSS:

    input[type="button"].button.minus,
    input[type="button"].button.plus {
        display: none !important;
    }

    Ideally if we could bring back standard HTML number input spinners it would be working fine, however I didn’t manage to do it – will be trying further – unfortunately I’m not a big expert in CSS.

    #103955
    yournet
    Participant

    Hi, we also use Flatsome. At which moment this issue pops up? I havn’t noticed it yet. Even when I use plus and minus to alter quantity everything works fine for me.

    Thank you!

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