Jump to content

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

Company Name Not Showing On Invoices Rate Topic   - - - - -

 
  • Ftanftang
  • Newbie
  • Members
  • Join Date: 24-Aug 14
  • 12 posts

Posted 10 October 2017 - 01:19 PM #1

I have Company Name field in the Profile Fields for both Invoice and Delivery Note and have have given them a top position on each.

They both appear at the top when a customer is filling in their details.

When I view an order the Company Name is at the bottom of the address that appears on the left hand side of the screen,  (not a massive big deal) but when I look at both Invoice or Delivery Note the Company Name doesn't appear at all.

I have tried ticking (and unticking) the 'Required' box but still nothing shows.

I guess I'm missing a setting somwhere but can't figure it out - anyone have any ideas please??



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

Posted 11 October 2017 - 05:55 AM #2

What email editor do you use - old or new one?


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 руб.


 
  • Darius
  • Douchebag
  • Members
  • Join Date: 20-Apr 08
  • 3290 posts

Posted 11 October 2017 - 06:35 AM #3

use {{ u_company }} in bill to ship to snippet of document editor > invoice



 
  • Ftanftang
  • Newbie
  • Members
  • Join Date: 24-Aug 14
  • 12 posts

Posted 12 October 2017 - 11:23 AM #4

Thanks Darius, I'll give it a go.


What email editor do you use - old or new one?

How can I tell whether it's old or new?



 
  • Darius
  • Douchebag
  • Members
  • Join Date: 20-Apr 08
  • 3290 posts

Posted 12 October 2017 - 12:09 PM #5

admin.php?dispatch=settings.manage&section_id=Appearance

Email templates mode: New / Old

 

Posted 14 February 2018 - 03:47 PM #6

Been trying to get this to work for some time now..  I've tried to add the {{ u_company }} and it still doesn't' work..

What am I missing..?


Elkhorn Graphics LLC
Cs-Cart 4.7.1  SP3


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

Posted 15 February 2018 - 05:17 AM #7

Been trying to get this to work for some time now..  I've tried to add the {{ u_company }} and it still doesn't' work..

What am I missing..?

 

I think the correct answer is

{{ u.company }}

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 руб.


 
  • Darius
  • Douchebag
  • Members
  • Join Date: 20-Apr 08
  • 3290 posts

Posted 15 February 2018 - 06:15 AM #8

I think this does not work because originally company field belongs to contact info section that most of the time is disabled

demo.cs-cart.com/stores/admin.php?dispatch=profile_fields.manage

 

Probably they got custom field company in billing and shipping..

 

I hate very much that fields from contact section cannot be simply moved to billing and shipping. I do not want to enable it there so I have extra step in checkout..

 

 

I think the correct answer is

{{ u.company }}

It works on the demo



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

Posted 15 February 2018 - 01:10 PM #9

I think this does not work because originally company field belongs to contact info section that most of the time is disabled

demo.cs-cart.com/stores/admin.php?dispatch=profile_fields.manage

 

Probably they got custom field company in billing and shipping..

 

I hate very much that fields from contact section cannot be simply moved to billing and shipping. I do not want to enable it there so I have extra step in checkout..

 

If you add custom field to billing or shipping, it should be something like

{{ u.fields.77 }}

where 77 - is the ID of new company field ID


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 руб.


 

Posted 15 February 2018 - 02:54 PM #10

I finally got it to work but it had to be...

{{u.b_Company}}

And had to be a capital "C" in company

 

u.b_Company for billing

and

u.s_Company for shipping

 

Also this is a fresh install of Cs-Cart.... And no custom fields.  All Default just enabled in

Admin//Profile Fields


Elkhorn Graphics LLC
Cs-Cart 4.7.1  SP3


 
  • stormbrew
  • Junior Member
  • Members
  • Join Date: 03-Oct 09
  • 11 posts

Posted 05 July 2018 - 02:55 AM #11

Ongoing problems with this..

 

I managed to get Invoice correct by using: {{u.b_company}} and {{u.s_company}} 

note: not capital "C" and no spaces

 

 

For Email Templates, after lots of trial and error I had success with:

 

{{ user_data.fields.40 }}

where 40 - is the ID of customer company field
 
 

I had tried the following with no success.

{{ u.fields.40 }}
{{ u.field.40 }}
{{u.fields.40}}
{{u.field.40}}
 
{{ user_data.b_company }}
{{ user_data.b_Company }}
{{u.b_company}}
{{ u.b_company }}
{{u.b_Company}}
{{ u.b_Company }} 
 
{{ user_data.company }}
{{ user_data.Company }}
{{u.company}}
{{ u.company }}
{{u.Company}}
{{ u.Company }} 


 
  • amdowney
  • Senior Member
  • Members
  • Join Date: 22-Oct 14
  • 250 posts

Posted 01 June 2019 - 11:58 AM #12

It is confusing having to enable the profile company field to have the 'company' show in the order list page but then this not be used for addresses, Could this be disabled and then the billing company be used for the order admin pages instead?

 

I have created a new 'Company Name' field for the addresses and have these pushing into the invoice/code snippets using:

 

{{u.b_b_companyname}}

 

{{u.s_b_companyname}} 

 

The same as above essentially, but for my email templates this pulled through after editing the order Order Summary document in just the same way.


Stores: CCTV Kits & www.jmtb.co.uk