Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Addding pre defined text to Order Comments


Recommended Posts

We have a hidden store and need a reminder in the order comments field for our customer. All we want is to add the text "PO#: " as pre-defined characters in the box to prompt the user to enter the data.


Any idea how?

Link to comment
Share on other sites

in checkout_confirmation i found:


('HEADING_ORDER_COMMENTS', 'Comments About Your Order');


define('TEXT_EDIT', 'Edit');



But I don't know the easy way to change the definition.

Link to comment
Share on other sites



Old code:


<?php echo tep_draw_textarea_field('comments', 'soft', '60', '5'); ?>

New code:


<?php echo tep_draw_textarea_field('comments', 'soft', '60', '5' ,'PO#'); ?>



You break it - You bought it...


I haven't done this in this place, but this is how I did it elsewhere on an osC site.


If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.


"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -


"Headers already sent" - The definitive help


"Cannot redeclare ..." - How to find/fix it


SSL Implementation Help


Like this post? "Like" it again over there >

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...