OpenCart compatibility fix