Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2913477
Always round UP to nearest step
Closed

Comments

  • Theis Zander started the conversation

    Hi, I need the plugin to ALWAYS round UP to nearest step.

    We sell floor tiles, that comes in packages of let's say 2,5 m2, so steps are set to be 2,5. If a customer have a floor that is 8 m2 he will need 4 packages (10m2), as 3 packages will only give him 7,5 m2, and leave him with a 0,5 m2 "hole".

    Hope you can help me.

    Payment ID: 47997
    Receipt ID: bba2baa17fe91573cdf6e7d1698ec458


  •  767
    Janilyn replied

    Hi Theis,

    Thanks for contacting us here.

    May I ask how are you setting up the quantity on your site? I'm not sure if I get your questions right. 

    As if you are using the 2.5 steps but 7.5 is not enough, you should give an alert or a note to guide customers so that they can choose 4 instead of 3. The step cannot be rounded up, it will be fixed once you set it up. 

    If you are trying to achieve something else, it would be great if you can offer some screenshots or links to your published product.

    Best regards.

    Janilyn T. - WPClever Support Agent

  • Theis Zander replied

    Hi Janilyn,

    If we still use the example with steps of 2,5, the problem is that if a customer enters 8 with the keyboard in the quantity field, then the plugin automatically rounds DOWN to 7,5 instead of rounding UP to 10.

    When there is a rule in the plugin that automatically rounds down, it should be possible to alter that rule to round up?

    I don't understand what you mean by giving an alert or note? How/where could I set them up?

  •  767
    Janilyn replied

    I've got your question now, Theis.

    So you're using the Input type for the Quantity input. I will transfer your ticket to one of our developers so that he can help you with that.

    Our developer will respond to you as soon as being available for support.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  1,226
    Dustin replied

    Hi Theis,

    Please update our plugin to the latest version 2.3.2, you will see a new option https://www.screencast.com/t/kuVqx3C2xgc

    Please also clear the cache after updating our plugin to make it works correctly.

    Best regards,
    Dustin