Results 1 to 4 of 4
  1. #1

    Default Restrict characters in Special Instructions or Order Comments

    How do i set a limit to the amount of characters allowed in the checkout Special Instructions or Order Comments box?

    Kind regards,

  2. #2
    Join Date
    Oct 2008
    Posts
    378
    Plugin Contributions
    0

    Default Re: Restrict characters in Special Instructions or Order Comments

    Did you get an answer to this?

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,695
    Plugin Contributions
    123

    Default Re: Restrict characters in Special Instructions or Order Comments

    In the checkout shipping template (includes/templates/YOUR_TEMPLATE/tpl_checkout_shipping_default.php), change the call to zen_draw_textarea_field to have a 5th parameter of 'maxlength=YOUR_MAX_LENGTH'. Then do the same on the checkout payment page.

    But why?
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Oct 2008
    Posts
    378
    Plugin Contributions
    0

    Default Re: Restrict characters in Special Instructions or Order Comments

    Thank you for that

    Because the couriers that I use, My Hermes, Only allow 30 letters in their comments box.

 

 

Similar Threads

  1. Special Instructions or Order Comments
    By southshorepizza in forum General Questions
    Replies: 12
    Last Post: 11 Jan 2014, 10:06 PM
  2. Special Instructions or Order Comments
    By Randa in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Oct 2009, 03:57 PM
  3. Special Instructions or Order Comments
    By kminnich in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 22 Oct 2008, 05:48 AM
  4. Special Instructions or Comments About Your Order
    By scottb in forum General Questions
    Replies: 12
    Last Post: 10 Sep 2007, 12:08 PM
  5. Special Instructions/Order Comments Error
    By kenaniah in forum General Questions
    Replies: 4
    Last Post: 12 Dec 2006, 06:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR