mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +00:00
Merge branch 'master' into single-branch
This commit is contained in:
commit
2c30dff47e
@ -92,15 +92,18 @@ const CartItem = ({
|
|||||||
})}
|
})}
|
||||||
{...rest}
|
{...rest}
|
||||||
>
|
>
|
||||||
<div className="w-16 h-16 bg-violet relative overflow-hidden">
|
<div className="w-16 h-16 bg-violet relative overflow-hidden cursor-pointer">
|
||||||
<Image
|
<Link href={`/product/${item.path}`}>
|
||||||
className={s.productImage}
|
<Image
|
||||||
width={150}
|
onClick={() => closeSidebarIfPresent()}
|
||||||
height={150}
|
className={s.productImage}
|
||||||
src={item.variant.image!.url}
|
width={150}
|
||||||
alt={item.variant.image!.altText}
|
height={150}
|
||||||
unoptimized
|
src={item.variant.image!.url}
|
||||||
/>
|
alt={item.variant.image!.altText}
|
||||||
|
unoptimized
|
||||||
|
/>
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex-1 flex flex-col text-base">
|
<div className="flex-1 flex flex-col text-base">
|
||||||
<Link href={`/product/${item.path}`}>
|
<Link href={`/product/${item.path}`}>
|
||||||
|
@ -27,8 +27,8 @@ Collection of hooks and data fetching functions to integrate Shopify in a React
|
|||||||
1. Install dependencies:
|
1. Install dependencies:
|
||||||
|
|
||||||
```
|
```
|
||||||
yarn install shopify-buy
|
yarn add shopify-buy
|
||||||
yarn install -D @types/shopify-buy
|
yarn add @types/shopify-buy
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Environment variables need to be set:
|
3. Environment variables need to be set:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user