[TYPO3-shop] Re-2: bulkily products: no costs with pick-up-in-store

Wolfgang Meyer wolfgang.meyer at womey.de
Thu Jan 18 19:49:32 CET 2007


Hello Franz,

i think i found the code in the class.tx_ttproducts_basket.php:

foreach ($productsArray as $row) {
	if ($row['bulkily'])	{
		$value = $this->conf['bulkilyAddition'] * $this->basketExt[$row['uid']][$this->viewTable->variant->getVariantFromRow($row)];
		$tax = $this->conf['bulkilyFeeTax'];
		$this->calculatedArray['priceTax']['shipping'] += $this->price->getPrice($value,true,$tax,$this->conf['TAXincluded'],true);
		$this->calculatedArray['priceNoTax']['shipping'] += $this->price->getPrice($value,false,$tax,$this->conf['TAXincluded'],true);
	}
}

But i don't know what to do.... i think there has to be an if-condition, but i don't know how to manage it.

Wolfgang


Hello Wolfgang,

> How can i set the shipping costs with bulkily products to 0 with
> pick-up-in-store?
> 
> plugin.tt_products.bulkilyAddition = 25.00
> plugin.tt_products.bulkilyFeeTax = 19.00
> 
> plugin.tt_products.shipping.20.title = Selbstabholung
> 
> Here are no delivery costs but bulkily products have always added the 25.00.
> How can i set this to 0?
> 

I think the PHP code needs some change to make this possible. At the
moment it always adds the bulkiliy, if the product has the checkbox
'bulkily' has been set.

Just search for 'bulkily' in the Code and change it to your needs.

- Franz
_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-tt-products




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