This article applies to the specific versions of software: X-Cart Multivendor v5.4.0.5 and earlier.


Sometimes it may be necessary to display a Vendor's Company Name on some page of your store where it is not listed.

The value of a vendor company name is stored as a "Vendor Company Name" language variable in the database:

  • Language label name: Vendor Company Name

  • Language label text: Vendor's Company Name - {{vendorCompanyName}}

Generally, you can change the "Vendor Company Name" value in the store Admin area (Company name field in the Company details tab of a vendor profile in the Users -> User list section):

To display a vendor name on any storefront page, you'll need to edit the respective storefront page via the Template Editor.

If you use language labels in your code, you can use unique variables in the text of your language label (vendorCompanyName in our case).

The code that you should use to add "Vendor Company Name" in your templates is as follows:

{{ t('Vendor Company Name', {'vendorCompanyName': this.vendor.getVendorCompanyName()}) }}

If you are not using language labels, you can use the following code in your templates:

{{ this.vendor.getVendorCompanyName() }}

The getVendorCompanyName() method is defined in the following file at line 355 approximately:

classes/XLite/Module/XC/MultiVendor/Model/Profile.php

Related pages:

Did this answer your question?