feat: add short descriptions to product and extras displays

- Included kurzBeschreibung in the GrowTentKonfigurator for products, lamps, and ventilation components to enhance user information.
- Updated ExtrasSelector to display kurzBeschreibung for each extra, improving clarity and user experience.
This commit is contained in:
sebseb7
2025-09-08 09:10:33 +02:00
parent 09e015a529
commit 9d93ab8f2c
2 changed files with 13 additions and 0 deletions

View File

@@ -116,6 +116,10 @@ class ExtrasSelector extends Component {
{extra.name} {extra.name}
</Typography> </Typography>
<Typography gutterBottom>
{extra.kurzBeschreibung}
</Typography>
{/* Price with VAT - Same as other sections */} {/* Price with VAT - Same as other sections */}
<Typography variant="h6" sx={{ <Typography variant="h6" sx={{
color: '#2e7d32', color: '#2e7d32',

View File

@@ -671,6 +671,9 @@ class GrowTentKonfigurator extends Component {
<Typography variant="h6" gutterBottom sx={{ fontWeight: 'bold' }}> <Typography variant="h6" gutterBottom sx={{ fontWeight: 'bold' }}>
{product.name} {product.name}
</Typography> </Typography>
<Typography gutterBottom>
{product.kurzBeschreibung}
</Typography>
{/* Price with VAT - Same as Product.js */} {/* Price with VAT - Same as Product.js */}
<Typography variant="h6" sx={{ <Typography variant="h6" sx={{
@@ -797,6 +800,9 @@ class GrowTentKonfigurator extends Component {
<Typography variant="h6" gutterBottom sx={{ fontWeight: 'bold' }}> <Typography variant="h6" gutterBottom sx={{ fontWeight: 'bold' }}>
{lamp.name} {lamp.name}
</Typography> </Typography>
<Typography gutterBottom>
{lamp.kurzBeschreibung}
</Typography>
{/* Price with VAT */} {/* Price with VAT */}
<Typography variant="h6" sx={{ <Typography variant="h6" sx={{
@@ -961,6 +967,9 @@ class GrowTentKonfigurator extends Component {
}}> }}>
{ventilation.name} {ventilation.name}
</Typography> </Typography>
<Typography gutterBottom>
{ventilation.kurzBeschreibung}
</Typography>
{/* Price with VAT */} {/* Price with VAT */}
<Typography variant="h6" sx={{ <Typography variant="h6" sx={{