Table of Contents

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

string

City

Gets or sets the city of the manufacturer's address.

public string City { get; set; }

Property Value

string

Country

Gets or sets the country of the manufacturer's address.

public string Country { get; set; }

Property Value

string

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

string

Email

Gets or sets the email address of the manufacturer.

public string Email { get; set; }

Property Value

string

Fax

Gets or sets the fax number of the manufacturer.

public string Fax { get; set; }

Property Value

string

Id

Gets or sets the unique identifier of the manufacturer.

public string Id { get; set; }

Property Value

string

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

string

Name

Gets or sets the display name of the manufacturer (e.g. "Acme Corp").

public string Name { get; set; }

Property Value

string

Phone

Gets or sets the phone number of the manufacturer.

public string Phone { get; set; }

Property Value

string

Web

Gets or sets the URL of the manufacturer's website (e.g. "https://www.acmecorp.com").

public string Web { get; set; }

Property Value

string

ZipCode

Gets or sets the postal/zip code of the manufacturer's address.

public string ZipCode { get; set; }

Property Value

string

See Also

To top