lebachhoangan Posted February 26, 2019 Share Posted February 26, 2019 Hello, I try create new custom module, but module not in the Shipping & Logistics tab, it's in the Other tab. Here my code: public function __construct() { $this->name = "test"; $this->tab = "shipping_logistics"; $this->version = "1.0.0"; $this->author = "test"; $this->need_instance = 0; $this->secure_key = Tools::encrypt($this->name); $this->bootstrap = true; $this->displayName = $this->l('test'); $this->description = $this->l('test'); parent::__construct(); } Can anyone help me? Thanks Link to comment Share on other sites More sharing options...
Vylinas Posted February 27, 2019 Share Posted February 27, 2019 (edited) Same problem for me too. And I see your parent::__construct() under a $this->l(), it's need to be over. docs : http://doc.prestashop.com/pages/viewpage.action?pageId=3801216 Edited February 27, 2019 by Vylinas (see edit history) Link to comment Share on other sites More sharing options...
OctagonMD Posted February 28, 2019 Share Posted February 28, 2019 I think those tabs are reserved for PrestaShop official modules. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now