catalog.priceTypeLang.add
catalog.priceTypeLang.add(fields)
Method adds translation for price type name.
Parameters
Parameter | Type | Description |
---|---|---|
fields | object | Fields, matching to available list of fields. |
Examples
BX24.callMethod( 'catalog.priceTypeLang.add', { fields: { catalogGroupId: 14, lang: "en", name: "Wholesale price" } }, function(result) { if (result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2023