Twee soorten prijsregels
Magento kent twee soorten prijsregels die elk een ander doel dienen:
Catalog Price Rules: Pas prijzen aan in de catalogus (vóór de winkelwagen)
Cart Price Rules: Pas prijzen aan in de winkelwagen (tijdens checkout)
Catalog Price Rules
Wat zijn ze?
Catalog price rules passen productprijzen aan voordat ze in de winkelwagen komen. De korting is direct zichtbaar op product- en categoriepagina's.
Navigatie
Marketing > Promotions > Catalog Price Rules
Nieuwe regel aanmaken
- Rule Name: "Zomerkorting Schoenen"
- Status: Active
- Websites: Selecteer websites
- Customer Groups: Alle of specifiek
- Date range: Start en einddatum
``
If ALL of these conditions are TRUE:
- Category is 5 (Schoenen)
- Price is greater than 50
`
- Apply: By Percentage of Original
- Discount Amount: 20
- Discard subsequent rules: Optioneel
Condition voorbeelden
- Categorie
- Attribuut waarden (merk, kleur)
- Prijs range
- SKU pattern
Belangrijk
Na aanmaken moet je de catalog_product_price indexer reindexen voor prijzen te zien zijn.
Cart Price Rules
Wat zijn ze?
Cart price rules geven korting in de winkelwagen. Perfect voor kortingscodes, gratis verzending, en complexere promoties.
Navigatie
Marketing > Promotions > Cart Price Rules
Nieuwe regel aanmaken
- Rule Name: "KORTING20"
- Status: Active
- Websites: Selecteer websites
- Customer Groups: Alle of specifiek
- Coupon: Specific Coupon
- Coupon Code: KORTING20
- Uses per Coupon: 1000
- Uses per Customer: 1
- Date range: Start en einddatum
`
If ALL of these conditions are TRUE:
- Subtotal is greater than 50
`
- Apply: Percent of product price discount
- Discount Amount: 20
- Maximum Qty Discount: 0 (onbeperkt)
- Discount Qty Step: 0
- Apply to Shipping: No
- Free Shipping: No
- Discard subsequent rules: Yes
Coupon types
No Coupon: Regel geldt automatisch
Specific Coupon: Eén vaste code
Auto-generated: Meerdere unieke codes genereren
Auto-generated coupons
- Qty: 100
- Code Length: 8
- Code Format: Alphanumeric
- Prefix: ZOMER-
Geavanceerde promoties
Buy X Get Y (BOGO)
- Apply: Buy X get Y free (discount amount is Y)
- Discount Amount: 1 (gratis product)
- Discount Qty Step (Buy X): 2 (koop 2)
- Maximum Qty Discount: 1
Resultaat: Koop 2, krijg 1 gratis
Gratis verzending boven bedrag
- Apply: Percent of product price discount
- Discount Amount: 0
- Free Shipping: For shipment with matching items
Korting op specifieke producten in cart
- Condition: Category is Accessories
- Dit geeft korting alleen op accessories
Staffelkorting
Maak meerdere regels met prioriteit:
- Regel 1: Subtotal > 50 → 5% korting (Priority 1)
- Regel 2: Subtotal > 100 → 10% korting (Priority 2)
- Regel 3: Subtotal > 200 → 15% korting (Priority 3)
Zet "Discard subsequent rules" op Yes zodat alleen de hoogste toepast.
Condities uitgelegd
Cart Attribute condities
- Subtotal (incl/excl tax)
- Total Items Quantity
- Total Weight
- Payment Method
- Shipping Method
- Shipping Region/Country
Product Attribute condities
Op rule level of action level:
- Category
- SKU
- Attribute Set
- Custom attributen
Combineren met AND/OR
`
If ANY of these conditions are TRUE:
If ALL of these conditions are TRUE:
- Category is Kleding
- Price is greater than 30
If ALL of these conditions are TRUE:
- Category is Schoenen
`
Labels en weergave
Korting label
In Cart Price Rule onder Actions:
- Default Rule Label: "20% Korting"
- Store View Specific Labels: Per taal
Dit label verschijnt in de winkelwagen bij de korting.
Prijs weergave catalog rules
Bij catalog rules kun je de "was/nu" prijs tonen:
- Stores > Configuration > Sales > Catalog
- Enable "Show As Low As Price in Catalog"
Testing en troubleshooting
Regel werkt niet
Checklist:
- Status: Active
- Datum range correct
- Customer group ingesteld
- Website geselecteerd
- Condities kloppen
- Cache geflushed
Korting stapelt niet
Check "Discard subsequent rules" instelling. Als Yes, stoppen latere regels.
Coupon niet geaccepteerd
- Code correct gespeld (case sensitive!)
- Uses limit niet bereikt
- Customer group match
Test zonder cache
Flush cache voor testen:
bin/magento cache:flush`
Best practices
Naamgeving
Gebruik beschrijvende namen met datum:
"Kerst2024 - 20% op alles boven €50"
Priority
Stel prioriteiten logisch in. Lagere nummer = hogere prioriteit.
Einddatum
Zet altijd een einddatum. Vergeten acties kosten geld.
Limieten
Gebruik "Uses per Coupon" en "Uses per Customer" om misbruik te voorkomen.
Monitoren
Check regelmatig het effect van promoties in Reports > Marketing > Promotions.