PHP Class CartItem, shopkit

Mostra file Open project: samnabi/shopkit Class Usage Examples

Public Properties

Property Type Description
$amount float
$id array
$name string
$noshipping boolean
$notax boolean
$option string
$quantity integer
$sale_amount float
$sku string
$uri string
$variant string
$weight float

Public Methods

Method Description
__construct ( string $id, PageAbstract $product, $quantity )
fullTitle ( ) : string

Method Details

__construct() public method

public __construct ( string $id, PageAbstract $product, $quantity )
$id string
$product PageAbstract

fullTitle() public method

public fullTitle ( ) : string
return string sku - name - variant - option

Property Details

$amount public_oe property

public float $amount
return float

$id public_oe property

public array $id
return array

$name public_oe property

public string $name
return string

$noshipping public_oe property

public bool $noshipping
return boolean

$notax public_oe property

public bool $notax
return boolean

$option public_oe property

public string $option
return string

$quantity public_oe property

public int $quantity
return integer

$sale_amount public_oe property

public float $sale_amount
return float

$sku public_oe property

public string $sku
return string

$uri public_oe property

public string $uri
return string

$variant public_oe property

public string $variant
return string

$weight public_oe property

public float $weight
return float