X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adding a Notes Section Under Options (https://forum.x-cart.com/showthread.php?t=41031)

rkdiddy 07-10-2008 04:34 PM

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

Yurij 07-11-2008 02:28 AM

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").

rkdiddy 07-11-2008 09:16 AM

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}" />


All times are GMT -8. The time now is 11:29 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.