tatamimi Posted April 10, 2015 Share Posted April 10, 2015 Hello!I'm using blockwishlist module. When the customer make a new wishlist, the e-mail "[store name ]Your wishlist's link " is sent to the customer.I dont need that so I want to disable the wishlist automatic mail (after making a wishlist) but I can't find how to. If someone knows that way, please help me!!Thank you in advance. note: the version of prestashop is 1.6.0.14 Link to comment Share on other sites More sharing options...
maladal Posted April 29, 2015 Share Posted April 29, 2015 Did you solve this problem? Link to comment Share on other sites More sharing options...
Havoc87 Posted May 22, 2015 Share Posted May 22, 2015 Looking for this option too... Any help appreciated! Link to comment Share on other sites More sharing options...
aliaspt Posted August 19, 2015 Share Posted August 19, 2015 Same thing! Need to disable this silly email. Help please Link to comment Share on other sites More sharing options...
tanasi Posted August 31, 2015 Share Posted August 31, 2015 Anybody?! I am searching for this option too.. Link to comment Share on other sites More sharing options...
srimal Posted September 22, 2015 Share Posted September 22, 2015 Remove this code segment from modules/blockwishlist/sendwishlist.php Mail::Send( $context->language->id, 'wishlist', sprintf(Mail::l('Message from %1$s %2$s', $context->language->id), $customer->lastname, $customer->firstname), array( '{lastname}' => $customer->lastname, '{firstname}' => $customer->firstname, '{wishlist}' => $wishlist['name'], '{message}' => $context->link->getModuleLink('blockwishlist', 'view', array('token' => $wishlist['token'])) ), $to, $toName, $customer->email, $customer->firstname.' '.$customer->lastname, null, null, dirname(__FILE__).'/mails/' ); Link to comment Share on other sites More sharing options...
wiseprt Posted September 7, 2017 Share Posted September 7, 2017 Hello there, This is not working for v. 1.6.1 Even when i totally rename the file sendwishlist.php, still the system send emails. Any other suggestions? Link to comment Share on other sites More sharing options...
Scully Posted September 7, 2017 Share Posted September 7, 2017 (edited) Check /modules/blockwishlist/controllers/front/mywishlist.php At appx. line 97 and report your findings. Edited September 7, 2017 by Scully (see edit history) Link to comment Share on other sites More sharing options...
wiseprt Posted September 7, 2017 Share Posted September 7, 2017 hi @Scully, I just comment out the following code and the issue is solved! 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/'); Thank you Best Regards Link to comment Share on other sites More sharing options...
Scully Posted September 7, 2017 Share Posted September 7, 2017 Excellent. Thank you for the feedback. 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