Order::findIdenticalItem
Find an identical item in the order/cart, item is identical if the productID, version and the options for the item are the same. Used to increase quantity of items that already exist in the cart/Order.
Signature
Parameters
$product
— object
$variation
—$options
— ArrayList
Returns
- DataObject