Charge based on character length
For personalized gifts, there are situations where it would be great to charge based on the length of a phrase (or sentence). In my case, we sell custom custard tards (a very typical portuguese cake).
For example, if the customer types "MARIA" on the product add-on, there would be counted 5 characters. If the price per character is 1€, the final price would be 5€