From baa31c136fc28f209f2a581087d83e54310b016a Mon Sep 17 00:00:00 2001 From: Andres Alvarez Date: Thu, 29 May 2025 16:46:28 -0400 Subject: [PATCH 1/2] Format price in search suggestion --- src/components/SuggestionProduct.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/SuggestionProduct.tsx b/src/components/SuggestionProduct.tsx index 43922b0..c0d385b 100644 --- a/src/components/SuggestionProduct.tsx +++ b/src/components/SuggestionProduct.tsx @@ -10,6 +10,7 @@ import type { ProductPaginationRequest, ProductPresentation, } from '@pharmatech/sdk'; +import { formatPrice } from '@/lib/utils/helpers/priceFormatter'; export type SuggestionProduct = ProductPresentation; @@ -119,7 +120,7 @@ export default function SearchSuggestions({

{item.product.description}

-

$ {item.price}

+

$ {formatPrice(item.price)}

))} From b616e0cf411e7be7b41f7a296d9f42b373e7aadc Mon Sep 17 00:00:00 2001 From: Andres Alvarez Date: Thu, 29 May 2025 16:46:55 -0400 Subject: [PATCH 2/2] Path version to 1.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 060bc22..2635c6a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ecommerce", - "version": "1.0.0", + "version": "1.0.1", "private": true, "scripts": { "dev": "next dev",