Text Entry on More Info Page

General ShopSite user discussion

Text Entry on More Info Page

Postby VinceS » Tue Jul 12, 2011 10:34 am

I need to add two text boxes that a customer can use to enter their engraving requests. I've hacked together some code from the Shopping Cart Page (row two in the code snippet below). Problem is I need this on the More Info page and I need two text areas.

I know this code won't work as it is, but am I going in the right direction? I'm guessing that "freeopt" is a variable. Bottom line, I need two text entry boxes on my More Info pages and the entered must be passed onto the Shopping Cart and to the Checkout Pages.

Any help would be greatly appreciated.

<tr>
<td align="left"><select name="16984:finopt:5" size="1">
<option value="Choose Font (2nd line):">Choose Font (2nd line):</option>
................
<option value="Prestige">Prestige</option>
</select></td>
</tr>
<tr>
<td align="left"><input type="hidden" name="1:finoptnum" value="6">Text (15 char. max. per line)<br>
<textarea wrap="physical" name="1:freeopt" rows="1" cols="20"></textarea>
</td>
</tr>
VinceS
 
Posts: 134
Joined: Fri Apr 06, 2007 1:26 pm

Re: Text Entry on More Info Page

Postby ShopSite Nicole » Tue Jul 12, 2011 11:51 am

If you have the ShopSite Pro package, then we have documentation online for how to implement a divided customer text entry box on the product pages. This information is found at the following URL:
http://www.shopsite.com/templates/cookbook/product16-textentryfielddivided.shtml
ShopSite Nicole
 
Posts: 184
Joined: Thu Jan 14, 2010 10:30 am
Location: Utah

Re: Text Entry on More Info Page

Postby VinceS » Tue Jul 12, 2011 12:09 pm

Exactly what I needed.
Thank you
VinceS
 
Posts: 134
Joined: Fri Apr 06, 2007 1:26 pm

Re: Text Entry on More Info Page

Postby VinceS » Tue Aug 16, 2011 2:43 pm

One last thing

Here's what I've got so far ==> http://www.ahoycaptain.com/shop/CustomBoatMats.html
Here's the code snippet that I'm used to add the "divided customer text entry box"

# Created 08/15/2011 # Allows custom text entries for embroidery of boat mats
<!-- Begin AC_Custom Boat Mats Options -->

<b>1st line of text (15 char. max.)</b><br>
<input name="[-- PRODUCT.RecordNumber --]:freeopt" type="text"
id="[-- PRODUCT.RecordNumber --]:freeopt" value="" size="15"><br>

<b>2nd line text (15 char. max.) optional/add $5</b><br>
<input name="[-- PRODUCT.RecordNumber --]:freeopt" type="text"
id="[-- PRODUCT.RecordNumber --]:freeopt" value="" size="15"><br>

<!-- End AC_Custom Boat Mats Options -->


What I need now is the code to "Add $5" to the items cost if the 2nd line is entered?
VinceS
 
Posts: 134
Joined: Fri Apr 06, 2007 1:26 pm

Re: Text Entry on More Info Page

Postby Jim » Wed Aug 17, 2011 9:59 am

Add the 5.00 to the order options that must be selected for the second line of text, perhaps the Font (line2).
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 64 guests