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

Stefanie Axinger sinasita at gmail.com
Tue Jul 15 12:52:40 CEST 2008


Hello Juan,

I'm not sure, if there's another way but I think you only have the 
possibility
to use this function in connection with certain prices.

Like this:

# for activation
plugin.tt_products.getDiscountPrice = 1

plugin.tt_products.discountprice {
    10.type = count
    10.field = price
    10.additive = 1
    10.prod.1 = 39.90
    10.prod.10 = 38.90
    10.prod.100 = 36.90
}

so you get the discount for every product with the price 39.90. but you have 
to
define it for every price you want to be reduced.

additive tells you, that the amount of all the products you buy and you have 
defined
are counted. without additive, you get the discountprice only, when you buy 
10 pieces
of the same product.

greetz Steffi

"Juan Pablo Villaverde" <jpablo at omnisciens.com> schrieb im Newsbeitrag 
news:mailman.1.1215810798.23462.typo3-project-tt-products at lists.netfielders.de...
> Hi!
>
> 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?
>
> And also,  is possible to set exceptions? In practice some specific 
> products will not have any discounts...
>
> Regards,
>
> Juan Pablo Villaverde
> jpablo at omnisciens.com
> http://www.omnisciens.com
> 




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