[Typo3-shop] price calculations.

Marc mrhage at gmail.com
Tue May 10 14:42:49 CEST 2005


>> I need to set up a shop where you choose a product and then a second 
>> product (a subscription) and then the price of the total package gets 
>> calculated (GSM shop where you select a phone and a contract and then the 
>> price of the phone can be calculated).
> You can use the accessory function from tt_products 2.0.2 by Jens 
> Schmietendorf. There you can make a second price for the accessory to your 
> handy. The accessory is the contract.

The contract is actualy a whole database table with all sorts of contracts 
titles and prices and every contract must reduce the base price of a mobile 
phone (or 'handy') by a different amount. So Vodafone 100 min a month for 1 
year deduces the price of the Samsung D500 by 200 euro's and T-Mobile 150 
min a month for one year deduces the price of the phone by 175 euro's and so 
on. (just examples)

>> Also you need to fill in a list of personal data and print out a contract 
>> sign it and post it the old fashioned analog way.
> You can use the bill or delivery creation for this. Then open the bill 
> file, print it, sign it and send it.

In The Netherlands we have 5 companies with who you can sign a contract and 
so depending on the company the layout of this 'bill' must be changed. 
T-Mobile contracts require a t-mobile logo above the contract and Vodafone 
contracts require a vodafone logo (and if the keep bothering me with extra 
requirements maybe even some extra fields that need to be fild out by the 
customer).

>> I thought it was but the documentation is, or a little too little (not 
>> describing the new features) or I little too advanced for me. And I have 
>> read a bunch of the documents.
> I hope you will add some better documentation after your job is done. ;-)

That, my friend, is a promise. It's the least I can do. I just hope that I 
will get the hang of tt_products... otherwise I would have to insert my own 
custom php instead, which would take a long time but may be nescesery...

So... you think it still is possible for me to use tt_products to get the 
job done? Remember I have only been using Typo for half a year now, but I am 
fairly accustomed to php and programming principles in general (via courses 
in Java). The problem is that I am not familier with the Typo3 API and I 
have just begon to explore it.

Thanks for the reply,

Marc





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