Class ManufacturerViewModel
- Namespace
- Dynamicweb.Ecommerce.ProductCatalog
- Assembly
- Dynamicweb.Ecommerce.dll
Represents the manufacturer (brand) of a product, exposing contact and branding information for use in frontend templates.
public class ManufacturerViewModel : FillableViewModelBase
- Inheritance
-
ManufacturerViewModel
- Inherited Members
Remarks
The manufacturer is accessible via ProductViewModel.Manufacturer. Use Logo to render a brand logo
and Web to link to the manufacturer's website.
Properties
Address
Gets or sets the street address of the manufacturer.
public string Address { get; set; }
Property Value
City
Gets or sets the city of the manufacturer's address.
public string City { get; set; }
Property Value
Country
Gets or sets the country of the manufacturer's address.
public string Country { get; set; }
Property Value
Description
Gets or sets the description or marketing copy for the manufacturer, suitable for display as body text.
public string Description { get; set; }
Property Value
Gets or sets the email address of the manufacturer.
public string Email { get; set; }
Property Value
Fax
Gets or sets the fax number of the manufacturer.
public string Fax { get; set; }
Property Value
Id
Gets or sets the unique identifier of the manufacturer.
public string Id { get; set; }
Property Value
Logo
Gets or sets the relative path to the manufacturer's logo image (e.g. "/Files/Images/logo.png").
Use this as the src attribute of an <img> tag in Razor templates.
public string Logo { get; set; }
Property Value
Name
Gets or sets the display name of the manufacturer (e.g. "Acme Corp").
public string Name { get; set; }
Property Value
Phone
Gets or sets the phone number of the manufacturer.
public string Phone { get; set; }
Property Value
Web
Gets or sets the URL of the manufacturer's website (e.g. "https://www.acmecorp.com").
public string Web { get; set; }
Property Value
ZipCode
Gets or sets the postal/zip code of the manufacturer's address.
public string ZipCode { get; set; }