@@ -47,7 +48,7 @@ export const ReviewsSection = ({ productId, productHandle, reviews, total, summa
({total})
{!!avgRating && (
-
+
{avgRating.toFixed(2)}
)}
@@ -66,19 +67,17 @@ export const ReviewsSection = ({ productId, productHandle, reviews, total, summa
)}
-
-
-
-
+
{reviews.map(({ body, author, rating, created_at }) => (
))}
+
-
+
See all reviews
diff --git a/starters/shopify-meilisearch/views/product/similar-products-section.tsx b/starters/shopify-meilisearch/views/product/similar-products-section.tsx
index 79fac702..9fb0a49e 100644
--- a/starters/shopify-meilisearch/views/product/similar-products-section.tsx
+++ b/starters/shopify-meilisearch/views/product/similar-products-section.tsx
@@ -18,13 +18,9 @@ export async function SimilarProductsSection({ slug, collectionHandle }: Similar
return (
-
-
You might also like
-
-
-
-
-
+
+ You might also like
+
{items.map((product, idx) => (
@@ -32,6 +28,7 @@ export async function SimilarProductsSection({ slug, collectionHandle }: Similar
))}
+
)
diff --git a/starters/shopify-meilisearch/views/product/star-rating.tsx b/starters/shopify-meilisearch/views/product/star-rating.tsx
index bfc5288d..40d931b3 100644
--- a/starters/shopify-meilisearch/views/product/star-rating.tsx
+++ b/starters/shopify-meilisearch/views/product/star-rating.tsx
@@ -7,7 +7,7 @@ export const StarRating = ({ rating }: { rating: number }) => {
return (
{stars.map((star) => (
-
+
))}
)