Jump to content

limit characters at checkout


angellombana

Recommended Posts

Hi,

./themes/your-theme/templates/checkout/_partials/steps/shipping.tpl

find:

<textarea rows="2" cols="120" id="delivery_message" name="delivery_message">{$delivery_message}</textarea>

replace: (added maxlength="10" => 10 chars)

<textarea rows="2" cols="120" id="delivery_message" name="delivery_message" maxlength="10">{$delivery_message}</textarea>

 

  • Thanks 1
Link to comment
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
×
×
  • Create New...