function __construct($config = array()) { parent::__construct($config); if (empty($this->helpers)) { $this->helpers = array(); } Citruscart::load("CitruscartHelperProduct", 'helpers.product'); $this->helpers['product'] = new CitruscartHelperProduct(); }