Skip to main navigation Skip to main content Skip to page footer
Bezahlung
 
 
Bedeutung für discountprice
 
Autor: Franz Holzinger Datum: 25-03-10 08:07:01
 
Der discountprice ab tt_products 2.2.x bedeutet:
Dort, wo über das Preisfeld price der Brutto- oder Nettopreis (je nach Konfiguration) eingetragen worden ist, und ein Produkt den Preis 1 hat, gilt die folgende Rabattpreisberechnung:
10 Produkte kosten 5 Euro
20 Produkte kosten 10 Euro

plugin.tt_products.getDiscountPrice = 1
plugin.tt_products.discountprice.10 {
type = count
field = price
prod.1 = 1
prod.10 = 5
prod.20 = 10
}

Alle Produkte, die einen Preis ungleich 1 haben, werden überhaupt nicht in die Preisrabattierung mit einberechnet!