[Typo3-shop] Shipping costs related to weight
Christian Buelter
buelter at kennziffer.com
Tue Jul 26 09:48:49 CEST 2005
Hi Franz,
i wanted to test that new version, but it says, that i have to install
"feuserextrafields". But when I want to install feuserextrafields, it
says I first have to install tt_products ... ;-)
BTW: Why is suddenly feuserextrafields needed for tt_products?
Greetings,
Christian
Franz Holzinger schrieb:
> Hello Christian,
>
>>> This will come in a modified way into the next tt_products version.
>>
>>
>> Great!
>>
>> And I added some more stuff:
>>
>>
>> I changed the "weight"-configuration as you did it ("type = weight"),
>> it can now be configured differently for each entry in the
>> "shipping"-configuration.
>>
>> Now, this is how to define a minimum shipping cost depending on the
>> category (PID of the page), a product has:
>>
>> 10.priceTax.WherePIDMinPrice.155 = 7.5
>>
>> Where 155 is the PID and 7.5 is the minimum price taken for shipping
>> costs when at least one product in the basket comes from the page with
>> that PID.
>>
> Yes, if you want to organize your shop this way, it is ok.
>
>
>>
>> These are the changes in the tt_products - class:
>>
>> I need tcemain for getPID, so this class has to be included.
>>
>> > require_once(PATH_t3lib."class.t3lib_tcemain.php");
>>
>
> If have shortened this a bit, because the itemArray already contains the
> basket items with the PID as an index.
>
> I hope this will work.
> http://fholzinger.com/typo3/development/
> tt_products-v2.0.5.25.zip
>
> Tell me asap. if this works, because tomorrow I want to create a new TER
> version.
>
> Greets,
>
> Franz
>
More information about the TYPO3-project-tt-products
mailing list