You'll need to modify the product template with custom add to cart code as described in the section "Custom Text Entry Example 1:" in the cookbook.
This will involve:
- copying the product template to a custom one under Merchandising -> Custom Templates
- editing this custom template in the "DEFINE MORE_INFO" section, looking for the code:
- Code: Select all
<input type="hidden" name="storeid" value="[-- STORE_ID --]">
<input type="hidden" name="dbname" value="products">
<input type="hidden" name="function" value="add">
<input type="hidden" name="itemnum" value="[-- PRODUCT.RecordNumber --]">
and adding in the custom text entry fields where you want them to appear on the page:
- Code: Select all
Line 1 <input name="[-- PRODUCT.RecordNumber --]:freeopt" type="text"
id="[-- PRODUCT.RecordNumber --]:freeopt" value="here is line 1" size="15"><br>
Line 2 <input name="[-- PRODUCT.RecordNumber --]:freeopt" type="text"
id="[-- PRODUCT.RecordNumber --]:freeopt" value="here is line 2" size="15"><br>
Line 3 <input name="[-- PRODUCT.RecordNumber --]:freeopt" type="text"
id="[-- PRODUCT.RecordNumber --]:freeopt" value="here is line 3" size="15"><br>
Then assigning your products to this custom template.
Rob
ShopSite Hosting