Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Fix QuickView for grouped product

KrzysztofPajake5b255ddb0b1
diff --git a/src/Web/Grand.Web/Views/Shared/QuickView/_PricesGroup.cshtml b/src/Web/Grand.Web/Views/Shared/QuickView/_PricesGroup.cshtml
index 1f46c3633..cc7cc5907 100644
--- a/src/Web/Grand.Web/Views/Shared/QuickView/_PricesGroup.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/QuickView/_PricesGroup.cshtml
@@ -43,7 +43,7 @@
<span class="actual-price" v-html="variant.ProductPrice.Price"></span>
</template>
<template v-else>
- <strong>{{Model.Price}}</strong>
+ <strong>{{variant.ProductPrice.Price}}</strong>
</template>
</span>
<template v-if="variant.ProductPrice.OldPrice !== null">
@@ -56,7 +56,7 @@
<template v-else>
<template v-if="variant.ProductPrice.OldPrice !== null">
<div class="old-product-price">
- <span class="old-price mx-2">{{Model.OldPrice}}</span>
+ <span class="old-price mx-2">{{variant.ProductPrice.OldPrice}}</span>
</div>
</template>
</template>