[TYPO3-shop] Discount implementation
Franz Holzinger
franz at fholzinger.com
Sat Aug 25 08:00:09 CEST 2007
Hello
>>= 150 € => 3%
>>= 200 € => 4%
>
> I would also like to have a single line in the checkout like:
> "Discount: -50 €"
>
> Is it possible to do this?
This should work in 2.6.0:
discountprice.10 {
type = price
sql.where =
prod.type = percent
prod.150 = 3
prod.200 = 4
}
Marker ###PRICE_TAX_DISCOUNT###
> In my shop there's no shipping configuration needed, so I already tried
> to calculate this discount via a "calculationScript" in the shipping
> area, because there's already a marker in the html template for this.
> This seems to work, but unfortunately this value was always added to the
> payment costs. If there's a way to prevent this behaviour, this method
> would work for me too.
Always start with this setup:
shipping >
payment >
Then the example setup will be deleted by this.
- Franz Holzinger
More information about the TYPO3-project-tt-products
mailing list