Print Page | Close Window

Ability for customer to enter price

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1259
Printed Date: 20-May-2024 at 5:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ability for customer to enter price
Posted By: plezaic
Subject: Ability for customer to enter price
Date Posted: 05-December-2007 at 10:30am

I need the ability for a customer to enter their own value for the price of the product instead of giving them a choice. Did anyone do this?

I tried making option field and then changing it from SELECT field to input field but value passed is the idoptoptgroup from the options_optionsGroups table instead of the actual option value.

Thanks for any suggestions.

P




Replies:
Posted By: netprofits
Date Posted: 05-December-2007 at 10:44am

We have done this for a few clients. It involves custom programming of the viewprd.asp (and related files) to check for specific SKUs and then displays a field for the $ amount instead of the quantity. Then instprd.asp is modified to handle processing of the entered amount to add the item to the cart.

If you want to see an example, go to:
http://www.divafabrics.com/productcart/pc/viewPrd.asp?idcategory=0&idproduct=1275 - http://www.divafabrics.com/productcart/pc/viewPrd.asp?idcate gory=0&idproduct=1275



-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: M Robles
Date Posted: 05-December-2007 at 10:46am
You could create the product as $1 and use the Qty. field as the amount unless you doing this for a gift card where it would generate a special certificate code for every dollar.
 
The problem with your situation is the idoption is hard coded to to the options table and you would have to modify the code to reroute the table for idoptopgroup which would change the settings for all options.
 


Posted By: plezaic
Date Posted: 05-December-2007 at 11:22am

This seems like an option I would have to explore. Sice you already have solution made could you PM me with a quote for the patched files?

Thanks,
P

Originally posted by netprofits netprofits wrote:

We have done this for a few clients. It involves custom programming of the viewprd.asp (and related files) to check for specific SKUs and then displays a field for the $ amount instead of the quantity. Then instprd.asp is modified to handle processing of the entered amount to add the item to the cart.

If you want to see an example, go to:
http://www.divafabrics.com/productcart/pc/viewPrd.asp?idcategory=0&idproduct=1275 - http://www.divafabrics.com/productcart/pc/viewPrd.asp?idcate gory=0&idproduct=1275




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net