Manufacturer
An Object representing a Product Manufacturer (brand or vendor).
The Manufacturer object cannot be instantiated, but is provided by a Product.
In the example below we access the manufacturer's logo from an existing Product object.
<?ev
if (product.manufacturer) {
if (product.manufacturer.logo) {
?>
<ev:img src="{{ product.manufacturer.logo }}" />
<?ev } else { ?>
{{ product.manufacturer }}
<?ev
}
}
?>
Properties |
---|
description
String
A short description of the manufacturer. |
id
Number
The manufacturer's system ID. |
logo
Url | null
The URL for the manufacturer's logo, or null if a logo is not supplied.
|
thumbnail
Url | null
An alias of logo .
|
title
String
The name/title of the manufacturer. |
url
Url | null
A URL for the manufacturer's website. |
Methods |
---|
toString()
String
Returns the Manufacturer's title. |