[Typo3-shop] Shipping costs related to weight

Franz Holzinger franz at fholzinger.com
Mon Jul 25 19:05:53 CEST 2005


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