Decimal step not working on +/- buttons

Top WooCommerce & WordPress Plugins Forums Min Max Default Quantity for WooCommerce Decimal step not working on +/- buttons

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #104369
    Resto
    Participant

    Hey there!

    I purchased the plugin to have decimal quantities for products, as I am selling food. However, it seems that it does not seem to be working. I have tried the category option and also individual product option.

    It is currently turned on to be a 0.5 step for this product – https://parnuresto.ee/toode/napoleoni-tort/

    However, each time I click the quantity it goes up by one. Is there something I am missing or doing wrong? If I add it manually by writing 1.5 in the field, then it works, but I would like for this to actually work with the arrows.

    Looking forward to hearing from you.

    Have a great day!

    • This topic was modified 11 months, 1 week ago by Omar Dabbas.
    #104370
    WPWhale
    Moderator

    Hi Regina,

    This happens on your store because +/- buttons are handled by the theme JS files in global.js file:
    var newVal = oldValue + 1;

    Please contact me at [email protected] to explore how we can get this fixed for you.

    Omar

    #104371
    Resto
    Participant

    Hey, Omar!

    I am so sorry for have wasted your time. I am not sure why I did not look the theme files first. This is a simple fix and everything is working as expected now. Thank you for taking the time to check this and answering so quickly.

    Have a great weekend!

    #104372
    WPWhale
    Moderator

    Not at all Resto, glad to know it’s all sorted now.

    If you found the plugin and/or support useful, it would be great if you can review it.

    Omar

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