Input items question

Problems installing or using the NOP Design Free Shopping Cart. **ARCHIVE** Please post new topics to one of the groups below.

Moderator: scott

Input items question

Postby artgrrl30 » Fri Feb 07, 2003 12:20 am

Hey,
I am trying to figure out when I do an input field instead of a select field... how do I get it to work? Currently, Steven has been helping me, and has fixed most of my problems, I have gone into the nopcart.js and changed the number of additional fields so that I could have more than 4 and thats all fine, and I have done all that, but now, :arrow: when I go to order and enter in the personalized information (names, monograms and all of that) it goes to the cart with nothing. No info, no price, and the like.

Code: Select all
PERSONALIZED
                      PRINTS </strong></font></p>
                    <p><br>
                      <a href="images/friends_boy_girl.jpg"><img src="images/friends_boy_girl_t.jpg" width="233" height="300" border="0"></a>
                      <br>
                      <font size="4" face="andy">They may fuss, but they're still
                      siblings and friends.</font></p>
                    <p align="center"><font color="#FF3399" size="5" face="andy">Girl
                      and Boy Print (8x10) $20.00</font></p>

 <form action="managecart.html" name="Boy &amp; Girl Print" id="Boy &amp; Girl Print" onsubmit="AddToCart(this);">
                      <p align="center"><font size="2" face="ARIAL,HELVETICA"><strong>Girl:</strong>
                        <br>
                        Name
                        <input name="ADDITIONALINFO" type="text" id="Girls Name">
                        <br>
                        Hair Color
                        <select name="ADDITIONALINFO2" id="g-hair color">
                          <option value="blonde" selected>Blonde</option>
                          <option value="med. brown">Med. Brown</option>
                          <option value="dk. brown">Dk. Brown</option>
                          <option value="red">Red</option>
                          <option value="black">Black</option>
                        </select>
                        <br>
                        Monogram: First
                        <input name="ADDITIONALINFO3" type="text" id="mono-first" size="1">
                        Last
                        <input name="ADDITIONALINFO4" type="text" id="mono-last" size="1">
                        Middle
                        <input name="ADDITIONALINFO5" type="text" id="mono-mid" size="1">
                        </font></p>
                      <p align="center"><font size="2" face="ARIAL,HELVETICA"><strong>Boy:</strong><br>
                        Name
                        <input name="boy-name" type="text" id="boy-name">
                        <br>
                        Hair Color
                        <select name="ADDITIONALINFO6" id="b-hair color">
                          <option value="blonde" selected>Blonde</option>
                          <option value="med. brown">Med. Brown</option>
                          <option value="dk. brown">Dk. Brown</option>
                          <option value="red">Red</option>
                          <option value="black">Black</option>
                        </select>
                        </font></p>
                      <p align="center"> <br>
                        <input name="image223" type="image" value="Add to Cart" src="/images/buynow.gif" align="top" border="0">
                        <input name="QUANTITY" type="hidden" id="QUANTITY" onchange='this.value=CKquantity(this.value)' value="1">
                        <input name="PRICE" type="hidden" id="PRICE" value="20.00">
                        <input name="NAME" type="hidden" id="NAME" value="Boy and Girl Print">
                        <input name="ID_NUM" type="hidden" id="ID_NUM" value="Boy and Girl Print">
                        <input name="SHIPPING" type="hidden" id="SHIPPING" value="6.00">
                      [size=7][/size]


If someone could help me, I would appreciate it.

Thanks,
melodi
artgrrl30
 
Posts: 17
Joined: Wed Jan 22, 2003 11:32 am
Location: Fairhope, Alabama

Postby scott » Fri Feb 07, 2003 7:15 am

I made a post on this before.. check out this thread, I think it will answer your questions:

http://www.nopdesign.com/forum/viewtopi ... =userentry

There was a version of this slightly changed and posted to the mods forum as well.

_Scott
scott
Site Admin
 
Posts: 558
Joined: Sun Jul 14, 2002 7:00 pm
Location: Phoenix, AZ

Postby artgrrl30 » Fri Feb 07, 2003 6:08 pm

I found that last night........ thank you!!!!
artgrrl30
 
Posts: 17
Joined: Wed Jan 22, 2003 11:32 am
Location: Fairhope, Alabama

Postby Steven Nyland » Sun Feb 09, 2003 10:33 am

Hey arty,

Is everything up and running now?

Steven
[ If it ain't Dutch ... it ain't Much ]
Steven Nyland
Guru
 
Posts: 274
Joined: Thu Jan 02, 2003 1:20 pm
Location: Still here ...


Return to Installation and Setup Problems

Who is online

Users browsing this forum: No registered users and 0 guests

cron