프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$cart | |||
$editableItemsCallback | |||
$items | |||
$template |
메소드 | 설명 | |
---|---|---|
Field ( array $properties = [] ) | Render the cart with editable item fields. | |
__construct ( $name, $title, $cart ) | ||
getItemsList ( ) : SS_List | Get the items list being used to produce the cart. | |
setEditableItemsCallback ( Closure $callback ) | Provides a way to modify the editableItems list before it is rendered. | |
setItemsList ( SS_List $list ) | Allow overriding the given items list. | |
setTemplate ( string $template ) | Set tempalte for rendering editable cart. |
메소드 | 설명 | |
---|---|---|
editableItems ( ) | Add quantity, variation and remove fields to the item set. |
protected editableItems ( ) |
public getItemsList ( ) : SS_List | ||
리턴 | SS_List |
public setEditableItemsCallback ( Closure $callback ) | ||
$callback | Closure |
public setItemsList ( SS_List $list ) | ||
$list | SS_List |
public setTemplate ( string $template ) | ||
$template | string |