Skip to content
Snippets Groups Projects
Commit dbcc19cb authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Remove debug code

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