feat(F-070): completed feature

This commit is contained in:
chattie
2026-08-19 18:21:01 +02:00
parent 60a567d22f
commit 4b12cacd65
11 changed files with 302 additions and 59 deletions

View File

@@ -12,6 +12,7 @@ import {
calcGrossPrice,
} from '@/lib/api';
import ProductAddToCart from '@/components/cart/ProductAddToCart';
import ProductAttributes from '@/components/product/ProductAttributes';
interface Props {
params: Promise<{ slug: string }>;
@@ -134,6 +135,8 @@ export default async function ProductPage({ params }: Props) {
{product.name}
</h1>
<ProductAttributes attributes={product.attributes} />
{/* Price */}
{price ? (
<div className="mt-6 bg-gray-50 rounded-xl p-6">