|
@@ -3,6 +3,7 @@ import { Box, Typography, Button } from '@mui/material';
|
3
|
3
|
import { useSelector } from 'react-redux';
|
4
|
4
|
import Grid from '@mui/material/Grid2';
|
5
|
5
|
import { useNavigate } from "react-router-dom";
|
|
6
|
+import defaultImage from "../../assets/images/default.png"
|
6
|
7
|
|
7
|
8
|
const ProductSuggestion = () => {
|
8
|
9
|
|
|
@@ -155,7 +156,7 @@ const ProductSuggestion = () => {
|
155
|
156
|
let minPriceCurrency = minVariantPrice.currencyCode;
|
156
|
157
|
let maxPrice = maxVariantPrice.amount;
|
157
|
158
|
let maxPriceCurrency = maxVariantPrice.currencyCode;
|
158
|
|
- let img_url = images[0]?.url;
|
|
159
|
+ let img_url = images[0]?.url || defaultImage
|
159
|
160
|
let collection_name = collections[0]?.title;
|
160
|
161
|
|
161
|
162
|
return renderProduct(
|