I'm working with ESL and FEC and I'm very happy with them. The flow takes all orders through the same path at the end and I need to ask at least one more question of the customer. As I look through the logic flow, it seems a simple solution might be to create another comment box for their reply. I can add another field in the orders_status_history table to receive it.
On the checkout page the comments code looks like this:
PHP Code:
<fieldset class="checkout" id="checkoutComments">
<legend><?php echo TABLE_HEADING_COMMENTS; ?></legend>
<?php echo zen_draw_textarea_field('comments', '45', '3'); ?>
</fieldset>
And on the confirmation page we have:
PHP Code:
<div><?php echo (empty($order->info['comments']) ? NO_COMMENTS_TEXT : nl2br(zen_output_string_protected($order->info['comments'])) . zen_draw_hidden_field('comments', $order->info['comments'])); ?></div>
So can anyone please help to show me what I need to copy/change and where besides the database I need to add more? I'm figuring there must be a place I need to define the second comment elsewhere in order for it to be held across from one file to the next and then saved to the database like the first comment.
I'll need to pull it up in admin and it needs to go out in email, but I think that will all be straightforward once it's real and being saved with the order.
Bookmarks