Updated code compatible with OpenCart v1.5.6 .

Updated code compatible with OpenCart v1.5.6 .