Wat zijn configurable products?
Configurable products zijn producten met variaties. Een klant selecteert opties (maat, kleur) en krijgt de juiste productvariant. Achter de schermen is elke variant een apart simple product.
Stap 1: Configurable attributen aanmaken
Voordat je configurable products maakt, heb je attributen nodig die als configuratie-optie dienen.
Attribuut aanmaken
- Default Label: Maat
- Catalog Input Type: Dropdown
- Values Required: Yes
Attribuut configureren voor configurable products
- Scope: Global
- Use for Promo Rules: Yes
- Voeg opties toe: S, M, L, XL
- Use in Layered Navigation: Filterable (with results)
- Use for Configurable Product: Yes (BELANGRIJK!)
Attribuut aan attribuutset toevoegen
Stap 2: Simple products aanmaken (varianten)
Elke variant van je configurable product is een simple product.
Variant aanmaken
- Product Name: T-shirt Blauw Maat M
- SKU: TSHIRT-BLAUW-M
- Price: 29.95
- Quantity: 50
- Kleur: Blauw
- Maat: M
Alle varianten aanmaken
Herhaal voor elke combinatie. Voor een t-shirt met 3 kleuren en 4 maten heb je 12 simple products nodig.
Tip: Gebruik product import voor bulk aanmaken.
Stap 3: Configurable product aanmaken
Nieuw configurable product
- Product Name: T-shirt Basis
- SKU: TSHIRT-BASIS
- Price: 0 (wordt bepaald door varianten)
Configuraties toevoegen
- Selecteer Kleur en Maat
- Klik Next
- Selecteer welke waarden te gebruiken
- Klik Next
- Kies hoe je images/prijzen wilt instellen
- Opties: per attribuut waarde of per product
- Review je configuratie
- Klik Generate Products
Bestaande simple products koppelen
Als je al simple products hebt:
Stap 4: Prijzen configureren
Prijzen per variant
Elke simple product (variant) kan een eigen prijs hebben:
- Open de simple product
- Wijzig de prijs
- Sla op
Prijs aanpassingen via configurable
In het configurable product:
Tier prices
Voor staffelkortingen, stel tier prices in op de simple products:
Stap 5: Swatches configureren
Swatches zijn visuele selectoren voor attributen zoals kleur.
Text swatch aanmaken
- Voor Text Swatch: vul de swatch tekst in (S, M, L)
Visual swatch (kleur)
- Klik op het swatch veld per optie
- Kies: Color (kleurpicker) of Upload image
Stap 6: Afbeeldingen instellen
Afbeeldingen per variant
Afbeeldingen wisselen bij selectie
Als je wilt dat de afbeelding wisselt bij kleur selectie:
Afbeeldingen op configurable level
Upload ook afbeeldingen op het parent product voor:
- Category listings
- Search results
- Fallback wanneer variant geen afbeelding heeft
Veelvoorkomende problemen
Variant verschijnt niet
Oorzaak: Simple product niet correct geconfigureerd
Checklist:
- Status: Enabled
- Visibility: Not Visible Individually
- Attributen correct ingesteld
- Voorraad: In Stock
Prijs toont niet correct
Oorzaak: Prijsconfiguratie issues
Oplossing:
- Check prijs op simple product level
- Reindex prices:
bin/magento indexer:reindex catalog_product_price
Swatches werken niet
Oorzaak: Attribuut niet correct geconfigureerd
Checklist:
- Input type is Visual/Text Swatch
- Swatch waarden zijn ingesteld
- Cache geflushed
Best practices
Naamgeving
Gebruik consistente naamgeving:
- Parent: "T-shirt Premium"
- Children: "T-shirt Premium - Blauw M"
SKU structuur
Logische SKU's maken beheer makkelijker:
- Parent:
TSH-PREM - Child:
TSH-PREM-BLU-M
Visibility
Zet simple product visibility op "Not Visible Individually" zodat ze niet los vindbaar zijn.
Afbeeldingen
Upload altijd afbeeldingen op zowel parent als children voor consistente weergave overal in de shop.