-
+ @if (!string.IsNullOrWhiteSpace(Product.ImageUrl) && !imageFailed)
+ {
+
+ }
+ else
+ {
+
+ }
-
- @Product.Category.Name
-
+ @if (Product.Category is not null)
+ {
+
+ @Product.Category.Name
+
+ }
-
-
@Product.Name
-- @Product.Category.Name -
+ @if (!string.IsNullOrWhiteSpace(Product.Description)) + { ++ @Product.Description +
+ }
-
+
@if (Product.StockQuantity > 0)
{
@@ -32,17 +46,19 @@
- @Product.Price.ToString("C")
+ @Product.Price.ToString("N0") Kč
-
-
+ @if (OnAddToCart.HasDelegate)
+ {
+
+ }