Question about Order Options and Product Template

General ShopSite user discussion

Question about Order Options and Product Template

Postby tmlogo » Wed Jul 30, 2008 7:49 am

I am trying to have an input box on my "More Info Page" where a customer can enter text and the result will show in the shopping cart. I do not want it to look like an input box in the shopping cart. I've tried checking the option not to allow changes in the cart, but it still looks like an input box.

I was using this coding:
[-- IF PRODUCT.OptionsBox --]
<textarea name="[-- PRODUCT.Recordnumber --]:freeopt"> </textarea>
[-- END_IF --]

In addition, I don't want there to be anything in the shopping cart if they have not entered text. I can't seem to figure out a way to get rid of the input box in the shopping cart for all orders. Hope this makes sense.

Thanks for any help.
tmlogo
 
Posts: 110
Joined: Tue Jun 17, 2008 3:00 pm

Postby Jim » Wed Jul 30, 2008 10:55 am

You could use a style in the cart that would change the appearance of the text area. I tried modifying the style " textarea.cart " and was able to change the width of the border so it would be possible to make it 0 px wide and thus not visible. I don't know about changing the size so it wouldn't take up any space but you might experiment with that and see what can be done.
(note I did this on the Classy theme shopping cart template so the style is defined in that one but it will depend on your theme/template if the same thing will work on other templates.)
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby tmlogo » Thu Jul 31, 2008 9:25 am

I'm trying to get it to work.....Thanks for the input......

Now I have another question........

Let's say you have 3 or 4 options in the pull down menu of the order options. Is there a way to only offer one of those options on a page (through a product template)?

Thanks as always!
tmlogo
 
Posts: 110
Joined: Tue Jun 17, 2008 3:00 pm

Postby Jim » Thu Jul 31, 2008 9:47 am

I don't understand the question, could you explain in more detail?
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby tmlogo » Thu Jul 31, 2008 9:58 am

Sorry....

For instance...... I have an item that comes in different colors and sizes so there are options to select the color and size. In addition, I have an option for personalization which I have separated so it is it's own drop down list. Therefore in this example I have two drop down lists.

Because of the way I am setting up a template for this type of item, I have two "add to cart" buttons. One which is a quick buy at the top before all the descriptions. This is where I only want them to be able to select color and size, (So I only want to display one pull down list) The other Add to cart button has color and size plus the details and costs of personalization. This form would have both of the Order Option pull down lists.

Please let me know if I've clarified myself well enough.

Thanks..
tmlogo
 
Posts: 110
Joined: Tue Jun 17, 2008 3:00 pm

Postby Jim » Thu Jul 31, 2008 10:45 am

I think you would need to have separate products to do this. One with just the one pulldown and the other with both.

You might be able to do something in the custom template using a Call tag and pass the options to it and have your Call code return different options depending on another variable you pass to the Call but this would require custom programming and not default ShopSite functionality.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby tmlogo » Thu Jul 31, 2008 10:51 am

Thanks Jim!
tmlogo
 
Posts: 110
Joined: Tue Jun 17, 2008 3:00 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 119 guests