修复flexshipping 兼容性
This commit is contained in:
parent
d0c7b43cce
commit
31f42458fe
|
|
@ -140,7 +140,7 @@ class CheckoutService
|
||||||
$weight = 0;
|
$weight = 0;
|
||||||
$selectedProducts = $this->selectedProducts;
|
$selectedProducts = $this->selectedProducts;
|
||||||
foreach ($selectedProducts as $product) {
|
foreach ($selectedProducts as $product) {
|
||||||
$weight += $this->weight->convert($product['weight'], $product['weight_class_id'], $this->config->get('config_weight_class_id'));
|
// $weight += $this->weight->convert($product['weight'], $product['weight_class_id'], $this->config->get('config_weight_class_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $weight;
|
return $weight;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue