Allow custom price

Highlighted
New Member
2 0 0

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.

0 Likes
Highlighted
Shopify Partner
1365 24 238

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 :) 

https://sections.design tips, tricks & Shopify sections
0 Likes
Highlighted
New Member
2 0 0

Thanks, Mircea. I'm on Basic and this is beyond my comfort level with programming so I guess I'll stick with the variants. I'm glad to know I'm not missing an obvious solution, though, so thanks for taking the time to reply. Much appreciated.

0 Likes
Highlighted
Shopify Expert
2684 67 816

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.

Want to hire me to tweak a theme? Mail me at tairli@yahoo.com!
My post solved your problem? Like it!
I am away till Feb-15.
0 Likes
Highlighted
Shopify Partner
1365 24 238

If you look at the full picture, things like inventory, order confirmation mail, checkout, refunds, you will see that both solutions require a lot of complexity and not really maintainable.

Keep it simple and stick to variants :)

Thanks

 

https://sections.design tips, tricks & Shopify sections
0 Likes
Highlighted
Shopify Partner
43 1 9

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.

Just trying to help out.

We are web app developers, SEO ethousiasts, and do all kinds of other cool internet things.
Check us out at https://public-apps.com
0 Likes