new gram price order.php

This commit is contained in:
Andrey Kuvshinov
2022-10-06 20:30:11 +00:00
parent 211462de62
commit fca6abac89

View File

@@ -167,7 +167,7 @@ function checkout_kuri($priceslug, $delivery_id = 1){
$price = $price + 300; $price = $price + 300;
} }
elseif($delivery_id == 4){ #почта россии за каждый кулек своя доставка elseif($delivery_id == 4){ #почта россии за каждый кулек своя доставка
$price = $price + 250; $price = $price + 300;
$price = $price * $count; $price = $price * $count;
} }
@@ -320,7 +320,7 @@ function delivery_list($weight = 250) {
$result[$key] = $del; $result[$key] = $del;
if ($del['delivery_id'] == 4){ if ($del['delivery_id'] == 4){
if ($weight > 250){ if ($weight > 499){
$result[$key]['delivery_price'] = 450; $result[$key]['delivery_price'] = 450;
} }