I have a product that can have two lines of monograming. I've been trying to get order options to provide the text box for each line without any success. Is this beyond order options?, or am I missing something?
Queen of Angels
order option
-
- Posts: 463
- Joined: Fri Aug 04, 2006 5:46 pm
- Location: Connecticut
- Contact:
Re: order option
Check out the ShopSite CookBook that has examples for doing just this:
http://www.shopsite.com/templates/cookbook/product16-textentryfielddivided.shtml
Rob
http://www.shopsite.com/templates/cookbook/product16-textentryfielddivided.shtml
Rob
LexiConn
[url=http://lexiconn.com]ShopSite Host[/url]
[url=http://lexiconn.com/whitepapers.html]How to Get the Most Out of ShopSite[/url]
[url=http://lexiconn.com]ShopSite Host[/url]
[url=http://lexiconn.com/whitepapers.html]How to Get the Most Out of ShopSite[/url]
-
- Posts: 78
- Joined: Tue May 24, 2011 5:36 pm
Re: order option
Thanks I'll give it a try as soon as I fix a major goof up



-
- Posts: 78
- Joined: Tue May 24, 2011 5:36 pm
Re: order option
Hi Rob,
I took your advice and gave the cook book option 1 code a try. I can't make it work with awesome-orange-001-pr-template. I could use a little extra help. I'm not sure if it's me and I can't see the right place to change, or this template doesn't permit this sort of code. In the 'product edit info' all I have done is check the customer text entry box and specified one row and 32 columns. I know I'm missing something; any pointers would be appreciated.

I took your advice and gave the cook book option 1 code a try. I can't make it work with awesome-orange-001-pr-template. I could use a little extra help. I'm not sure if it's me and I can't see the right place to change, or this template doesn't permit this sort of code. In the 'product edit info' all I have done is check the customer text entry box and specified one row and 32 columns. I know I'm missing something; any pointers would be appreciated.


-
- Posts: 463
- Joined: Fri Aug 04, 2006 5:46 pm
- Location: Connecticut
- Contact:
Re: order option
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:
and adding in the custom text entry fields where you want them to appear on the page:
Then assigning your products to this custom template.
Rob
ShopSite Hosting
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 --]">
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>
Rob
ShopSite Hosting
LexiConn
[url=http://lexiconn.com]ShopSite Host[/url]
[url=http://lexiconn.com/whitepapers.html]How to Get the Most Out of ShopSite[/url]
[url=http://lexiconn.com]ShopSite Host[/url]
[url=http://lexiconn.com/whitepapers.html]How to Get the Most Out of ShopSite[/url]
-
- Site Admin
- Posts: 4953
- Joined: Fri Aug 04, 2006 1:42 pm
- Location: Utah
Re: order option
Note that the section of code that you need to edit may not be in the main product template, it could be in an include file.
I was able to get the fields to work (first example from the cookbook link, not the second one though) by adding the code Rob mentioned in his post to the include file awesome_orange_001_pr_include.sst. That put the fields on the page where the product was assigned. I didn't try it on a moreinfo page to see if it worked there, but it should if you put it in the correct location.
I was able to get the fields to work (first example from the cookbook link, not the second one though) by adding the code Rob mentioned in his post to the include file awesome_orange_001_pr_include.sst. That put the fields on the page where the product was assigned. I didn't try it on a moreinfo page to see if it worked there, but it should if you put it in the correct location.
-
- Posts: 78
- Joined: Tue May 24, 2011 5:36 pm
Re: order option
Thanks everyone!!
All of your help and suggestions worked. It was a good learning experience as well. Thanks Again.

If you wish to see the results, use this url(http://www.queenofangelsjax.com/Bibles.html). This record has order options as well as the monogram lines. to
see what it looks like in the shopping cart, just click the add to cart button.




If you wish to see the results, use this url(http://www.queenofangelsjax.com/Bibles.html). This record has order options as well as the monogram lines. to
see what it looks like in the shopping cart, just click the add to cart button.