Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Want to add a list of FAQ in the customer email order invoice but it won't show

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-01-2019, 10:15 AM
 
Hallsons Hallsons is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 84
 

Default Want to add a list of FAQ in the customer email order invoice but it won't show

Hello,

I am trying to add a list of frequently asked questions to the bottom of my customer order confirmation emails but for the life of me can't figure out how to get it to show up in the html emails. My new language item shows up in simple text emails.

I am using light responsive template, and have edited the skin file found in skin/light_responsive/mail/html order_customer.tpl I added my new language field {$lng.order_customer_faq} here at the bottom, but nothing shows up.

{include file="mail/html/order_invoice.tpl"}

{$lng.order_customer_faq}

{include file="mail/html/signature.tpl"}

Is there something else I need to do to make it show up, or am I editing the wrong file?

Thank you for any help.

Chris
__________________
Chris Wilson
4.7.10 (after 9 years with 4.1.12)
CDSEO Pro
Reply With Quote
  #2  
Old 02-02-2019, 02:47 PM
 
Hallsons Hallsons is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 84
 

Default Re: Want to add a list of FAQ in the customer email order invoice but it won't show

While I still don't understand why I can't get any new language text to show up in my order confirmation emails or other templates (obviously I am missing some step for calling new language variables) I did manage to get around it and have something working now.

So what I did was I created a new template file and put my text into that new template directly, and then at the bottom of my order_customer.tpl I added a link to my new template like this:

{include file="mail/html/order_invoice.tpl"}

{include file="mail/html/order_faq.tpl"}

{include file="mail/html/signature.tpl"}

Inside the order_faq.tpl I have my list of frequently asked order questions and it shows up great.

If anyone reads this and can explain to me how to add new language variables so that it shows up let me know.
__________________
Chris Wilson
4.7.10 (after 9 years with 4.1.12)
CDSEO Pro
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:22 PM.

   

 
X-Cart forums © 2001-2020