[Solved] Split shipping cost by weight across items in cart
I don’t know Java, but since you included no Java code, I’ll just give pseudocode to how to do this: a = 70 / (70 + 100) b = 100 / (70 + 100) This normalizes the two values, and then you can just multiply a and b with $15 to get the proper ratio. … Read more