Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Adding a Notes Section Under Options

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-10-2008, 04:34 PM
  rkdiddy's Avatar 
rkdiddy rkdiddy is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 60
 

Default Adding a Notes Section Under Options

Hi Everyone,

I know you can select txt field from the options chooser, however it is quite small. How would I add an area that is larger that allows a user to input more text.

Thanks,

~R
__________________
Stealth Cords - Discrete Power Cords for Automotive Enthusiasts
www.stealthcords.com
X-Cart version: 4.1.9
Reply With Quote
  #2  
Old 07-11-2008, 02:28 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Adding a Notes Section Under Options

Try to open the file "skin1/modules/Product_Options/customer_options.tpl", find the following line

PHP Code:
<input id="po{$v.classid}type="text" name="{$poname}value="{$v.default|escape}/> 

and there add an additional tag with the size of the field (size = "100").
Reply With Quote
  #3  
Old 07-11-2008, 09:16 AM
  rkdiddy's Avatar 
rkdiddy rkdiddy is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 60
 

Default Re: Adding a Notes Section Under Options

^Thank you for your help. I was poking around in the right area...but that is what I needed. The width of 100 threw my tables off but 50 worked perfect. In case anyone interested this is the code I used.

Quote:
{if $v.is_modifier eq 'T'}
<input id="po{$v.classid}" type="text" size = "50" name="{$poname}" value="{$v.default|escape}" />
__________________
Stealth Cords - Discrete Power Cords for Automotive Enthusiasts
www.stealthcords.com
X-Cart version: 4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:00 AM.

   

 
X-Cart forums © 2001-2020