In price cart, we show the breakdown of fees below the subtotals.
Whenever the service Fee or the delivery Fee become zero, we need to strikethrough the original value, and show a label saying "Free”.
Use case : Non-zero delivery fee from Delivery Platform
If the delivery Fee - discount delivery Fee == 0
If the service Fee - discount Service Fee == 0
In principle, using the returned fee structure of the current tier is enough. Search in other tiers is not necessary.
It’s not necessary to strikethrough when the discount is partial.
Use case: Zero delivery fee from Delivery Platform
To solve this use-case, the app needs to retrieve the initial quotation (Lowest tier) to read the initial delivery fee and apply the strikethrough on the original value, IF the current delivery fee is zero because it was returned zero for the current tier.
Add Comment