diff --git a/app/routes/admin_pages.py b/app/routes/admin_pages.py index bd9db3f9..187a4985 100644 --- a/app/routes/admin_pages.py +++ b/app/routes/admin_pages.py @@ -710,6 +710,31 @@ async def admin_letzshop_order_detail_page( ) +@router.get( + "/letzshop/products/{product_id}", + response_class=HTMLResponse, + include_in_schema=False, +) +async def admin_letzshop_product_detail_page( + request: Request, + product_id: int = Path(..., description="Marketplace Product ID"), + current_user: User = Depends(get_current_admin_from_cookie_or_header), + db: Session = Depends(get_db), +): + """ + Render Letzshop product detail page. + Shows full product information from the marketplace. + """ + return templates.TemplateResponse( + "admin/marketplace-product-detail.html", + { + "request": request, + "user": current_user, + "product_id": product_id, + }, + ) + + # ============================================================================ # PRODUCT CATALOG ROUTES # ============================================================================ diff --git a/app/templates/admin/partials/letzshop-products-tab.html b/app/templates/admin/partials/letzshop-products-tab.html index ba72e9ef..09aee346 100644 --- a/app/templates/admin/partials/letzshop-products-tab.html +++ b/app/templates/admin/partials/letzshop-products-tab.html @@ -181,7 +181,7 @@
@@ -229,7 +229,7 @@