Ага, спасибо за фидбек (вчера глянул на скорую руку набросал) :
попробуйте в добавок к первому:
открыть:
modules\onepagecheckoutps\override\controllers\front\ParentOrderController.php
найти:
Код:
eval(gzinflate(base64_decode("FZi3EqTYEkT/Za2ZwECreBaaRkOjnQ201pqvf70u3q3KyjxJcSb9n+ptxrJP9uJPmmwFgf2bF9mUF3/+4eMC5Rc3ErsQjBPlEGxOVHPeZeX2tLLuQ5LoSMCA89keMaPz4ngbF+xA2BisWEHPW4EQhOlK8MH27Zk2EARZgCF17bSYVq6iCOc1EgzqkNJH7jMIaioYHc+x6YPrs0jX+cnn8Iam7EvlZEVgzEHLuLjhfTT0Jz/VTbW5cK+9tN85tqHacnVTap++V3Vvq/EkN1PNBRS8Oyy8oTz5zMUC5NSqcCsa93e6T2vvz89GmXhg6XgZ43jGd5wOnvyi0q2bCirHcFkjOaX8GqFPOInokFo0WwQOr/2JP1LxhTjZ97w8l0LwLFZ4PxZSV/HZg/rsvoW4+tj4AflYadAg0V7c3utFlK+jAm1ajJylOnqgwvarfA0BTa5dqwgmdsxmMb9AqypfkuWO58kCNIs+Dm9HMonUNwCQX1EHOsiU0MTdnhPQsF6Be7Nu4xeXPFWwCnkBvghrSy90AXYoMDw8S+29RDzW29DLmPTBhy5mnwGXKZ0LR7qOQifeegRJz7iisxDMyS8thbFtgnf+AXuVwJPPyUDEeTpBBRk7Bj9dZiVfDcd1dgyKfmBLHR/ccVopSNSnEW2DQ9aWfHq3h2TiYVzpZPeVj9fbIe8Fuek9RcJUW5qFUcScs8ydmCRO3SqkHcPQ7s4Yp5/Ij/4UlDNqHaTmS7cN3GTs/W5g85uJBcH3GJb5cWxVdTlly+WnId7xPsktjIGHpsa4N0A6xiZMMotTjb1S/fpOS2XN2z20t5CiijxSA47unyV2qM9cGgm4JVRQFm6k0jg9q1zkB7T5mfpWeUydm9dhXsbSWg0pr4OVyI5iUxC76Poctl6h0X2WiKvH40QKRYceb849J9e56dc+OU9j35g5jrqjq7f8adhz9DxsUqngB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zo8A366bxFMgc8DkplqoFtBp0o+QFjTZnWaxl5y/hC8T5aT9bOjsNPgfvdBAH2ov9ne5CnD/myvxWCe6z/vk+I40cgGV3LFD9KBj9ROXfW0jLm8yIH6pykIo4c0ELAUHs76C/2+AeynZ/YKE4u9P8Uu3B2YLNA21ksyNmU2e1FOTjmc9WKoZJsKcHbQm7V4PxENnhm/78Z/YSprfNPHPr4XU2Sn6TyGxEjgnF2e22ZZ6zMEIc+CrhAiIXAifew3pzS5cErYG5ClC3CUs8B9sGLNWr70RwpDU5CZb/lcWTnJeXxL5Bo8qvMWpR8M+fhObiOm6me4n1OoOrGghd7leRxOnwEz0jCc4t0fAbxVkgtnTqWINXrbj/q3+eYIET8amNWX24YW92QOtRwDxVANutqUJkbH4aCyqvydV2r7pR7HbLANS7CcB4Vhv1X3oaLs8nmWMeSQ+UUt4LnmUcY/yeGdtE8HkP0YLpFcqm7tkSW5BbFGxO/GsTNfIqK8ZKsk7/nlCIA2YDbenUR0d0+p+heP9Uq9tn4g82iEVelsX/OlPKfsnhZ6yfLxMB2WekBJWIAZNzywTGfJ8P2dyPskb8gi6x8Ezr7mNh0rVFQsXYo4uFUrgG3biDX3ncgqsWxLiZN27DnbOHhZydacruIfEzON/Gm9H2WQP+sogf49hzmZUpmHx8vVVSCNNkbfQbN1KkBeb93FD2rrK278eVbpmKbeh0QIx/6Ctea8Hany20JzuMMt57TN+saQ3N61FP4nF/OA9/0uT3GITp2C4eR6v2bZUTB3TnT4d1MytenKWo95QtK9iqfyJXzFH9Sy89siO34MDTsrqGyFucujOec0r/y4EWJpieDLvWfRr8FIV2hRXcUw1Vwi5EuDIEjSKEix//z9+/d//wc=")));
заменить на:
Код:
$link = new Link();
$mobile_enabled = $this->context->getMobileDevice();
if (Tools::getValue('controller') == 'order' && Module::isInstalled('onepagecheckoutps') && Module::getInstanceByName('onepagecheckoutps')->active && !$mobile_enabled){
$summary = Configuration::get('OPC_REDIRECT_DIRECTLY_TO_OPC');
if ($summary && Tools::isSubmit('step'))
Tools::redirect($link->getModuleLink('onepagecheckoutps', 'main'));
if (!$summary)
Tools::redirect($link->getModuleLink('onepagecheckoutps', 'main'));
}
parent::init();
отпишитесь плз после теста, а то у самого нет времени тестить ..
п.с. я все таки хочу купить последнюю версию, если там механизм защиты не изменится, то как раз руку набьем как его правильно нулить )