Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5924
    Avatarfrancesca
    Supported

    hi, i need to fix a carriage rounding like this:

    – if the cart total has 1/2/3/4 as the first decimal, the cart total is rounded to 0. example: 15,34 = 15,00

    – if the cart total has 6/7/8/9 as the first decimal, the cart total is rounded to 5.
    example: 16,67 = 16,5

    – if the cart total has 5 or 0 as the first decimal, it remains so. example: 15,00 = 15,00
    17,50 = 17,50

    – if the cart total has 5 as the first decimal and the second decimal places are 1/2/3/4/5/6/7/8/9, the cart total will be 50. example: 12, 54 = 12,50

    #5937

    Hi there,

    About your issue, I helped you on this topic https://pavothemes.com/forums/topic/problem-with-slider-revolution-and-others/

    Did you remove code and now, you want to add again????/
    I only support you to fix it once, this issue is out of theme and plugin support, so if you want to keep fixing it, we will charge a custom fee.

    #5954
    Avatarfrancesca
    Supported

    we attach the code, but it does not work how we want

    please, can u check the site?

    #5996

    Ok, I have just added code for this issue, please recheck.

    #6009
    Avatarfrancesca
    Supported

    i think u do not understand my request.
    https://prnt.sc/107gw0n in this case the total cart will be 75

    the rounding of the cart must be based on the second decimal place

    #6105

    Here is your request:

    – if the cart total has 1/2/3/4 as the first decimal, the cart total is rounded to 0. example: 15,34 = 15,00
    
    – if the cart total has 6/7/8/9 as the first decimal, the cart total is rounded to 5.
    example: 16,67 = 16,5
    
    – if the cart total has 5 or 0 as the first decimal, it remains so. example: 15,00 = 15,00
    17,50 = 17,50
    
    – if the cart total has 5 as the first decimal and the second decimal places are 1/2/3/4/5/6/7/8/9, the cart total will be 50. example: 12, 54 = 12,50

    According to that requirement: https://prnt.sc/107gw0n
    Subtotal: 39.87$
    Ship: 5$
    Total: 44.87$
    8>5 => 44.87$ = 44.5$

    like your example: 16.67$ = 16.5$

    If you still do not see your request, please find another solution to your request. This is a free support service for theme issues, I can’t spend too much time arguing with you over requests that you should have paid to customize.

    #6112
    Avatarfrancesca
    Supported

    sorry for the delay

    – if the cart total has 1/2/3/4 as the second decimal, the cart total is rounded to 0. example: 15,34 = 15,30

    – if the cart total has 6/7/8/9 as the second decimal, the cart total is rounded to 5.
    example: 16,67 = 16,65

    – if the cart total has 5 or 0 as the second decimal, it remains so. example: 15,00 = 15,00
    17,50 = 17,50

    #6131

    Ok, I fixed it, please recheck.
    This is the last time I fix this for you, if you continue to request a fix for this we are required to charge a custom code fee.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.