How To Limited The Product Name To 80 Characters Maximum?

Hello

Does someone can show me How to limited the product name to 80 characters maximum please? (see image for detail)

My website use multi vendor 4.2.3

Thank in advance!!!

Franck

How to limited the name to 80 caracteres maximum.jpg

You can always truncate it from the customers view.


http://forum.cs-cart.com/topic/41175-how-to-show-80-characters-of-the-product-name-on-the-categories-page

You can always truncate it from the customers view.

http://forum.cs-cart.com/topic/41175-how-to-show-80-characters-of-the-product-name-on-the-categories-page

Hi

I want stop automatic all vendors continue to write the product name if over than 80 characters on the product edit page, not on the store page, do you know how to change please?

Thank!

On the Input field for that item in the Admin template try adding

" ... >

design\backend\templates\views\products\update.tpl

replace:


with


Then clear the cache

design\backend\templates\views\products\update.tpl

replace:


with


Then clear the cache

Thanks a lot for help my dear team and i want to Title length should be at least 6 characters also means 6 characters minimum need to save that product so how can we do it ??

You can use HTML5 pattern attribute if you are not familiar with javascript:

http://stackoverflow.com/questions/10281962/is-there-a-minlength-validation-attribute-in-html5

You can use HTML5 pattern attribute if you are not familiar with javascript:

http://stackoverflow.com/questions/10281962/is-there-a-minlength-validation-attribute-in-html5

Thanks a lot for ans dear team can you please provide code for this with file name ??

Try


(!) Not tested