correct delist order.php
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user