The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Set up product with user entered price

I can't figure out how to do this. I create consulting agreements and then send customers to site to purchase and need each purchase to have a custom price instead of a set price.
  • fc_adamfc_adam FoxyCart Team

    Thanks for posting - that is indeed possible. If you set up your add to cart as a form, you can add in a text input with a name of "price" for the customer to then enter in any amount. As an example:
    <form action="" method="post" accept-charset="utf-8">
    <input type="hidden" name="name" value="Invoice" />
    <label for="price">Amount To Pay:</label>
    <input type="text" id="price" name="price" value="" />
    <input type="submit" value="Pay Invoice" class="submit" />
    I hope that helps!
  • Sorry, no, I don't understand. When I set up and configure products using foxyshop there is no HTML.
  • fc_marijafc_marija FoxyCart Team
    Hi @TimTeichman -

    Sorry about that. It's a little different using FoxyShop. You'll want to set up a Variation as a single line of text input. The Variation Name should have {price} appended to the end of it. So it might be Amount{price}.

    You'll want to make the field required.

    Hope that helps. Let us know if you need additional information.
Sign In or Register to comment.