correct delist order.php

This commit is contained in:
Andrey Kuvshinov
2022-10-08 16:56:50 +00:00
parent 46656d7aa9
commit c0d8c0622a

View File

@@ -51,8 +51,6 @@ function checkout_kuri($priceslug, $delivery_id = 1){
$delivery = delivery_list($price_id['weight']); // список доставок для бумажной версии
}
/** если клиент залогинен */
if (defined('CLIENT_ID')){
@@ -316,15 +314,6 @@ function delivery_list($weight = 250) {
$key = $del['delivery_id'];
$result[$key] = $del;
if ($del['delivery_id'] == 4){
if ($weight > 499){
$result[$key]['delivery_price'] = 450;
}
}
}
return $result;