[TYPO3-shop] Different Discounts for different products?
Franz Holzinger
franz at fholzinger.com
Sat Jun 7 11:45:15 CEST 2008
Hello Juan Pablo,
> The docs are including this example:
>
> discountprice {
> 10.type = count
> 10.field = price
> 10.additive = 1
> 10.where =
> 10.prod.1 = 4.99
> 10.prod.100 = 2.49
> 10.prod.1050 = 2.39
> }
>
> But.. is a common need to have different discount for different
> products, how can we indicate the discount in a per product basis? This
> discount range for a product and ANOTHER discount range for another product.
>
> In practice: Product A is $10, but it is $9 if the customer buys 12
> items A. Product B is $25, but it is $20 if the customer buys 12 items B.
> Current documentation is not very clear about it, or I am unable to
> guess it :(
Starting with tt_products 2.8.0 you can also add a simple where clause.
10.sql.where = uid IN (12, 13, 14, 35)
Then you can repeat the discounts with more lines and give other where
conditions to them.
- Franz
More information about the TYPO3-project-tt-products
mailing list