Fixed postage amount reset.

This commit is contained in:
Franck Allimant
2014-04-17 20:50:35 +02:00
parent 115d86d82e
commit 1603a89cff
4 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ class Order extends BaseAction implements EventSubscriberInterface
// Reset postage cost if the delivery module had been removed
if ($deliveryModuleId <= 0) {
$this->setPostage(0);
$order->setPostage(0);
}
$event->setOrder($order);

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

View File

@@ -7,7 +7,7 @@ AddDefaultCharset UTF-8
# If thelia is installed in a subdirectory (e.g., thelia2)
# define the RewriteBase below to get a proper URL rewriting
# RewriteBase /thelia2
RewriteBase /thelia2
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d