Jump to content

[Résolu] notification par mail non envoyer a l administrateur du site


Recommended Posts

bonjour,

voila je viens de changer l'adresse mail dans /module/mailalert/product.tpl

mais je ne reçois toujour pas les mail de commande des clients.

si quelqu un a une solution.

merci d'avance.

voila ma modif

<!-- MODULE MailAlerts -->
{if $email}
<input type="text" id="oos_customer_email" name="customer_email" size="20" value="patrick.mariot@free.fr" class="mailalerts_oos_email"><br />
{/if}
{l s='Notify me when available' mod='mailalerts'}
[removed]
oosHookJsCodeFunctions.push('oosHookJsCodeMailAlert');

function clearText()
{ldelim}
if ($('#oos_customer_email').val() == 'patrick.mariot@free.fr')
$('#oos_customer_email').val('');
{rdelim}

function oosHookJsCodeMailAlert()
{ldelim}
$.ajax({ldelim}
type: 'POST',
url: '{$base_dir}modules/mailalerts/mailalerts-ajax_check.php',
data: 'id_product={$id_product}&id;_product_attribute='+$('#idCombination').val(),
success: function (msg)
{ldelim}
if (msg == '0')
{ldelim}
$('#mailalert_link').show().attr('href', 'modules/mailalerts/mailalerts-add.php?id_product={$id_product}&id;_product_attribute='+$('#idCombination').val());
$('#oos_customer_email').show();
{rdelim}
else
{ldelim}
$('#mailalert_link').hide();
$('#oos_customer_email').hide();
{rdelim}
{rdelim}
{rdelim});
{rdelim}

function addNotification()
{ldelim}
$.ajax({ldelim}
type: 'POST',
url: '{$base_dir}modules/mailalerts/mailalerts-ajax_add.php',
data: 'id_product={$id_product}&id;_product_attribute='+$('#idCombination').val()+'&customer;_email='+$('#oos_customer_email').val()+'',
success: function (msg)
{ldelim}
if (msg == '1')
{ldelim}
$('#mailalert_link').hide();
$('#oos_customer_email').hide();
{rdelim}
{rdelim}
{rdelim});
return false;
{rdelim}
[removed]
<!-- END : MODULE MailAlerts -->

Share this post


Link to post
Share on other sites

tout simplement en installant le module.

Alertes email v2.2
Envoit des notifications par e-mail aux clients et marchands

et en le configurant

des fois je me mettrais des baffes.

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More