yes, the text field contents stored to the database now
i want to do something more
from tpl_checkout_confirmation_default.php,
i change
PHP Code:
<?php echo zen_draw_textarea_field('my_message', '45', '3'); ?>
to
PHP Code:
<?php
$my_code = something;
echo zen_draw_input_field('my_code', $my_code, $parameters = 'readonly', $type = 'text'); ?>
the input value of $my_code displays on the checkout confirmation page
but nothing written to database when an order completed
any ideas?

Originally Posted by
twitchtoo
Same process, add the text to the includes/modules/pages/checkout_confirmation/header_php.php and to the template page includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_confirmation_default.php
If you need to store it, make sure you add the new field to your database, then include the field in the order update SQL so it writes to the database when a customer completes their order.