We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd438db commit 742a0bfCopy full SHA for 742a0bf
src/components/Product/SingleProduct.component.tsx
@@ -79,7 +79,9 @@ const SingleProduct = ({ product }: IProductRootObject) => {
79
/>
80
)}
81
<div className="ml-8">
82
- <p className="text-3xl font-bold text-center md:text-left">{name}</p>
+ <p className="text-3xl font-bold text-center md:text-left">
83
+ {name}
84
+ </p>
85
<br />
86
{/* Display sale price when on sale */}
87
{onSale && (
@@ -136,10 +138,6 @@ const SingleProduct = ({ product }: IProductRootObject) => {
136
138
</p>
137
139
140
<div className="pt-1 mt-2">
- {
- // Display default AddToCart button if we do not have variations.
141
- // If we do, send the variationId to AddToCart button
142
- }
143
{product.variations && (
144
<AddToCart
145
product={product}
0 commit comments