Comment

Comment by filoleg

Oh wow, this is actually interesting.

Out of curiosity, do you happen to know whether the threshold for hiding the full tip amount is based on a percentage of the total order cost or if it is just a flat number? I.e., “anything over $6 gets truncated to $6+” vs. “anything over 20% of the order gets truncated to ${total_order_cost*0.2}+”.

Or could it be based off the 3 pre-selected options for the tip that are displayed at the checkout page, and if it is more than the largest option, then it just shows `${largest_predefined_tip_option}+ `?

My personal guess is that it is the last one, but that’s just pure speculation on my part here, hence the question.

parent filoleg 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton