Method |
Description |
|
Buyable ( ) |
Get the buyable object related to this item. |
|
Image ( ) |
Get the buyable image. |
|
QuantityField ( ) : ShopQuantityField |
|
|
Total ( ) |
Get calculated total, or stored total
depending on whether the order is in cart |
|
UnitPrice ( ) |
Get unit price for this item. |
|
addLink ( ) : string |
|
|
onBeforeWrite ( ) |
Recalculate total before saving to database. |
|
onPayment ( ) |
*
Event handler called when an order is fully paid for. |
|
onPlacement ( ) |
Event handlier called for last time saving/processing,
before item permanently stored in database. |
|
removeLink ( ) : string |
|
|
removeallLink ( ) : string |
|
|
setQuantity ( integer $val ) |
Prevent quantity being below 1. |
|
setUnitPrice ( $val ) |
Prevent unit price ever being below 0 |
|
setquantityLink ( ) : string |
|
|
uniquedata ( ) |
Intersects this item's required_fields with the data record. |
|