Jump to content

Limit Text Input Customization Field


keepitpersonal
 Share

Recommended Posts

Hello

 

I am just looking at migrating from Zencart to Prestashop however I have stumbled upon an issue which makes this a non starter for me.

 

There does not seem to be a limit on the number of characters a customer can enter into the "text" customization field. We need this limit as we need to restrict the number of characters someone can enter on to a product to be engraved.

 

Thanks

Andy

Share this post


Link to post
Share on other sites

Hi Andy,

 

You will be able to do it in the template product.tpl.

 

Adding jquery script will be easy and by testing the label you will be able to modify textarea html to add a class (for example) to trigger your script.

 

Not very clear and to sum up, possible with few script and tpl modification.

 

Best regards

Share this post


Link to post
Share on other sites

you can also exted tinymce product edit page features, then you will be able to insert javascript right to the product description. in this case, you will be able to define different limits for certain products  :)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More