diff --git a/client-app/shared/catalog/components/product-card-related.vue b/client-app/shared/catalog/components/product-card-related.vue index 101d913ba0..00ba991d7f 100644 --- a/client-app/shared/catalog/components/product-card-related.vue +++ b/client-app/shared/catalog/components/product-card-related.vue @@ -44,7 +44,7 @@ :button-text="$t('pages.catalog.variations_button', [(product.variations?.length || 0) + 1])" /> - + @@ -52,11 +52,11 @@ import { computed } from "vue"; import { useBrowserTarget } from "@/core/composables"; import { getProductRoute } from "@/core/utilities"; -import { AddToCart } from "@/shared/cart"; import { AddToCompareCatalog } from "@/shared/compare"; import { AddToList } from "@/shared/wishlists"; import type { Product } from "@/core/api/graphql/types"; import type { RouteLocationRaw } from "vue-router"; +import AddToCartSimple from "@/shared/cart/components/add-to-cart-simple.vue"; interface IEmits { (event: "linkClick", globalEvent: MouseEvent): void; diff --git a/client-app/shared/catalog/components/product-sidebar.vue b/client-app/shared/catalog/components/product-sidebar.vue index 91cb35df0c..c4ae2b9585 100644 --- a/client-app/shared/catalog/components/product-sidebar.vue +++ b/client-app/shared/catalog/components/product-sidebar.vue @@ -34,7 +34,11 @@
- + - +
- + + - +
@@ -134,6 +139,7 @@ import CountInCart from "./count-in-cart.vue"; import InStock from "./in-stock.vue"; import ProductPriceBlock from "./product-price-block.vue"; import type { MoneyType, PriceType, Product } from "@/core/api/graphql/types"; +import AddToCartSimple from "@/shared/cart/components/add-to-cart-simple.vue"; import VcAlert from "@/ui-kit/components/molecules/alert/vc-alert.vue"; interface IProps { diff --git a/client-app/shared/catalog/components/product/variations-default.vue b/client-app/shared/catalog/components/product/variations-default.vue index e70a926d76..0d1a8ee59e 100644 --- a/client-app/shared/catalog/components/product/variations-default.vue +++ b/client-app/shared/catalog/components/product/variations-default.vue @@ -29,14 +29,14 @@ v-bind="getComponentProps(CUSTOM_PRODUCT_COMPONENT_IDS.CARD_BUTTON)" /> - + - + - - - - - + + + @@ -138,21 +97,17 @@