support

Author Topic: trying to edit email text  (Read 7503 times)

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 278
  • Karma: +43/-1
    • View Profile
trying to edit email text
« on: January 19, 2017, 10:47:33 AM »
Hi guys I want to edit the text(comment) below order detail in order confirmation email
I would like to know where is the tpl file and where is $comment coming from ??
storefront\view\default\template\mail\order_confirm.tpl  => is this the file?
The problem here is I am getting same line printed twice in email
The variable value of text_payment is printing twice and I am not able to see where is it coming from

sp far I have found it under
<td align="left"><?php echo $comment; ?></td>
but where is code for $comment in which file
Because text_payment is printed twice in my $comment I tried to find it but no success yet

Thanks
« Last Edit: January 19, 2017, 05:25:16 PM by Sam_78 »

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 278
  • Karma: +43/-1
    • View Profile
Re: trying to edit email text
« Reply #1 on: January 20, 2017, 04:02:34 PM »
Hi guys!
I am still not able to find the solution
Once the order is placed it shows text only once on the screen but it is displayed twice in email

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4367
  • Karma: +302/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: trying to edit email text
« Reply #2 on: January 21, 2017, 12:21:33 PM »
You are looking at the right file. There is a text definition variable <?php echo $text_comment; ?>

Also there is a file public_html/storefront/view/default/template/mail/order_confirm_text.tpl for text based email

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod