Create Product
You must have at least one store to create a product.
Parameters for creating a product
Name | Type | Description | |
---|---|---|---|
Name | String | Product Name | |
Short description | String | Short description (maximum 100 characters) | |
Shop | Selector | Your Shop | |
Category | Selector | Product Category | |
Collection | Selector | Product Collection | |
Description | String | Product Description | |
Price | Number | Item Price | |
Payment Token | Selector | This token can be used to buy and sell your product. | |
External Link | String | Melcor will place a link to this URL on the product details page so that users can click to learn more about it | |
Main Image | Main Image | Supported file types: JPG, PNG, GIF, SVG. Maximum file size: 100 MB. | |
Properties | Property | Text data that is displayed below the description |
Stages of product creation
- Loading metadata into IPFS;
- Retrieving metadata from IPFS (preloading);
- Calling the contract function createProduct.
Properties
Properties allow you to give unique characteristics to a product. Each property has a key and a value.
Collections
Collections allow you to create separate folders for specific product groups. Learn more about collections. By default, each category has an initial collection.