feat(F-070): completed feature
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user