[TYPO3-shop] Qty based percentage discount not working, and exception for some products

Franz Holzinger franz at fholzinger.com
Fri Jul 25 08:47:25 CEST 2008


Hello Juan,

> I need to apply a discount of 10% for purchases of 12 pieces and more. This 
> should be done with:
> 
> plugin.tt_products.discountprice.10 {
>     type = price
>     prod.type = percent
>     prod.0  = 0
>     prod.12 = 10
> }
> 
> But this config is not working with tt_products 2.6.0. I need something 
> else?

I think this has been implemented in tt_products 2.7.0.

> And also,  is possible to set exceptions? In practice some specific products 
> will not have any discounts...

You can add a simple WHERE clause.

discountprice.10 {
    type = count
    sql.where = color = 'red'
    prod.type = percent
    prod.0 = 0
    prod.12 = 10
}



Franz


More information about the TYPO3-project-tt-products mailing list