Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Include Customer Email Address Info On Printed Invoice Rate Topic   - - - - -

 
  • notlim
  • Junior Member
  • Members
  • Join Date: 16-Mar 11
  • 290 posts

Posted 07 March 2019 - 07:24 PM #1

When I print a copy of the invoice (4.9) the customers email address is not included on the printed version.

I would like to add that to the printed version.

I have looked at the documentation with regard to editing Documents but I don't have the expertise to go thru all that.

Is there a simpler way to just insert the information I need?

Thank you



 
  • orangegirl
  • Support engineer
  • CS-Cart Support
  • Join Date: 08-Jan 08
  • 589 posts

Posted 20 March 2019 - 01:30 PM #2

Hello!

 

You should add 

{{ u.email }}

to the necessary place under Design > Documents > Invoice.


Kate Lazarevskaya,
CS-Cart Support Engineer
CS-Cart Knowledge Base | CS-Cart Reference Guide

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11291 posts

Posted 20 March 2019 - 03:02 PM #3

You sure it's not {{order_info.email}}?


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • orangegirl
  • Support engineer
  • CS-Cart Support
  • Join Date: 08-Jan 08
  • 589 posts

Posted 21 March 2019 - 01:08 PM #4

You sure it's not {{order_info.email}}?

There is no such variable (or even {{order.email}}) available under Design > Documents > Invoice.


Kate Lazarevskaya,
CS-Cart Support Engineer
CS-Cart Knowledge Base | CS-Cart Reference Guide

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11291 posts

Posted 21 March 2019 - 03:20 PM #5

Oops, I fogot that you hard-coded a limited list of order data variables that can be used without additional php coding with the new email editing method.  That was one of the really nice things about the template version is that everything is available to use.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • notlim
  • Junior Member
  • Members
  • Join Date: 16-Mar 11
  • 290 posts

Posted 21 March 2019 - 03:25 PM #6

In documents/invoice/code snippets/bill to I see the following code

 <p style="margin: 0px; padding-bottom: 5px; font-family: Helvetica, Arial, sans-serif;">
            {{u.b_address}} <br>{{u.b_address_2}}
        </p>
 
I don't know what the -u.b represents. I don't see the email snippet any where in the documents. I think this is where I should add the code. I ad just not sure what to ad.
Thank you


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11291 posts

Posted 21 March 2019 - 03:32 PM #7

User billing address

s_address is user shipping address


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • notlim
  • Junior Member
  • Members
  • Join Date: 16-Mar 11
  • 290 posts

Posted 21 March 2019 - 04:27 PM #8

So if I add <br>{{u.b_email}}

Do You think that would work. I don't see a snippet for email although it is in the order page under bill to.. I don't see a code for email even under the order summary.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19301 posts

Posted 22 March 2019 - 06:02 AM #9

So if I add <br>{{u.b_email}}

Do You think that would work. I don't see a snippet for email although it is in the order page under bill to.. I don't see a code for email even under the order summary.

 

Use

{{ u.email }}

It works on the demo


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • notlim
  • Junior Member
  • Members
  • Join Date: 16-Mar 11
  • 290 posts

Posted 26 March 2019 - 04:53 PM #10

Thank you eCom it works.