diff --git a/templates/hydrogen-theme/app/components/CollectionCard.tsx b/templates/hydrogen-theme/app/components/CollectionCard.tsx index 0113957..1df0693 100644 --- a/templates/hydrogen-theme/app/components/CollectionCard.tsx +++ b/templates/hydrogen-theme/app/components/CollectionCard.tsx @@ -18,7 +18,7 @@ export function CollectionCard(props: { return (
- + {collection.image && ( {!skeleton && product && firstVariant ? ( - + {firstVariant?.image && ( + {children ? children : name} ); diff --git a/templates/hydrogen-theme/app/routes/($locale).collections.$collectionHandle.tsx b/templates/hydrogen-theme/app/routes/($locale).collections.$collectionHandle.tsx index fd57b18..0facda3 100644 --- a/templates/hydrogen-theme/app/routes/($locale).collections.$collectionHandle.tsx +++ b/templates/hydrogen-theme/app/routes/($locale).collections.$collectionHandle.tsx @@ -137,7 +137,12 @@ export default function Collection() { {collection.image && (
- +

{collection.title}