1С-Битрикс
- 8 ответов
- 0 вопросов
2
Вклад в тег
$shipmentCollection = $orderBx->getShipmentCollection();
$shipment = $shipmentCollection->createItem();
$shipmentCollection = $orderBx->getShipmentCollection();
$shipment = $shipmentCollection->createItem(
Delivery\Services\Manager::getObjectById($deliveryID) // ID службы доставки
);
$price = 123;
$shipment->setBasePriceDelivery($price);
<style>
button.like-href {
border: none;
background: none;
text-decoration: underline;
color: #000;
cursor: pointer;
}
</style>
<a href="#" class="btn btn-blue">Купить</a>
<button type="submit" class="btn btn-blue like-href">
Войти
</button>