Skip to content

Type Alias: ArgAddProductModel ​

ts
type ArgAddProductModel = object;

The product model of ArgAddProduct.model.

Remarks ​

In Partial data mode only modelCode is used. The other fields describe your own product in Own data mode.

Properties ​

PropertyTypeDescription
description?stringOwn data mode: product description.
dimensionsCount?numberOwn data mode: number of variant dimensions (0, 1 or 2). Remarks The builder methods set it for you (setOwnProductSingleVariant → 0, setOwnProductSingleDimension → 1, setOwnProductTwoDimensions → 2). When it's set, every variant must have exactly that many dimension values (dimension1Title, and dimension2Title for 2); otherwise the editor stops with an error that names the variants. Without it the editor takes the dimensions from the variants.
isDimension1Color?booleanOwn data mode: true if the first variant dimension (dimension1Title, dimension1Colors) is the product color, so that the editor treats the variants as color variants.
modelCodestringPartial: code of the product model in TronCloud. Own: your own model code.
title?stringOwn data mode: product name shown in the editor.

Czech Republic – The Country for the FutureFunded by the European Union – NextGenerationEUThe project was implemented within the The Country for the Future programme of the Ministry of Industry and Trade and co-financed by the European Union under NextGenerationEU.Support · Examples

Czech Republic – The Country for the FutureFunded by the European Union – NextGenerationEUThe project was implemented within the The Country for the Future programme of the Ministry of Industry and Trade and co-financed by the European Union under NextGenerationEU.Support · Examples