add order route
This commit is contained in:
24
app/views/checkout.phtml
Normal file
24
app/views/checkout.phtml
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
|
||||
<?if (isset($error_price)):?>
|
||||
<p style="color: red;">Просим прощения, но такой товар не найден!</p>
|
||||
<?else:?>
|
||||
|
||||
<form id="clientform" class="clientform" action="<?=$submit_link?>" method="POST">
|
||||
|
||||
<?if (isset($error_mail)):?>
|
||||
<p style="color: red;">Неверный адрес электронной почты</p>
|
||||
<?endif?>
|
||||
|
||||
<p><label for="clientmail">Для покупки этого товара введите свой электронный адрес ниже:</label></p>
|
||||
<p><input type="email" id="clientemail" name="clientmail"></p>
|
||||
<p><label>Нажимая кнопку «Купить», я соглашаюсь <a href="https://argumenti.ru/subscribe_condition">с условиями подписки</a></label></p>
|
||||
<p><input type="submit" id="submit" value="Купить"></p>
|
||||
|
||||
</form>
|
||||
|
||||
<?endif?>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user