DanAndrei Posted July 1, 2010 Share Posted July 1, 2010 Buna ziua,Stie cineva cum pot sa fac la personalizarea unui produs cu text, ca acel camp sa poata fi completat doar cu 15 caractere maxim. Link to comment Share on other sites More sharing options...
fu210kp Posted July 9, 2010 Share Posted July 9, 2010 Te referi la denumirea produsului? Sa aiba maxim 15 caractere? Fi ceva mai explicit... Link to comment Share on other sites More sharing options...
DanAndrei Posted July 12, 2010 Author Share Posted July 12, 2010 Ma refer la textul de personalizare a unui produs. Sa zicem ca numarul maxim de caractere pe care un client sa il poata introduce sa fie pe linia 1 este de 15, pe linia 2 de 10 caractere si tot asa. Link to comment Share on other sites More sharing options...
Abh Posted July 13, 2010 Share Posted July 13, 2010 Cauta linia asta in product.tpl: {if !empty($field.name)}{$field.name}{/if}<input type="text" name="textField{$field.id_customization_field}" id="textField{$customizationField}" value="{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if}" class="customization_block_input" />{if $field.required}*{/if} si inlocuieste-o cu asta: {if !empty($field.name)}{$field.name}{/if}<input type="text" name="textField{$field.id_customization_field}" MAXLENGTH="15" id="textField{$customizationField}" value="{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if}" class="customization_block_input" />{if $field.required}*{/if} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now