Jump to content

Email automático lista de deseos/wishlist


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...