Пожалуйста, ткните.
что есть:
Код: Выделить всё
...
p.free_delivery AS product_free_delivery,
...
Код: Выделить всё
$delivery = $okay->delivery->get_delivery(1);
$local_delivery_cost = '600';
if ($p->product_free_delivery == 1 || $p->price >= $delivery->free_from) {
$local_delivery_cost = '0';
}
Код: Выделить всё
print "<local_delivery_cost>".$local_delivery_cost."</local_delivery_cost>";
Выводит только 0 постоянно(((