Files
2025-12-24 19:19:01 +03:00

40 lines
2.4 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php $product = $variables["product"]; ?>
<div class="popup__product-item">
<div class="popup__product-img">
<img src="<?= $product->get_prop_render_value("product_photo"); ?>" alt="" />
</div>
<a href="/product/<?= $product->get_item_slug(); ?>/" class="popup__product-name"><?= $product->get_item_name(); ?></a>
<div class="popup__product-bot">
<div data-quantity="" class="popup__product-quantity quantity">
<button type="button" class="quantity__button quantity__button_minus calc__btn minus" data-price="<?= $product->get_price(); ?>"></button>
<div class="quantity__input">
<input readonly="" autocomplete="off" type="number" title="Qty" min="1" max="1000" step="1" value="1"/>
</div>
<button type="button" class="quantity__button quantity__button_plus calc__btn plus" data-price="<?= $product->get_price(); ?>"></button>
</div>
<div class="popup__product-price"><span><?php $this->template_load("product/short_price.php", array("price" => $product->get_prop("price"), "sale_percent" => $product->get_prop("sale_percent"))); ?></span>₽</div>
</div>
</div>
<div class="popup__form">
<form action="" class="popup-appeal">
<input type="hidden" name="url" value="<?= $b->get_view($_SERVER["REQUEST_URI"]); ?>">
<input type="hidden" name="title" value="Купить в один клик">
<input type="hidden" name="message" value="Количество товаров: 1">
<input type="text" class="input-form" placeholder="Ваше имя" name="name" required />
<input type="tel" class="input-form phone-input" placeholder="Ваш телефон" name="phone" required data-inputmask="'mask': '+7 (999) 999-9999'" />
<button type="submit" class="form-btn popup-appeal__button">Отправить</button>
<label class="agreement">
<input type="checkbox" class="agreement-checkbox" checked required>
<span>
<span>
Я согласен с условиями предоставления услуг и
<a href="/page/privacy/">обработкой моих персональных данных</a> при
нажатии "Оставить заявку"
</span>
</span>
</label>
</form>
</div>