Hi conor,
As we near sending out our first notification I started looking at customizing the notify email...
I may have been very dense today, but it look me ages to finally find out where the words/text of the notify email ("Please check it out before it goes out of stock again!", etc.) are defined- and they weren't anywhere I expected them to be, given the location of the subscribe and unsubscribe email text defines! I definitely didn't expect to find them in admin...
The defines are here:
admin/includes/languages/english/functions/back_in_stock_notifications.php
I wonder if this could be added to the documentation under configuration? Or maybe it is obvious to everyone else...
I also modified code to add a closing line (I called $EMAIL_CLOSING) to the end of the email, since we wanted something to say "PLEASE NOTE: This is a one-time notification. If a product goes out of stock, you will need to sign up again to be notified when it returns." A bit of a bother, but it will hopefully help the customers...
Also, it seems like perhaps $EMAIL_DISCLAIMER (already defined) at the end of the email should be standard at the end of the distribution email template for html and txt? It isn't there now on the standard distribution template, and I only knew to add it because I was looking at the code...
Also, if I may request - an option to turn off the "powered by zen cart" portion of the $EMAIL_DISCLAIMER would be helpful I think. (Yes, I just commented it out in the code).
And FYI, I added an . "\n" to add a line break after each product listing in the html email on about line 132 of
admin/includes/includes/functions/back_in_stock_notifications_functions.php
to make a cleaner email and avoid the super-long line it was producing.
I can send you what I did if it is of any help... Although I would guess my mods are pretty obvious...
Thank you- your module has been a life-saver, and I have convinced our store-client, who is super-happy, to make a donation!


Reply With Quote

