diff --git a/frontend/components/product/ProductHero/index.vue b/frontend/components/product/ProductHero/index.vue index 325ff4d..0147c79 100644 --- a/frontend/components/product/ProductHero/index.vue +++ b/frontend/components/product/ProductHero/index.vue @@ -117,7 +117,11 @@ watch( {{ selectedVariant!.price }} - {{ selectedVariant!.discount > 0 ? selectedVariant!.price : selectedVariant!.price }} + {{ + selectedVariant!.discount > 0 + ? selectedVariant!.price_after_discount + : selectedVariant!.price + }}
- {{ selectedVariant!.discount > 0 ? selectedVariant!.price : selectedVariant!.price }} + {{ + selectedVariant!.discount > 0 + ? selectedVariant!.price_after_discount + : selectedVariant!.price + }}
();
- {{ variantDetail.price }} + {{ variantDetail!.discount > 0 ? variantDetail!.price_after_discount : variantDetail!.price }}