Feature #14545
closedRFE: datatype range
0%
Description
For the latest tt_products I need a new datatype for TSRef. This is necessary to make the configuration more easy and possible from the Setup field.
Here an example:
-----
shipping {
radio = 1
10.title = Deutschland
10.image.params = align=absmiddle
10.priceTax.1 = 2.5
10.priceTax.20 = 4.8
10.priceTax.50 = 10
10.priceNoTax = 2.5
10.percentOfGoodstotal = 0
20.title = Europa (nicht Deutschland)
20.image.params = align=absmiddle
20.priceTax.1 = 8.8
20.priceTax.20 = 11.8
20.priceTax.50 = 11.8
20.priceNoTax = 8.8
20.percentOfGoodstotal = 0
}
pricecalc {
10.prod.1 = 4.99
10.prod.2 = 8.99
10.prod.5 = 19.99
20.prod.1 = 6.99
20.prod.2 = 13.98
20.prod.5 = 29.99
}
discountcalc {
10.prod.1 = 4.99
10.prod.100 = 2.49
20.prod.1 = 6.99
20.prod.100 = 2.59
}
--------------------------
10.priceTax.20 = 4.8
10.priceTax.50 = 10
This means that the shipping price for at least 20 articles will be 4.8 Euro, where 50 articles will cost 10 Euro.
pricecalc {
10.prod.1 = 4.99
10.prod.2 = 8.99
10.prod.5 = 19.99
...
this means that where 1 product costs 4.99 Euro, each pair of 2 products will cost 8.99 and all 5 products will cost 19.99 Euro.
discountcalc {
10.prod.1 = 4.99
10.prod.100 = 2.49
...
A logged in user belonging to a special group will get a special price of 2.49 for each product when he buys at least 100 products. From 1-99 articles he will have to pay 4.99 for each.
This will be coded in the tt_products, however I need this in the Document TSRef. Maybe someone has a better solution to this.
(issue imported from #M769)