[Typo3-shop] making price for differnt quantties in tt_products

Eric Vlemmings evlem at world-remove-online.nl
Fri Jul 22 15:11:37 CEST 2005


I have put the discountprice code in the setup of my template.

But I can't get it to work, I've tried a lot of things.

I've an discountgroup and I thought well just log in and order for the new 
prices.

please help,

Eric


"Franz Holzinger" <franz at fholzinger.com> schreef in bericht 
news:mailman.1.1121376885.8696.typo3-project-tt-products at lists.netfielders.de...
> 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