Jump to content

Product Miscellaneous Textbox


Recommended Posts

Hi,

Where can I find how to extend the length of the textboxes in the miscellaneous section of the products. It allows me to write into the box, over 20 characters, but it only limits to 20 characters when saving and reloading.

In products.index.php I've extended the maxlength as shown below, but no change.

<div><label for="gtin_code">{$LANG.catalogue.product_gtin}</label><span><input name="gtin" id="gtin" class="textbox" type="text" value="{$PRODUCT.gtin}" maxlength="250"></span></div>

is character length controlled elsewhere?

Thanks

Link to post
Share on other sites

Are you intending to use that field for other purposes ?  Often better to add new fields rather than repurpose

However, to answer your question - it wont save more than 20 characters as the database column is only defined as a varchar(20)

Ian 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...