feat: order creation on cart detail view

This commit is contained in:
2025-01-03 12:18:08 +01:00
parent 10b411ba33
commit 340c0d0508
9 changed files with 473 additions and 47 deletions
+2
View File
@@ -17,6 +17,7 @@ from web.views.web import (
delete_from_wishlist,
index,
manifest,
order_detail,
product_detail,
wishlist,
)
@@ -29,6 +30,7 @@ urlpatterns = [
path("categories/<str:slug>/", category_view, name="category_view"),
path("products/<int:pk>/<str:slug>/", product_detail, name="product_detail"),
path("cart/", cart_detail, name="cart_detail"),
path("order/<str:uuid>/", order_detail, name="order"),
# users
path("login/", login, name="login"),
path("logout/", logout, name="logout"),