CustomProduct

WizartDeploymentKit. CustomProduct

Represents a custom product not loaded to PIM, which may be used in Visualizer.

Constructor

new CustomProduct(type, name, vendor_code, unit, width, height, image_path, optionalopt)

Description:
  • Creates a new CustomProduct instance.

Source:
Parameters:
Name Type Attributes Default Description
type ProductType

The type of the product.

name string

The name of the product.

vendor_code string

A unique code identifying the product from the vendor.

unit string

The unit of measurement for the product dimensions.

width number

The width of the product in specified units.

height number

The height of the product in specified units.

image_path string

The path to the product's main image.

optional OptionalProperties <optional>
{}

Additional optional properties for the product.