Implement an order form that automatically counts words

Hello,

Sound like an interesting idea, it’s possible to do so with a little bit coding if you wanna achieve the exact feature as your mentioned example. As you need to create a product in Shopify before checking out (without using draft order), so you need to create a “product” base on the word count every time, the flow could be like,

  1. Create a textarea and count the word with javascript in the frontend.

  2. Create an endpoint to dynamically create product with Shopify admin API, and call every time when user in the frontend submitting the word count, and then redirect user back to the checkout page.

Otherwise, for another option with less coding, could be creating different Products with the range of word count like 0 - 500, 500 - 1000, 1000 - 1500 etc, and allow users to pick the package of what they want.

Just some random thought.