HomePage › Forums › Themes Support › Freshio – Organic & Food Store WordPress Theme › carriage rounding
Tagged: urgent
- This topic has 7 replies, 2 voices, and was last updated 3 years ago by Billy Nguyen.
-
AuthorPosts
-
February 24, 2021 at 9:48 pm #5924francescaSupport Expired
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
February 25, 2021 at 11:04 am #5937Hi 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.February 25, 2021 at 5:39 pm #5954francescaSupport Expiredwe attach the code, but it does not work how we want
please, can u check the site?
February 26, 2021 at 1:40 pm #5996Ok, I have just added code for this issue, please recheck.
February 26, 2021 at 4:06 pm #6009francescaSupport Expiredi think u do not understand my request.
https://prnt.sc/107gw0n in this case the total cart will be 75the rounding of the cart must be based on the second decimal place
March 1, 2021 at 5:08 pm #6105Here 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.
March 1, 2021 at 6:24 pm #6112francescaSupport Expiredsorry 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,50March 2, 2021 at 8:48 am #6131Ok, 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. -
AuthorPosts
You must be logged in to reply to this topic.