Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/components/Product/DisplayProducts.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const DisplayProducts = ({ products }: IDisplayProductsProps) => (
>
<span>
<div className="flex justify-center pt-3">
<p className="font-bold text-center cursor-pointer">
<p className="font-bold text-center cursor-pointer text-2xl">
{name}
</p>
</div>
Expand All @@ -120,19 +120,19 @@ const DisplayProducts = ({ products }: IDisplayProductsProps) => (
{/* Display sale price when on sale */}
{onSale && (
<div className="flex justify-center">
<div className="pt-1 text-gray-900">
<div className="pt-1 text-gray-900 text-xl">
{variations && filteredVariantPrice(price, '')}
{!variations && salePrice}
</div>
<div className="pt-1 ml-2 text-gray-900 line-through">
<div className="pt-1 ml-2 text-gray-500 line-through text-lg">
{variations && filteredVariantPrice(price, 'right')}
{!variations && regularPrice}
</div>
</div>
)}
{/* Display regular price when not on sale */}
{!onSale && (
<p className="pt-1 text-center text-gray-900">{price}</p>
<p className="pt-1 text-center text-gray-900 text-xl">{price}</p>
)}
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Product/SingleProduct.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const SingleProduct = ({ product }: IProductRootObject) => {
{/* Display sale price when on sale */}
{onSale && (
<div className="flex flex-col md:flex-row items-center md:items-start mb-4">
<p className="text-3xl font-bold text-red-600">
<p className="text-3xl font-bold text-gray-900">
{product.variations && filteredVariantPrice(price, '')}
{!product.variations && salePrice}
</p>
Expand Down
Loading