A CubeCart 3 modification is needed to allow a store to have products where the customer can enter the price they wish to pay (e.g. for donations). When the customer enters a price and adds the product to their basket, they will be charged whatever price they entered for that product.
## Deliverables
Admin Area
Within the Admin -> Add/Edit Product page, there will be a checkbox underneath the price / sale price input boxes with text beside it "No set price, customer chooses how much to pay". If the checkbox is ticked and the product is saved, this product will then have no set price and the customer will be able to enter the price they want to pay.
Front End
The product details page and category (product listing) pages will be adjusted so that instead of displaying a price, a text box is provided (with the text beside it, "Enter your price:"). (Note: HTML must validate.) The customer can enter their price and click the Add to Basket (or Buy) button. Any unusual characters that the customer may enter into the text box need to be ignored, no errors should result. The correct price must then be displayed within the shopping cart box and within the checkout pages, and the customer must be charged that price.
## Platform
Web servers with PHP 4+ and MySQL 4+