Jump to content

[SOLVED] More than one "text" box with labels/Product>Customization


Recommended Posts

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

1.jpg

required

 

#4

1.jpg

required

 

#5

1.jpg

required

 

#6

1.jpg

required
Text fields:

 

#7

1.jpg

required

 

#8

1.jpg

required

 

#9

1.jpg

required

 

#10

1.jpg

required

 

#11

1.jpg

required

 

#12

1.jpg

required

 

#13

1.jpg

required

 

#14

1.jpg

required

 

#15

1.jpg

required

 

#16

1.jpg

required

 

#17

1.jpg

required

 

#18

1.jpg

required

 

#19

1.jpg

required

 

#20

1.jpg

required

 

#21

1.jpg

required

 

#22

1.jpg

required

 

#23

1.jpg

required

 

#24

1.jpg

required

 

#25

1.jpg

required

 

#26

1.jpg

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?

 

 

infos.gif 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

 

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

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

×
×
  • Create New...