Is there a way to allow customers to enter the price of a product? My products are gift certificates for local businesses (http://www.rangeleytrading.com). Right now I have variants for multiple amounts ($20, $25, $30, $40, $50, etc), which customer can choose in a dropdown menu. This is working but it would be preferable if they could simply enter the dollar value of the gift certificate they'd like to purchases. Is there a way to do that? Thanks.
That is an interesting puzzle.
If you are on Plus you have access to Scripts: https://help.shopify.com/en/manual/apps/apps-by-shopify/script-editor/shopify-scripts.
You can set a product with a $1000 price. The user can input the desired value in an input field (max 1000).
The order will pass that custom value as a line propriety. Scripts can access that custom value and discount the order price, from $1000 to the user input.
Its a long shot, complicated, but as I've said it would be something intresting to try. I would probably stick to multiple variants :)
Nope, there is another option -- you can have a price of $1 and customer can add 375 of those to a cart. The coding is necessary to masquerade this as one product with price of $375. (or maybe not necessary at all).
Similar to selling like a water hose by lineal meters.
I could create an app for this that creates a new product/variant when the user enters the desired price. Then it can be added to cart and checked out. There are some limitations however, i.e. max 100 price variants per product and Shopify's API call limits. So if you have periods of more than 2 add-to-carts per second, customers would experience a lag.
Another solution would be to automatically create (max) 100 variants with prices, e.g. $10, $11, $12, ..., $105. Then display a price input to the user on the product page. When the user types in $75 the 75-variant would be automatically selected. Some workarounds would be required to implement more than 100 price points.