Re: Back In Stock Notifications
Hi,
Quote:
Originally Posted by
bubbaole
thanks, but the email sent have no body. is an empty email. I think i have to modify the .txt files in the email directory of the store. but i don't know how...
If you can show me your files so i can translate it in italian.
thanks for reply!
If you read the installation instructions in the documentation you'll see the list of files the module uses.
You'll probably have to create Italian files for the e-mail files. I think you maybe then put them in email/it (IT for Italian). It shouldn't be any different from adding e-mail templates for any other module as the Back In Stock Notifications module simply uses the standard zen_mail function.
All the best...
Conor
ceon
Re: Back In Stock Notifications
Hi,
Forgot to say that I was talking about the HTML e-mail templates above.
The text version of the "template" e-mails are simply stored in the "email" directory as
email_template_back_in_stock_notification.txt
email_template_back_in_stock_notification_subscribe.txt
They cannot be overridden with language-specific files (at this time, in the current version of the module).
All the best...
Conor
ceon
Re: Back In Stock Notifications
thanks thanks thanks!! you are rigt! i've not crerated the email/it directory, so the email function didn't work!
Now all work fine. Great mod !!
Thanks again for your help! :clap:
Re: Back In Stock Notifications
Great mod...
Forgive me, trying to change the "From" email to a different address and I found your below statement, but I'm just not sure what you are saying...:(
Exactly what and where do I need to change?
Thanks so much!
Quote:
Originally Posted by
conor
Hi,
You'll have to modify the file
includes\modules\pages\back_in_stock_notification_subscribe\header_php.php
changing the EMAIL_FROM to something else in the e-mail commands.
All the best...
Conor
ceon
Re: Back In Stock Notifications
Hi,
Quote:
Originally Posted by
exeter_acres
Exactly what and where do I need to change?
Did you look in the file
includes\modules\pages\back_in_stock_notification_subscribe\header_php.php
and search for "EMAIL_FROM".. it is a define used in the call to the zen_mail function. It is the address from which the subscriptions notifications come. Change it to your desired "From" e-mail address.
If you don't understand the above I'm afraid you don't have the necessary understanding to update the file and should get your developer to make the change for you.
All the best...
Conor
ceon
Re: Back In Stock Notifications
There is no email address in that file....
Just remove
"EMAIL_FROM" and put in the address wanted?
and "EMAIL_FROM" is in two different places in the file
or do you mean that the owner email needs to be changed in the Zen Admin area?
Re: Back In Stock Notifications
Hi,
Quote:
Originally Posted by
exeter_acres
There is no email address in that file....
Yes, I know, it's bad form to hard code e-mail addresses into files (and an impossibility for a module which is publicly distributed!).
I'm sorry but I'm not here to teach you PHP, this is getting off topic!
Quote:
Originally Posted by
exeter_acres
Just remove
"EMAIL_FROM" and put in the address wanted?
Yes, remember to put the address in quotes or you'll get a parse error.
Quote:
Originally Posted by
exeter_acres
and "EMAIL_FROM" is in two different places in the file
That's right.
Quote:
Originally Posted by
exeter_acres
or do you mean that the owner email needs to be changed in the Zen Admin area?
The EMAIL_FROM is a define which is populated with the store e-mail address in the admin area, that's how the module is configured with the sending e-mail address.
I hope you don't mind me saying but this is way off being a normal support item now, so hopefully the above is all you need to know to do what you want to do. If not, please consult a PHP developer for more information on how these things work.
All the best...
Conor
ceon
Re: Back In Stock Notifications
I'm sorry you feel this is beyond your support... as I thought it was a pretty basic functionality question.....
Re: Back In Stock Notifications
I did get it to work....
thanks
Re: Back In Stock Notifications
Hi,
I'm glad you got it to work as desired.
Quote:
Originally Posted by
exeter_acres
I'm sorry you feel this is beyond your support... as I thought it was a pretty basic functionality question.....
The answer was given previously, it's just you didn't know what to do with it so I had to answer programming questions. I hope you can understand that that goes beyond a "functionality question".
Nevertheless the main thing is you've got things working!
Have a good weekend! :)
All the best...
Conor