JohnSmith2k8 Posted June 21, 2011 Share Posted June 21, 2011 Hi to Alli'm new in Prestashop Developer World and need Some Help.i want write my own module and need these item 1. list of product with quantity that soled to customer 2. some information about customer (Email , name)3. send email to customer4. chekc the payment (if payment done successfully)in my research i found the PaymentReturn hook and $cart.my first module template found in internet , please change to these template to displaylist of product with quantity that soled to customer and customer information (email and name) :File : fashion.php <?php class Fashion extends Module { function __construct() { $this->name = 'fashion'; $this->tab = 'Blocks'; $this->version = 1.0; parent::__construct(); // The parent construct is required for translations $this->page = basename(__FILE__, '.php'); $this->displayName = $this->l('Block Fashion'); $this->description = $this->l('Add a fashion block'); } function install() { if (!parent::install()) return false; if (!$this->registerHook('leftColumn')) return false; return true; } /** * Returns module content * * @param array $params Parameters * @return string Content */ function hookLeftColumn($params) { return $this->display(__FILE__, 'fashion.tpl'); } } ?> File:fashion.tpl <!-- fashion module --> Fashion My First Prestashop module <!-- end fashion module --> [/code]Thank a lot fashion.zip Link to comment Share on other sites More sharing options...
JohnSmith2k8 Posted July 2, 2011 Author Share Posted July 2, 2011 over 64 visit and no answere , i need these informationplease help methanks 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