Answer the question
In order to leave comments, you need to log in
Why doesn't the CalculationResult::setDescription method work?
Good day! I'm trying to write a Bitrix delivery module. To do this, I need to replace the description of this delivery method. I'm trying to do it in the following way
protected function calculateConcrete(\Bitrix\Sale\Shipment $shipment)
{
$result = new CalculationResult();
$result->setDeliveryPrice(roundEx(525,SALE_VALUE_PRECISION));
$result->setPeriodDescription('1 день');
$result->setDescription(94949);
return $result;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question