I've found a solution to the problem of previous post looking at Optional Insurance Module ("father" of this module) support thread.
Just put this on top of file (take care of changing brt_brt with your shipping method code):
PHP Code:
if ($_SESSION['shipping']['id'] != 'brt_brt') {
class ot_priority_handling
{
function process() { }
}
} else {
So that file top changes from:
PHP Code:
class ot_priority_handling {
var $title, $output;
to:
PHP Code:
if ($_SESSION['shipping']['id'] != 'brt_brt') {
class ot_priority_handling
{
function process() { }
}
} else {
class ot_priority_handling {
var $title, $output;
and a single:
before last php closing tag at file bottom
Bookmarks