Commit 98ad29d2 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

V4.3: Product packageing is product_packaging now

parent 87c4fa0e
......@@ -500,9 +500,9 @@ class plgVmShipmentRules_Shipping_Base extends vmPSPlugin {
$dimensions['totalheight'] += $h * $product->quantity;
$dimensions['maxheight'] = max ($dimensions['maxheight'], $h);
$dimensions['minheight'] = min ($dimensions['minheight'], $h);
$dimensions['totalpackaging'] += $product->packaging * $product->quantity;
$dimensions['maxpackaging'] = max ($dimensions['maxpackaging'], $product->packaging);
$dimensions['minpackaging'] = min ($dimensions['minpackaging'], $product->packaging);
$dimensions['totalpackaging'] += $product->product_packaging * $product->quantity;
$dimensions['maxpackaging'] = max ($dimensions['maxpackaging'], $product->product_packaging);
$dimensions['minpackaging'] = min ($dimensions['minpackaging'], $product->product_packaging);
}
}
......
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