// retrocompatibility theme 1.4 + carrier

This commit is contained in:
fBrignoli
2012-05-21 18:09:16 +00:00
parent 9f87d1c71e
commit 79a6c982f4
+2 -2
View File
@@ -155,9 +155,9 @@ class OrderControllerCore extends ParentOrderController
// Check the delivery option is setted
if (!$this->context->cart->isVirtualCart())
{
if (!Tools::getValue('delivery_option'))
if (!Tools::getValue('delivery_option') && !Tools::getValue('id_carrier'))
Tools::redirect('index.php?controller=order&step=2');
else
elseif (!Tools::getValue('id_carrier'))
{
foreach (Tools::getValue('delivery_option') as $delivery_option)
if (empty($delivery_option))