var length = route.getActiveRoute().properties.get("distance");
if (length.value > 50000) {
balloonContentLayout = ymaps.templateLayoutFactory.createClass(
'<span>Вы находитесь слишком далеко от завода- Вам придется приехать</span><br/>');
} else {
balloonContentLayout = ymaps.templateLayoutFactory.createClass(
'<span>Расстояние от завода: ' + length.text + '.</span><br/>' +
'<span style="font-weight: bold; font-style: italic">'+price+'</span>');
}
let url = 'http://res.cloudinary.com/doea7ahfk/image/upload/v1621580890/Avatar/f8uq8dqrhllrby30ohxw.jpg';
url = url.replace('upload', 'upload/h_200,w_200,c_crop');
let nameArray = document.querySelector('img').getAttribute('src').split('/');
let name = nameArray[nameArray.length - 1].split('.')[0]
{% for product in products %}
$(".idspoiler-"+DbNumberID).each(function(){
$(this).css("display", "block");
})
<li class="brand sign__up">
<a href="ТУТ ССЫЛКА">
<img src="/jpc/content/shared/images/Games/jpc/logo.png">
</a>
@media (hover: hover) and (pointer: fine) {
тут стили для ховера
}
if ($this->customer->isLogged()) {
$data['text_message'] = sprintf($this->language->get('text_customer'), $this->url->link('account/order/info&order_id=' . $this->session->data['last_order_id'], '', true), $this->url->link('account/account', '', true), $this->url->link('account/order', '', true), $this->url->link('information/contact'), $this->url->link('product/special'), $this->session->data['last_order_id'], $this->url->link('account/download', '', true));
} else {
$data['text_message'] = sprintf($this->language->get('text_guest'), $this->url->link('information/contact'), $this->session->data['last_order_id']);
}
if ($this->customer->isLogged() && !empty($this->session->data['last_order_id'])) {
$data['text_message'] = sprintf($this->language->get('text_customer'), $this->url->link('account/order/info&order_id=' . $this->session->data['last_order_id'], '', true), $this->url->link('account/account', '', true), $this->url->link('account/order', '', true), $this->url->link('information/contact'), $this->url->link('product/special'), $this->session->data['last_order_id'], $this->url->link('account/download', '', true));
} else {
$data['text_message'] = sprintf($this->language->get('text_guest'), $this->url->link('information/contact'));
}