{{.Success}}
{{end}}
{{if .Error}}{{.Error}}
{{end}}
{{if .ReservedByOther}}
Товар забронирован до {{.Reservation.ExpiresAt.Format "02.01.2006 15:04"}}
{{else if .Reservation}}
Вы забронировали этот товар до {{.Reservation.ExpiresAt.Format "02.01.2006 15:04"}}
{{end}}
{{range .Product.Images}}
{{end}}
{{end}}
{{if .Product.CategorySlug}}
{{.Product.Category}}
{{end}}
{{if not .ReservedByOther}}
{{end}}
{{.Product.Name}}
{{if .Product.HasSale}}
{{printf "%.0f" .Product.Price}} ₽
{{printf "%.0f" .Product.SalePrice}} ₽
-{{.Product.DiscountPercent}}%
{{else}}
{{printf "%.0f" .Product.Price}} ₽
{{end}}
{{$specs := .Product.Specs}}
{{if $specs}}
-
{{range $specs}}
- {{.Label}}
- {{.Value}}
{{plain .Product.Description}}
{{if .CompareProducts}}
{{end}}
История цены
{{range .PriceHistory}}
{{end}}
| Дата | Цена | Со скидкой |
|---|---|---|
| {{.RecordedAt.Format "02.01.2006"}} | {{printf "%.0f" .Price}} ₽ | {{if gt .SalePrice 0}}{{printf "%.0f" .SalePrice}} ₽{{else}}—{{end}} |
Описание
{{safeHTML .Product.Details}}