Measurement Units in the Trade Catalog: Overview of Methods
Every product has a measurement unit: weight, quantity, volume, and so on. Bitrix24 offers popular options, but you can add your own.
To set the primary measurement unit, specify the value Y in the isDefault parameter. Then, when creating a new product, it will be automatically selected in the detail form.
Quick navigation: all methods and events
User documentation:
Measurement Unit Ratio
If you sell products by fractions or in packs, specify the measurement unit ratio in the product detail form. Examples:
- for fabric, set the ratio to 0.1 so that customers can order in increments of 0.1 meters, for example, 3.6 meters,
- for beverages in packs of 6 bottles, use a ratio of 6: 1 unit equals 6 bottles, 3 units equals 18 bottles.
You can view measurement unit ratios using the methods catalog.ratio.*.
Connection of Measurement Units with Other Objects
Products. Create and edit products using the following groups of methods:
- catalog.product.* — for simple products
- catalog.product.service.* — for services
- catalog.product.sku.* — for parent products of products with variations
- catalog.product.offer.* — for variations of products
Overview of Methods and Events
Scope:
catalogWho can execute methods: administrator
|
Method |
Description |
|
Adds a measurement unit |
|
|
Updates a measurement unit |
|
|
Returns information about a measurement unit by its identifier |
|
|
Returns a list of measurement units |
|
|
Deletes a measurement unit |
|
|
Returns available fields of measurement units |
|
Event |
Triggered |
|
When a measurement unit is added |
|
|
When a measurement unit is updated |
|
|
When a measurement unit is deleted |