Overview
The service fees are available for delivery order, when a user reaches a range, according to the amount of money being spent.
To use this feature, you need to have the feature flags Enable Fees UI, Enable Free Delivery Fee Progress Bar, Enable your cart tiered delivery fees and tiered-delivery-fees enabled and place an order for delivery.
Besides, you may want to turn off legacy FFs Enable Free Delivery Checkout Progress Bar and Discounted delivery threshold cents to not create redundancy of features in checkout page.
enable-hide-service-fees-by-restaurant can be used to decide whether service fee should be hidden for specific restaurants in FE. It may be the case where certain restaurants don’t support this type of fee.
enable-relaying-new-fees-to-pos is used enable the sendings of fees ( delivery, service) in Delivery Create process, so that Delivery Platform can receive it, persist it and display internally/tickets.
It’s also used in getOrder process so that POS can retrieve the fees (delivery, service) via partner api.
PS: This FF only propagates the fees forward, but the configuration values still depends on tiered-delivery-fees. If it’s not configured properly, it will propagate zero.
Step by step
Step name | Steps description | Screenshot |
---|---|---|
Add a product to cart and proceed to the checkout page |
| Strikethrough value is present, but fees are not free, because the value spend does not provide a free fee yet Fees progress bar not completed: the user needs to increase the amount spent to complete it. |
Get fees information |
| |
Get free fee |
| The progress bar is completed: free fess is reached and the free fee label is visible |