Get a category of products from Swell

This commit is contained in:
2021-11-08 13:24:33 +01:00
parent 378a64f2b0
commit 75f3e5f1d1
4 changed files with 59 additions and 20 deletions

View File

@@ -8,7 +8,7 @@
import Carousel from '$components/organisms/Carousel.svelte'
export let product: any
export let productShop: any
export let shopProduct: any
/**
@@ -66,7 +66,7 @@
<div class="poster-layout__info">
<dl>
<dt>{capitalizeFirstLetter(product.type)}</dt>
<dd>{productShop.name} {productShop.price}</dd>
<dd>{shopProduct.name} {shopProduct.price}</dd>
</dl>
<Button
text="Add to cart"