Skip to content

Commit 6199c92

Browse files
authored
Merge pull request #6 from Liocha/master
Update: amount to quantity in Order Items
2 parents 8721f0a + 15b0e00 commit 6199c92

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

classes/Rees46/Events.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public static function OnSaleOrderSavedHandler(Event $event)
8787
if ( (int)$item['QUANTITY'] > 0 ) {
8888
$products[] = (object)([
8989
'id' => $item['PRODUCT_ID'],
90-
'amount' => $item['QUANTITY'],
90+
'quantity' => $item['QUANTITY'],
9191
'price' => $item['PRICE']
9292
]);
9393
}

install/version.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22
$arModuleVersion = array(
3-
'VERSION' => '3.5.0',
4-
'VERSION_DATE' => '2024-06-11 12:00:00',
3+
'VERSION' => '3.5.1',
4+
'VERSION_DATE' => '2024-08-14 12:00:00',
55
);

update/3.5.1/description.ru

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<ul>
2+
<li>Обновление структуры данных: замена amount на quantity в массиве товаров заказа</li>
3+
</ul>

0 commit comments

Comments
 (0)