From 62bf3fdc08c8a55de5df8bb294dee1f15898aa7b Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 8 May 2026 13:58:08 +0200 Subject: [PATCH] fix: mostrar mensaje correcto cuando no se puede valorar por no haber compra --- tienda/templates/tienda/producto.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tienda/templates/tienda/producto.html b/tienda/templates/tienda/producto.html index 050b248..b20c3ce 100644 --- a/tienda/templates/tienda/producto.html +++ b/tienda/templates/tienda/producto.html @@ -66,9 +66,6 @@

Valoraciones

-
- DEBUG: can_review={{can_review}}, user.is_authenticated={{user.is_authenticated}}, user={{user}} -
0.0
@@ -79,7 +76,7 @@ {% if can_review %} Valorar este producto {% elif user.is_authenticated %} - Ya has valorado este producto + Solo puedes valorar productos que hayas comprado {% else %} Inicia sesión para valorar {% endif %}