Jump to content

back in stock customer email alert does't work


Recommended Posts

Hi All,

I have a problem getting the email alert for back in stock emails to work.
All my emails for other functions work fine (nearly out of stock alert, new order received, customer emails about new order and order overview etc.), but this one doesn't.
Also when a product is out of stock and the customers fills his email address in to get the notification later, after pushing the button, nothing happens. Also in 'my account' no notification is mentioned.

What can be the problem here?

thanks in advance!
Regards,
Manuel

  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...

In product.tpl in the mailalerts module folder, replace
url: '{$base_dir}modules/mailalerts/mailalerts-ajax_add.php',
by
url: '{/literal}{$base_dir}{literal}modules/mailalerts/mailalerts-ajax_add.php',

that should fix it, Without the literals, $base_dir was seen as a smarty thing :)

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...