diff options
| author | unwox <me@unwox.com> | 2025-11-19 15:05:18 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-11-19 16:24:40 +0600 |
| commit | 4edb2d7d0f9b5d1ff730599d07e99aabb7f4b39c (patch) | |
| tree | 6d70933acfad8bba2854d9598f34a6e3457eb391 /pages/shop/order/index.fnl | |
| parent | 38b69c97b8eb95d79b88b23ed284e8cdcf643197 (diff) | |
(hopefully) final improvements before publishing
Diffstat (limited to 'pages/shop/order/index.fnl')
| -rw-r--r-- | pages/shop/order/index.fnl | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/pages/shop/order/index.fnl b/pages/shop/order/index.fnl index c49f71b..4cafd62 100644 --- a/pages/shop/order/index.fnl +++ b/pages/shop/order/index.fnl @@ -13,8 +13,8 @@ (forms.checkbox-input "correct-order" "Данные заказа верны" true) (forms.checkbox-input "consent" (.. - "Я согласен с <a target=\"_blank\" href=\"/information/privacy-policy\">условиями обработки персональных данных</a>." - ;;"а также с <a target=\"_blank\" href=\"/information/offer\">нашей публичной офертой</a>." + "Я согласен с <a target=\"_blank\" href=\"/about/privacy-policy\">условиями обработки персональных данных</a> + и условиями заказа." ) true)]}]) @@ -23,8 +23,8 @@ [:aside {} (templates.header "/shop/order") (if (< 0 (# basket)) (templates.basket basket "/shop/order") "") - (templates.address-block) (templates.conditions-block) + (templates.address-block) (templates.contact-block)]) (HTML [:div {:class "content"} @@ -32,6 +32,13 @@ [:div {:class "back"} [:a {:href "/shop"} "⟵ Обратно к списку"]] [:section {} [:h2 {:id "content"} "Оформление заказа"] + [:section {:class "narrow"} + [:p {:class "mb-0-5"} + "После подтверждения заказа мы с вами свяжемся для уточнения + подробностей и оплаты. Оплата по QR-коду."] + [:p {} + "Самовывоз из чайной. Доставка по Омску и России обговаривается + после оформления заказа."]] (forms.render-form %order-form data errors)]])]) (fn check-stocks [db basket] @@ -71,7 +78,7 @@ (.. "Новый заказ " "<a href=\"https://whitetoad.ru/shop/order/" order-id "\">" order-id - "</a> от <b>" data.name "</b>.\n\n" + "</a>. " "<a href=\"https://whitetoad.ru/shop/order/list\">Список заказов</a>")) ;; redirect and clear order cookie (values 302 {:Location (.. "/shop/order/" order-id) |
