Zen Follower
- Join Date:
- Apr 2007
- Posts:
- 138
- Plugin Contributions:
- 0
Back In Stock Notifications
Never mind. Didn't know that was a config setting.
Views: 71,748
Zen Follower
Never mind. Didn't know that was a config setting.
New Zenner
Would this module work with the Comstock template ???
New Zenner
I have installed all the files. When I test out the module, I get the following error:
ERROR: The email template file for (DIR_FS_EMAIL_TEMPLATESemail_template_) or (DIR_FS_EMAIL_TEMPLATESemail_template_back_in_stock_notification_subscribe.html) cannot be found.
What am I doing wrong, and what is the fix for this ???
New Zenner
This error is showing up at the top of the products page that you wanted to notifcation email for.
Also, the 'click here' link is not highlighted, what is the fix for that??
My website is:
RChelicraft.com/store
Please take a look and see the error that I am talking about.
New Zenner
I have decided not to use this module. How do I delete the "Back In Stock Notifications" link from the Configuration Menu in the Zen Cart software ??
Passed
Hi,
kramerr:
I have decided not to use this module. How do I delete the "Back In Stock Notifications" link from the Configuration Menu in the Zen Cart software ??
Sounds like you messed up when installing Zen Cart and the module.. the DIR_FS_EMAIL_TEMPLATES define is a standard Zen Cart define. The fact that it isn't being loaded on your site means you've messed up your configuration file.
Nevertheless, to remove the configuration options from the database just run the following SQL commands:
SELECT @bisn_id:=configuration_group_id
FROM configuration_group WHERE configuration_group_title="Back In Stock Notifications";
DELETE FROM configuration WHERE configuration_group_id=@bisn_id;
DELETE FROM configuration_group WHERE configuration_group_id=@bisn_id;
All the best...
Conor
ceon
New Zenner
Hi!
I'm a complete newbie in Zencart and I'm really not an expert on php but I usually can manage with the add ons . I found this GREAT add on and I really apreciate this contribution. Everything works fine for me except one error I get after the subscription when I'm using the spanish language. We have english-spanish customers.
ERROR: The email template file for (/mnt/web5/22/96/52112496/htdocs/email/sp/email_template_) or (/mnt/web5/22/96/52112496/htdocs/email/sp/email_template_back_in_stock_notification_subscribe.html) cannot be found.
On the includes/languages folder I copied the same files from the folder "english" to the folder "spanish" I was not sure of the effect of this, but certainly something is not really working with the emails.
here is a link to the site:
http://www.crazyinlove.es/index.php?main_page=product_info&cPath=1&products_id=3
Select language SPANISH
The question is simple, can I correct this error and use this add on in Spanish? I will translate the rest of the files for myself.
Second question, Is there any other side effect I should consider?
Thank you very much!!!!
Passed
Hi,
Alex0013:
/mnt/web5/22/96/52112496/htdocs/email/sp/email_template_back_in_stock_notification_subscribe.html
You need to create the above e-mail template file.
Alex0013:
On the includes/languages folder I copied the same files from the folder "english" to the folder "spanish" I was not sure of the effect of this, but certainly something is not really working with the emails.
That was the right thing to do.. the thing you missed out is creating a spanish version of the e-mail files as well.
Create the folder /email/sp inside your /email folder then copy the Back In Stock Notification templates there and translate them as required.
Glad you like the software!
All the best...
Conor
ceon
Totally Zenned
Well,
I just notice today (because a customer brought it to my attention) that the back in stock doesn't show for product type = music.
Take a look at these two pages:
The first one is product general:
As you can see things look exactly the way they are suppose to. The link and the form is loaded correctly.
Now second example is for product music type:
As you can see by viewing the source code it is not loaded at all.
Is this mod suppose to be product type specific or am I missing something?
Thanks!
Passed
Hi,
BlessIsaacola:
Is this mod suppose to be product type specific or am I missing something?
Currently the module only supports the standard product type. It does not support any of the other product types.
Hope that helps!
All the best...
Conor
ceon
New Zenner
Hi
Thank you for your contribution ZenCart
After installing, there are 2 problems that I do not understand:
1 - Warning: file_get_contents(/web/biolavie/www/email/email_template_back_in_stock_notification.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /web/biolavie/www/admin/includes/functions/back_in_stock_notifications_functions.php on line 325
2 - The "Back" button will not go into the "My Acompte" and the "update" does nothing.
Thank you for your help
Best regards
Patrick
Passed
Hi Patrick,
Glad you like the software. I'm sorry you've had difficulty setting it up though!
patrickuzu:
1 - Warning: file_get_contents(/web/biolavie/www/email/email_template_back_in_stock_notification.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /web/biolavie/www/admin/includes/functions
You've forgotten to upload the files in the e-mail directory. Make sure you upload the file:
/web/biolavie/www/email/email_template_back_in_stock_notification.txt
patrickuzu:
2 - The "Back" button will not go into the "My Acompte" and the "update" does nothing.
I'm afraid I don't know what you've done wrong there, sorry.
All the best..
Conor
ceon
Totally Zenned
conor:
Hi,
Currently the module only supports the standard product type. It does not support any of the other product types.
Hope that helps!
All the best...
Conor
ceon
Thank you so much for the clarification. That's probably something useful to put in the read me. I am sure there are other store owners that use more than one of the built in product types.
Thanks for the great mod!
Passed
Hi,
BlessIsaacola:
Thank you so much for the clarification. That's probably something useful to put in the read me. I am sure there are other store owners that use more than one of the built in product types.
Thanks for the great mod!
Glad you like the module and I understand what you are saying. If/when I ever release a new version I'll update the docs then. If anyone ever needs more product types supported that's a possibility as well. There are no plans for that at this time though.
All the best...
Conor
ceon
New Zenner
In theory, could you merge the files supplied by the additional product type, with the same files in this mod using comparison software?
Or do other files in this mod make reference to the general product type?
Faz
Passed
Hi Faz,
chabbu:
In theory, could you merge the files supplied by the additional product type, with the same files in this mod using comparison software?
That is one of the things that would have to be done. Obviously that wouldn't be difficult. I just don't have time to do it at the minute!
chabbu:
Or do other files in this mod make reference to the general product type?
Off the top of my head, notifiers/observers would also have to be set up.
Hope that helps!
All the best...
Conor
ceon
New Zenner
Hello,
First conor: Thanks for the module and the time you invested.
I'm running a german website. The module works fine so far. The only thing i can't get to work is the special characters in (Text-) E-Mails - e.g. the ö and ä and ü
Miss I something? :huh:
Thanks
Olaf
Passed
Hi Olaf,
olafkarsten:
First conor: Thanks for the module and the time you invested.
Thanks for letting me know it's appreciated! :)
olafkarsten:
I'm running a german website. The module works fine so far. The only thing i can't get to work is the special characters in (Text-) E-Mails - e.g. the ö and ä and ü
Miss I something? :huh:
Hmm, I have only tested the e-mails the module sends with english words myself. I am not sure why it wouldn't work with special characters, obviously there's full UTF support for the HTML files. Is it text e-mails only? HTML e-mails work fine?
If so, I'm afraid that I'll have to say for the minute that special characters are possibly unsupported in text e-mails.
Sorry if that's bad news!
All the best...
Conor
ceon
New Zenner
Hi Conor,
I didn't test html mails, yet. But all the other System Mails from Zen-Cart comes in plain/text utf8 and display all special characters.
I'm not a programmer. But, I'll try to compare the code, which generates the e-mails. I guess anywhere there is the answer. :-)
Regards
Olaf
Passed
Hi Olaf,
olafkarsten:
I didn't test html mails, yet. But all the other System Mails from Zen-Cart comes in plain/text utf8 and display all special characters.
Just spent 15 minutes there testing this out in various encodings and the module is working perfectly.
It is Zen Cart which sets the encoding of the e-mails. With the Zen Cart UTF-8 module installed, e-mails sent on our test server have the following header:
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
Here's an example of some text I just added into the admin languages definitions file for the Back In Stock Notifications module (admin/includes/languages/english/back_in_stock_notifications.php):
define('EMAIL_GREETING', 'DearϵЖ ä ü %s,ϵЖ');
The e-mail came through starting with:
DearϵЖ ä ü Conor Kerr,ϵЖ
Which as you can see is perfect.
You may have not saved your language file in UTF-8 format, or if you are adding text directly to the e-mail file, you may not have set it to be UTF-8 either (email_template_back_in_stock_notification.txt).
So this definitely works.. hopefully the above is enough to get this sorted for you. Otherwise I'm afraid there's nothing I can do here.
All the best...
Conor
ceon
Tell staff why this post should be reviewed.