Commit dbcc19cb authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Remove debug code

parent 1215c921
......@@ -779,7 +779,6 @@ class plgVmShipmentRules_Shipping_Base extends vmPSPlugin {
// Calculate the prices from the individual products!
// Possible problems are discounts on the order total
foreach ($products as $product) {
JFactory::getApplication()->enqueueMessage("<pre>Product: ".print_r($product,1)."</pre>", 'error');
$data['amount'] += $product->allPrices[$product->selectedPrice]['salesPrice'];
$data['amountwithtax'] += $product->allPrices[$product->selectedPrice]['salesPrice'];
$data['amountwithouttax'] += $product->allPrices[$product->selectedPrice]['priceWithoutTax'];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment