I need to have a new price type added which can be used with a text field or text area product option.
The price type should be labeled “Per Character” and will charge the amount typed in the price field times the number of characters used (ignoring spaces).
On the product page, it should display “$x.xx per character (spaces not included)” next to the option name. The price at the bottom of the page shown by the “Add to Cart” button should automatically update.
I have attached an image of exactly how I want the price type to be implemented.