Sunnysideup\Ecommerce\Pages\Product::OrderItem
Returns the order item associated with the buyable. ALWAYS returns one, even if there is none in the cart.
Does not write to database.
Signature
public function OrderItem()
Returns
- OrderItem
- (no kidding)