|
Autor: Tobias Braun
|
Datum: 23-03-10 08:45:52
|
| |
Hallo,
danke für den Snippet.. leider führt er auch nicht zum gewünschten Ergebnis. Ich habe deinen Code 1 zu 1 übernommen. Es wird kein Rabatt berechnet.
Code:
plugin.tt_products.getDiscountPrice = 1
plugin.tt_products.discountprice {
10.type = count
10.field = price
10.additive = 1
10.where =
10.prod.1 = 12
10.prod.10 = 10
10.prod.20 = 8
}
funktioniert problemlos ... sobald ich 10 Artilel im Warenkorb habe get der Betrag auf 10 Euro runter.
beim Code:
plugin.tt_products.getDiscountPrice = 1
plugin.tt_products.discountprice.10 {
type = count
sql.where =
prod.type = percent
prod.0 = 0
prod.10 = 5
prod.20 = 5
}
passiert aber leider gar nix.
|
| |
|