alfonsovp Posted November 16, 2016 Share Posted November 16, 2016 Buenas, Me gustaría que no se enviase un email automático cada vez que un cliente crea una lista de deseos. Gracias y un saludo, Alfonso Link to comment Share on other sites More sharing options...
w3bsolutions Posted November 17, 2016 Share Posted November 17, 2016 Si no me equivoco, estas líneas son las que tienes que comentar en /modules/blockwishlist/mywishlist.php Mail::Send( $this->context->language->id, 'wishlink', Mail::l('Your wishlist\'s link', $this->context->language->id), array( '{wishlist}' => $wishlist->name, '{message}' => $this->context->link->getModuleLink('blockwishlist', 'view', array('token' => $wishlist->token)) ), $this->context->customer->email, $this->context->customer->firstname.' '.$this->context->customer->lastname, null, strval(Configuration::get('PS_SHOP_NAME')), null, null, $this->module->getLocalPath().'mails/'); La manera correcta de aplicar el cambio y que no se pierda con las actualizaciones es hacer un override (http://nemops.com/override-prestashop-modules-core/#.WC3YHyNh0y5) de esta función del módulo ( assign() ). Saludos. 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