GX-Bug #45591 » NULLProductModelFix.patch
| src/system/classes/checkout/CheckoutProcessProcess.inc.php (revision ) | ||
|---|---|---|
| 564 | 564 |
foreach($this->coo_order->products as $product) |
| 565 | 565 |
{
|
| 566 | 566 |
$item = $orderObjectService->createOrderItemObject(new StringType($product['name'])); |
| 567 |
$item->setProductModel(new StringType($product['model'])); |
|
| 567 |
$item->setProductModel(new StringType((string)$product['model']));
|
|
| 568 | 568 |
$item->setPrice(new DecimalType($product['price'])); |
| 569 | 569 |
$item->setQuantity(new DecimalType($product['qty'])); |
| 570 | 570 |
$item->setTax(new DecimalType($product['tax'])); |