grazman Posted December 12, 2011 Share Posted December 12, 2011 In products, you can use customization and define how many different "text boxes" can be defined. File fields: Number of upload file fields displayed Text fields: Number of text fields displayed Files fields: #3 required #4 required #5 required #6 required Text fields: #7 required #8 required #9 required #10 required #11 required #12 required #13 required #14 required #15 required #16 required #17 required #18 required #19 required #20 required #21 required #22 required #23 required #24 required #25 required #26 required What I need are specific field names. This way when the customer uploads their pictures/text we can turn out a finished product. Where does one rename these fields and how do you get them to show in the page facing the customer? After saving your customized product, remember to add it to your cart. Allowed file formats are: GIF, JPG, PNG PICTURES *Please select an image file from your hard drive Please select an image file from your hard drive Please select an image file from your hard drive Please select an image file from your hard drive TEXTS * required fields [/left][/left] Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 12, 2011 Share Posted December 12, 2011 Hi grazman, Once you choose the number of fields and hit "Update Settings," you'll have the option to name each one individually below. I hope this helps. -Mike Link to comment Share on other sites More sharing options...
grazman Posted December 12, 2011 Author Share Posted December 12, 2011 OK. That worked well. Is there a way to change the text box attributes to become a "box" (i.e. paragraph, etc.)? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 12, 2011 Share Posted December 12, 2011 OK. That worked well. Is there a way to change the text box attributes to become a "box" (i.e. paragraph, etc.)? It already should be like that. Have you checked it out in your Front Office yet? -Mike Link to comment Share on other sites More sharing options...
grazman Posted December 12, 2011 Author Share Posted December 12, 2011 It already should be like that. Have you checked it out in your Front Office yet? -Mike It is a text box entry, but it's a single line. I'd like a paragraph-like appearance to be available. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 12, 2011 Share Posted December 12, 2011 It is a text box entry, but it's a single line. I'd like a paragraph-like appearance to be available. You should be able to change that in line 518 of your product.tpl file. -Mike Link to comment Share on other sites More sharing options...
grazman Posted December 13, 2011 Author Share Posted December 13, 2011 You should be able to change that in line 518 of your product.tpl file. -Mike {if !empty($field.name)}{$field.name}{/if}{if $field.required}<sup>*</sup>{/if}<textarea type="text" name="textField{$field.id_customization_field}" id="textField{$customizationField}" rows="5" cols="50" class="customization_block_input" />{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if}</textarea> This still does not reflect a change. I get the scroll box in IE if I use: TextMode="MultiLine" What i think i smissing is the proper "textmode" syntax that the system will recognize in order to render it as a free form text paragraph. Does anyone know what it is? Link to comment Share on other sites More sharing options...
tomerg3 Posted December 13, 2011 Share Posted December 13, 2011 Can you post a link? Did you clear the smarty cache? <textarea></textarea> is the correct syntax.... Link to comment Share on other sites More sharing options...
grazman Posted December 13, 2011 Author Share Posted December 13, 2011 Can you post a link? Did you clear the smarty cache? <textarea></textarea> is the correct syntax.... I cleared smarty cache for good measure. I see the differences with IE only, but I don't get the expected result. http://www.myitdepartment.net/support/row-col-prestashop-text.png In IE after the change, it "alludes" to the ability to scroll lines. In Chrome/Firefox I can actually grab the corners and enlarge them and make the boxes bigger. What I am after is a box that shows the text area "xx" high without manually enlarging it or making all but one line visible at a time (IE). {if !empty($field.name)}{$field.name}{/if}{if $field.required}<sup>*</sup>{/if}<textarea type="text" name="textField{$field.id_customization_field}" id="textField{$customizationField}" rows="5" cols="50" class="customization_block_input" />{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if}</textarea> Link to comment Share on other sites More sharing options...
grazman Posted December 13, 2011 Author Share Posted December 13, 2011 Nevermind. I did see I had compile off. As soon as I turned it off and on, the changes from the template were recognized. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 13, 2011 Share Posted December 13, 2011 Great! I'll go ahead and mark this as solved for you. -Mike Link to comment Share on other sites More sharing options...
Recommended Posts