[Typo3-shop] making price for differnt quantties in tt_products
Franz Holzinger
franz at fholzinger.com
Thu Jul 14 23:37:11 CEST 2005
Hello Borut,
> Yes that is true, but there are several problems with this kind of seting
> the price
> 1. owner of the store will have to fix the price for all items seperately
> (every item has at least 4 prices)
You can extend (coding) this a bit:
discountprice {
additive = 1
itemnumber = 12,14,343,332
10.prod.1 = 1
10.prod.6 = 0.9
10.prod.12 = 0.8
}
discountprice {
additive = 1
itemnumber = 65,322,222,111
10.prod.1 = 1
10.prod.6 = 0.6
10.prod.12 = 0.5
}
> 2. access to the main template is not what we would love to give him
>
You can write an extension to create a file that will be used for the
template setup.
> we are prepared to make an multiprice extension with some of your help and
> give it freely on extension reposetory
> interested, contatct me on private email if so ?
This also would be a good solution, esp. when you make it independant
from tt_products so it can also be used by the commerce extension.E.g.
create the extension as a library and a base class which can be derived
from a tt_products class as well as from a commerce class.
If you have questions you can ask me, but unfortunately I do not have
the time to help with coding now.
Greetings,
Franz
More information about the TYPO3-project-tt-products
mailing list