|
|
@@ -396,7 +396,7 @@ const ProductDetails = () => {
|
|
396
|
396
|
const sizeChartMetafield = product?.metafields?.size_chart
|
|
397
|
397
|
const sizeChartImageUrl = sizeChartMetafield?.reference?.image?.url || sizeChartMetafield?.reference?.url || ""
|
|
398
|
398
|
const sizeChartImageAlt = sizeChartMetafield?.reference?.image?.altText || `${product?.title || "Product"} size chart`
|
|
399
|
|
- const isEssentialProduct = (product?.productType || "").trim().toUpperCase() === "BEAUTY"
|
|
|
399
|
+ const isEssentialProduct = ["BEAUTY", "HOME"].includes((product?.productType || "").trim().toUpperCase())
|
|
400
|
400
|
|
|
401
|
401
|
// Renders Shopify product metafield custom.material inside the Material row.
|
|
402
|
402
|
const materialPanel = (
|