Rhapsody Posted November 13, 2012 Share Posted November 13, 2012 I'm searching for a way that allows the customer to enter an amount to pay for a product. This will be used for things such as charitable contributions and entering payment amount for an invoice. I tried creating a product with combinations and dropdowns with the number 0 through 9 labeled as cents, dimes, dollars, ten dollars, and hundred dollars. The value of each having an amount that corresponds to the dropdown selected. The problem is there are so many combinations, the combinations generator times out. Does anyone have a solution that allows a customer to enter the amount they desire to pay for a custom product? Link to comment Share on other sites More sharing options...
CartExpert.net Posted November 16, 2012 Share Posted November 16, 2012 Hi. What happens if a customer sets a price? They will be able to buy it at that price? Regards. Robin. The CartExpert Team Link to comment Share on other sites More sharing options...
Rhapsody Posted November 16, 2012 Author Share Posted November 16, 2012 Yes - it is intended so customers can make a donation to our club, and to allow people to pay an invoice online. They would type in the invoice number in one custom field, then enter the invoice amount. Link to comment Share on other sites More sharing options...
Ginno Posted November 6, 2013 Share Posted November 6, 2013 I am interested in this idea. Rather than list price to be written "DONATE". And the price to be entered by the user before being added to shopping cart Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted November 7, 2013 Share Posted November 7, 2013 Create Product e.g "Charity Payment" Set Product Price = 1 You don't have to create product combination. Modify product.tpl file to add smarty if-else statement, so if customer browsing this product then the Product price information is hidden (or completely removed from the product page) and change the text "Quantity" became "I'm willing to pay" or whatever Then your customer can enter the payment amount that s/he want in "I'm willing to pay" field input which is actually "Quantity" field input. Link to comment Share on other sites More sharing options...
Rhapsody Posted November 7, 2013 Author Share Posted November 7, 2013 gonebdg - thanks for the tip. If this approach is taken, can a person enter a decimal amount for the quantity (e.g. 1.25 to represent $1.25)? Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted November 7, 2013 Share Posted November 7, 2013 gonebdg - thanks for the tip. If this approach is taken, can a person enter a decimal amount for the quantity (e.g. 1.25 to represent $1.25)? Set Product Price = 0.1 (or set to 0.01) Customer can enter payment amount = 12 to represent $1.20 (if product price was set to 0.1) OR Customer can enter payment amount = 125 to represent $1.25 (if product price was set to 0.01) You can also set minimum amount Set Product Minimum Quantity (The minimum quantity to buy this product) = 10 (or set to 100) Then the minimum payment amount will be = 1 (if product price was set to 0.1) OR Then the minimum payment amount will be = 0.1 (if product price was set to 0.01) Example : http://www.presta.team.pro/en/home/9-charity-payment.html Link to comment Share on other sites More sharing options...
myex Posted August 31, 2014 Share Posted August 31, 2014 gonebdg thx for the explanations. I would like to do as described, but i'm very new to presta. Maybe can you post an example of the lines of the product.tpl, that would be fantastic, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now