by ShopSite Lauren » Mon Jul 21, 2014 10:37 am
The first option with the merchant definable fields is only available in ShopSite Pro. If you have ShopSite Manager, the only option you will be able to setup is the Custom Text Entry Example 1 (for version 11 and earlier).
1. Find out what product template you are using (Products > Edit Product Layout). Then go to Merchandising > Custom Templates > Page/Product > Copy ShopSite Product Template, and make a copy of that product template. You mentioned the classy_pr_template.sst, if that is the template you are using for your products, then make a copy of that one, and I would suggest name it with the number of extra customer text entry fields you need. For example, you might make 3 custom templates and name them:
classy_pr_template_2_customer_fields.sst
classy_pr_template_3_customer_fields.sst
classy_pr_template_4_customer_fields.sst
You wouldn't need to create a custom template for 1 customer text entry field, because that is the default format. One thing to note is that the classy product templates, awesome orange product templates and elite product templates are the most difficult product templates to modify, so if you can use a different product template than those, I would suggest to do so.
2. In the custom template, find where you want the extra fields to appear (probably just above the add to cart button, so find where there is code for an add to cart input field) and paste the code below. You can modify the text such as "line 1" to say whatever you want it to say.
2 customer fields:
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>
3 customer fields:
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>
4 customer fields:
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>
Line 4 <input name="[-- PRODUCT.RecordNumber --]:freeopt" type="text" id="[-- PRODUCT.RecordNumber --]:freeopt" value="here is line 4" size="15"><br>
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.