AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: Sam_78 on January 19, 2017, 10:47:33 AM

Title: trying to edit email text
Post by: Sam_78 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
Title: Re: trying to edit email text
Post by: Sam_78 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
Title: Re: trying to edit email text
Post by: abantecart 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