colissimo module

This commit is contained in:
Etienne Roudeix
2013-11-14 11:53:29 +01:00
parent 48409c29a9
commit fa127ed4f0
6 changed files with 104 additions and 23 deletions

View File

@@ -84,9 +84,6 @@ class OrderController extends BaseFrontController
}
/* get postage amount */
/*$moduleReflection = new \ReflectionClass($deliveryModule->getFullNamespace());
$moduleInstance = $moduleReflection->newInstance();*/
$moduleInstance = $this->container->get(sprintf('module.%s', $deliveryModule->getCode()));
$postage = $moduleInstance->getPostage($deliveryAddress->getCountry());