Skip to content

Commit 5222e09

Browse files
feat: add-to-cart-simple in related products
1 parent 7a80dfa commit 5222e09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client-app/shared/catalog/components/product-card-related.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@
4444
:button-text="$t('pages.catalog.variations_button', [(product.variations?.length || 0) + 1])"
4545
/>
4646

47-
<AddToCart v-else :product="product" reserved-space />
47+
<AddToCartSimple v-else :product="product" reserved-space />
4848
</VcProductCard>
4949
</template>
5050

5151
<script setup lang="ts">
5252
import { computed } from "vue";
5353
import { useBrowserTarget } from "@/core/composables";
5454
import { getProductRoute } from "@/core/utilities";
55-
import { AddToCart } from "@/shared/cart";
5655
import { AddToCompareCatalog } from "@/shared/compare";
5756
import { AddToList } from "@/shared/wishlists";
5857
import type { Product } from "@/core/api/graphql/types";
5958
import type { RouteLocationRaw } from "vue-router";
59+
import AddToCartSimple from "@/shared/cart/components/add-to-cart-simple.vue";
6060
6161
interface IEmits {
6262
(event: "linkClick", globalEvent: MouseEvent): void;

0 commit comments

Comments
 (0)