protected addRow ( string $id, string $name, integer $qty, float $price, array $attributes = [] ) : string | ||
$id | string | Unique ID of the item |
$name | string | Name of the item |
$qty | integer | Item qty to add to the cart |
$price | float | Price of one item |
$attributes | array | Array of additional options, such as 'size' or 'color' |
리턴 | string |