Author Topic: How to move Order Comments from g_s_2 to g_s_3 ?  (Read 138 times)

Offline Geoffrey

  • Full Member
  • ***
  • Posts: 100
  • Karma: +17/-2
    • View Profile
How to move Order Comments from g_s_2 to g_s_3 ?
« on: July 13, 2017, 06:46:19 PM »
I'd like to move the Order Comments from guest_step_2 to guest_step_3 (confirm.tpl). 

There are three steps.  I need help with the 3rd step. 

Step 1
Create a heading title for the comment box on the guest_step_3 (confirm) page.
Method: create a new language key: Block = checkout_confirm, Key = heading_title_joe, Translation = Add Comments about your Order here:    .

Step 2
Insert the new heading title into the form body of confirm.tpl.
Method: open confirm.tpl, on about line 42, add this:
Code: [Select]
<h4 class="heading4"><?php echo $heading_title_joe?></h4>
Step 3
Add the comment registerbox immediately under the heading title, like this:
Code: [Select]
<div class="registerbox">
<div class="content">
<?php echo $form['comment']; ?>

Step 3 didn't work because I don't know how to code. 

The confirm.tpl file does not recognize $form['comment'] the same way that the guest_step_2.tpl file does because <?[i don't know]; ?!!crap!* != [good outcome] ?qhq?>{bbq}.

I'm sure this is an easy one.  Any help?

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1542
  • Karma: +83/-1
    • View Profile
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett


application and website monitoring