Prestashop Module with controller throws 404
问题 I am developing a module with a controller which is intended to read id_cart and do some actions. But I cannot invoke Controller, it always returns 404 error. Module: <?php if (!defined('_PS_VERSION_')) exit; class CartPortkey extends Module { public function __construct() { $this->name = 'cartportkey'; $this->tab = 'checkout'; $this->version = '1.0.0'; $this->author = 'Me and nobody else'; $this->need_instance = 0; $this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);