| | |||||
| ||||||||
| The Break Room Casual discussion about non-industry related topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Nov 2003
Posts: 850
![]() ![]() ![]() | $70 DN$ For Help With My PayPal Shopping Cart Script Hi All, Edit: Wrong currency in the headline, sorry ![]() Is there someone here that could help me alter the script I have at http://www.valuetees.com/tee-order.htm in the following way?: ????: NamePros.com http://www.namepros.com/the-break-room/43137-70-dn-help-my-paypal-shopping.html I need to add a field that would allow the user to choose any number of XXL shirts and/or XXXL and be charged accordingly. In other words, all shirt sizes S through XL are the same price. But the larger shirts cost more. I need the script to allow for the two (or more) different charges to show up as the total charge. As it is, the PayPal shopping cart does not allow for seperate charges within one cart. If this is too complicated to mess with for NP$, please just let me know what the charge would be. Thank you.
Last edited by wordplay; 08-13-2004 at 09:17 AM.
|
| |
| | #3 (permalink) |
| Senior Member Join Date: Feb 2004
Posts: 2,656
![]() ![]() ![]() ![]() | I think its not fair to use DN$ in Namepros .
__________________ A single smile can be a solution to several problems.:) www.adult.ec is for Sale! Why not make an Offer? |
| |
| | #5 (permalink) |
| Senior Member Join Date: Feb 2004
Posts: 2,656
![]() ![]() ![]() ![]() | lol Ok., Then he need to change it to NP$
__________________ A single smile can be a solution to several problems.:) www.adult.ec is for Sale! Why not make an Offer? |
| |
| | #7 (permalink) |
| Senior Member Join Date: Jan 2004
Posts: 1,187
![]() ![]() ![]() | Fairly easy to do, but the catch is you'll have to use javascript which some people turn off (you can force them to use javascript by making the submit button only work with javascript) You'd have to change the description box to a section box - use this for ideas - untested, on the fly code here ![]() Code: <input type="hidden" name="on0" value="Size">
<select name="os0" onChange="if (this.selectedIndex>4) { document.form[0].amount.value='300.50'} else {document.form[0].amount.value='255.60'}">
<option value="Select a Size">Size
<option value="small">small
<option value="medium">medium
<option value="large">large
<option value="x-large">x-large
<option value="xx-large">xx-large
</select>
<input name="amount" size="10" value="255.60" READONLY > ????: NamePros.com http://www.namepros.com/showthread.php?t=43137 See the form[0], you'd have to adjust that number for the form on your page if you are going to use multiple forms. Note that some ancient browsers like webtv do not support onchange (argh) so you have to enforce it again on the onsubmit for the form.
Last edited by aww; 08-13-2004 at 11:33 PM.
|
| |
| | THREAD STARTER #8 (permalink) |
| NamePros Regular Join Date: Nov 2003
Posts: 850
![]() ![]() ![]() | aww, I truly appreciate what ever time you put into this code. But I am clueless as to how to change it and adapt it for my situation. If you care to take it to the next step, please let me know your charge and I'll be happy to work something out with you. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |