[TYPO3-shop] RV: discountprice in tt_products 2.7.1
Elías Fernández Velázquez
elias at trevenque.es
Mon Jul 20 13:28:18 CEST 2009
Hello list,
I´m developing a shop that may have differents discounted prices for quantities over 10, 20, 30 :
discountprice.10{
sql.where=
type = count
field = price
additive = 0
prod.type = percent
prod.10 = 5
prod.20 = 10
prod.30 = 15
}
discountprice.20< .discountprice.10
discountprice.20.prod.10>
discountprice.20.prod.20=10
discountprice.30< .discountprice.10
discountprice.30.prod.10>
discountprice.30.prod.30=15
All right with these lines but when i buy another product, the factor to calculate the unit price is the total number of products not the number of each line. So when I have 20 of one product "A" and 10 of another "B",the discounted unit price results in a price for a quantity of 30 and not discounted price for 20 of "A" and discounted price for 10 of "B".
Can anybody says me if exists another way of doing that ?
Thanks
Grupo Trevenque Kaplan
– – – – – – – – – – – – – – – – – – – – – – – –
Elías Fernández Velázquez
Diseño y desarrollo web
– – – – – – – – – – – – – – – – – – – – – – – –
T_(+34) 958 21 72 48
T_(+34) 958 21 72 00
Camino Bajo de Huétor, 150
18008 Granada – España
http://www.trevenque.es/ | http://www.kaplan.es/
P Antes de imprimir este e-mail piense bien si es necesario hacerlo: El medioambiente es cosa de todos
More information about the TYPO3-project-tt-products
mailing list