SilverShop\Model\Product\OrderItem::Product
Get related product - live version if in cart, or - historical version if order is placed
Signature
public function Product([boolean
$forcecurrent = false] )
Parameters
$forcecurrent
— boolean- - force getting latest version of the product.
Returns
- Product
Line | Task |
---|---|
43 | this might need some unit testing to make sure it compliles with comment description |