Share via E-Mail
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Dash not working in product options



guest_user
member
Posts: 1302


I created a product with two variables, student name with a text box and grade level with a dropdown selection. The product was working fine with Kindergarten, 1st Grade,2nd Grade, 3rd Grade, 4th Grade as variables.

I had a parent call and point out that Pre Kindergarten was missing so I added Pre-K and changed the button code. I Then noticed that the new sales were missing the grade variable.

I searched the forums and could not find anything similar and just assumed that the "-" was causing a problem. I modified the cart variable from Pre-K to PreK and I made a purchase and the grade variable was there

**** Working Code

<input type="hidden" name="on0" value="Student Name">
<input type="text" name="os0" maxlength="200">
<input type="hidden" name="on1" value="Grade">
<select name="os1">
<option value="PreK">PreK</option>
<option value="Kindergarten">Kindergarten</option>
<option value="1st Grade">1st Grade</option>
<option value="2nd Grade">2nd Grade</option>
<option value="3rd Grade">3rd Grade</option>
<option value="4th Grade">4th Grade</option>
</select>

**** Non-Working Code

<input type="hidden" name="on0" value="Student Name">
<input type="text" name="os0" maxlength="200">
<input type="hidden" name="on1" value="Grade">
<select name="os1">
<option value="Pre-K">Pre-K</option>
<option value="Kindergarten">Kindergarten</option>
<option value="1st Grade">1st Grade</option>
<option value="2nd Grade">2nd Grade</option>
<option value="3rd Grade">3rd Grade</option>
<option value="4th Grade">4th Grade</option>
</select>


#
POSTED ON: December 3, 2007 @ 00:00 GMT -7




Shivani
member
Posts: 1358


Were you maybe using a long dash (—) in which case you must ensure that your page type where you have our buttons have the following line between <head> and </head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


#
POSTED ON: December 3, 2007 @ 00:00 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam