Declaration
func AddItemToShopItem(shopItem entity<ShopItem>, item ItemIDType, count int)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Shop Item | ShopItem | Product Entity |
| Item | ItemGoodsIDType | Items to add |
| Count | Int | Item quantity |
Add item to a product. You can add multiple items to a product by using this block multiple times.
func AddItemToShopItem(shopItem entity<ShopItem>, item ItemIDType, count int)
go
| Name | Type | Description |
|---|---|---|
| Shop Item | ShopItem | Product Entity |
| Item | ItemGoodsIDType | Items to add |
| Count | Int | Item quantity |