From 5ea0e8309eaed8d0349696504e4a8b78997058b0 Mon Sep 17 00:00:00 2001 From: unwox Date: Thu, 30 Oct 2025 20:58:45 +0600 Subject: make ordering a bit more obvious --- templates.fnl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates.fnl') diff --git a/templates.fnl b/templates.fnl index d7d83e3..542b898 100644 --- a/templates.fnl +++ b/templates.fnl @@ -88,7 +88,9 @@ (basket-item item redirect-url)))] [:div {:class "mt-0-25"} "—"] [:div {} [:strong {} (.. "Итого: " (lib.format-price total) "₽")]] - [:a {:href "/shop/order"} "Оформить заказ ⟶"]]))) + (if (~= redirect-url "/shop/order") + (HTML [:a {:href "/shop/order#content"} "Оформить заказ ⟶"]) + "")]))) (fn product-overview [product classes] (local classes (or classes "")) -- cgit v1.2.3