Re: Back In Stock Notifications
One more minor update. I've got a directory tree like this:
8 -+-> 9
|
+-> 10
where the categories 9 & 10 have special styling, so I need the path to the products to include something like ... &cPath=8_9&products_id=xx. Here's the change I made to /admin/includes/functions/back_in_stock_notifications_functions.php (line 123):
Original:
Code:
$plain_text_msg .= $products_result->fields['products_name'] . "\n\n" . 'Link: ' .
zen_catalog_href_link(FILENAME_PRODUCT_INFO, 'products_id=' .
$products_result->fields['product_id']) . "\n\n\n";
$html_msg .= '<p class="BackInStockNotificationProduct">' . '<a href="' .
zen_catalog_href_link(FILENAME_PRODUCT_INFO, 'products_id=' .
$products_result->fields['product_id']) . '">' .
htmlentities($products_result->fields['products_name']) . '</a></p>';
My changes:
Code:
$plain_text_msg .= $products_result->fields['products_name'] . "\n\n" . 'Link: ' .
zen_catalog_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . zen_get_product_path($products_result->fields['product_id']) . '&products_id=' .
$products_result->fields['product_id']) . "\n\n\n";
$html_msg .= '<p class="BackInStockNotificationProduct">' . '<a href="' .
zen_catalog_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . zen_get_product_path($products_result->fields['product_id']) . '&products_id=' .
$products_result->fields['product_id']) . '">' .
htmlentities($products_result->fields['products_name']) . '</a></p>';
Re: Back In Stock Notifications
Hi,
Quote:
Originally Posted by
lat9
How is it that customers receive HTML versions of the back-in-stock notification email?
Quote simply if they have their e-mail notification preferences set to HTML they'll get the HTML version as well as the text version.
Quote:
Originally Posted by
lat9
My admin is set up for HTML and the test customer also has email set for HTML, but when I do a test-run of the notification email ... all I get is TEXT.
You must have something set up wrong.. are you sure you have HTML enabled in the Zen Cart admin E-mail Configuration settings? ("Use MIME HTML When Sending Emails").
Unfortunately this isn't a problem with the module so I don't know what else to say other than to say I hope you find the source of your problem!
All the best...
Conor
ceon
Re: Back In Stock Notifications
Hi Dan,
How are you?
Glad you still like the module so much! :)
Quote:
Originally Posted by
brushwoodnursery
I'm interested in a text box that Admin can send a paragraph extra with an update. The text that goes out with the email is fine but lots of times, I'd like to send a little more. Something appropriate to the season (we update about 4x per year).
Down the road, I'd like to be able to select which product notices will go out; check boxes and a Select All box.
I think there's quite a few ways that the marketing potential of the module could be increased. Certainly the ability to add a custom message to each outgoing message would be a useful/welcome addition.
Unfortunately I just don't have time to add any new features to the module. :(
I have a new version of the module ready for release next week with additional language files (French and Italian) and support for more product types so at least that's something to look forward to! :)
Quote:
Originally Posted by
brushwoodnursery
I am willing to support your efforts on each of these.
I appreciate your voice of support.. unfortunately not many others seem to be in the same line of thinking.
All the best...
Conor
ceon
Re: Back In Stock Notifications
Hi, I LOVE this mod - one of my favorites - and am happy to contribute, but I have one small problem. I am using a clean install of the v1.3.8 version of Zen-Cart with the Cherry Zen template mod and a few other stable mods (incl. USPS/Shipping Insurance/Image Handler mods).
Everything works great except for the "Unsubscribe from Back In Stock Notification Lists." link on the Account page. The formatting is completely off - the entire screen shows up Cherry Red and my left/right columns are all skewed. Underneath the mess appears to be a very nice listing of all notifications a person could uncheck to unsubscribe from (which is exactly what I should be seeing).
I scowered this thread to see if any other Cherry Zen zenners were experiencing the same problem, but found nothing. I followed the directions you provided exactly, but I'm not sure where to look. To see the problem in action, simply Register as a new user on my web site - flairbyjdn.com - and then go to My Account and click the link. (I promise I'll remove you from my customer list afterwards.)
Thanks in advance for any help you can provide. I'm almost there.
--John
Re: Back In Stock Notifications
Quote:
Originally Posted by
johnchazz
Hi, I LOVE this mod - one of my favorites - and am happy to contribute, but I have one small problem. I am using a clean install of the v1.3.8 version of Zen-Cart with the Cherry Zen template mod and a few other stable mods (incl. USPS/Shipping Insurance/Image Handler mods).
Everything works great except for the "Unsubscribe from Back In Stock Notification Lists." link on the Account page. The formatting is completely off - the entire screen shows up Cherry Red and my left/right columns are all skewed. Underneath the mess appears to be a very nice listing of all notifications a person could uncheck to unsubscribe from (which is exactly what I should be seeing).
I scowered this thread to see if any other Cherry Zen zenners were experiencing the same problem, but found nothing. I followed the directions you provided exactly, but I'm not sure where to look. To see the problem in action, simply Register as a new user on my web site -
flairbyjdn.com - and then go to My Account and click the link. (I promise I'll remove you from my customer list afterwards.)
Thanks in advance for any help you can provide. I'm almost there.
--John
Hi I had the same problem as you. What I did was to disable my side boxes for my account. After I did that it work perfect.
If you need to know how to do that find /includes/templates/your_template/common/tpl_main_page and on line 42 add whatever side boxes you do not what to show on what page. For example. Hope this helps.
if
Quote:
(in_array($current_page_base,explode(",",'contact_us,conditions,privacy,site_map ,returns,shopping_cart,checkout_shipping,checkout_payment,checkout_confirmation, checkout_success,account,account_back_in_stock_notifications,account_newsletters ,account_notifications,contest')) ) {
$flag_disable_left = true;
$flag_disable_right = true;
Re: Back In Stock Notifications
Hi,
Quote:
Originally Posted by
johnchazz
Hi, I LOVE this mod - one of my favorites - and am happy to contribute
I'm glad you like the module!
Quote:
Originally Posted by
johnchazz
I scowered this thread to see if any other Cherry Zen zenners were experiencing the same problem, but found nothing. I followed the directions you provided exactly, but I'm not sure where to look.
When you say "followed the instructions" you do realise that you can't just copy the template file into your template overrides folder and it will work with a custom template?
You must copy the new Back In Stock Notifications HTML modifications from the sample template file to a copy of *your* template file and put this in the overrides directory. If you try and mix the Cherry Template with the standard template by simply putting the sample modified template file from the BISN distribution download it may well cause the messed up layout you are seeing.
Thjere's a bit more information about this in the section of the FAQs "Some of the template files for the site have already been modified. How can the Back In Stock Notifications code be added?".
Hope that helps!
All the best...
Conor
ceon
Problem with Back In Stock Notifications Account template
Hi,
Quote:
Originally Posted by
countrycharm
Hi I had the same problem as you.
I found a problem with the file tpl_account_back_in_stock_notifications_default.php
It had an unclosed div tag which was the cause of the problems you have both had.. sorry about that!
A fixed version of the template file will be included in version 2.4.1, out this week,
Sorry about the bug!
All the best...
Conor
ceon
Re: Back In Stock Notifications
Quote:
Originally Posted by
countrycharm
Hi I had the same problem as you. What I did was to disable my side boxes for my account. After I did that it work perfect.
If you need to know how to do that find /includes/templates/your_template/common/tpl_main_page and on line 42 add whatever side boxes you do not what to show on what page. For example. Hope this helps.
if
Thank you for posting this. I see where I could turn off my sideboxes to fix the formatting problem, however this is a "band aid" approach. Conor already fixed the problem for me and is going to put the "bug" fix into his next rev for Cherry Zen zenners like myself. Thanks Conor!!!!!!! :clap:
(I'm assuming he will post the fix here shortly.)
Re: Back In Stock Notifications
Quote:
Originally Posted by
johnchazz
Thank you for posting this. I see where I could turn off my sideboxes to fix the formatting problem, however this is a "band aid" approach. Conor already fixed the problem for me and is going to put the "bug" fix into his next rev for Cherry Zen zenners like myself. Thanks Conor!!!!!!! :clap:
(I'm assuming he will post the fix here shortly.)
Thanks Conor for the fix I looked at the tpl_account_back_in_stock_notifications_default.php file and did notice you left off the </div> closing tag at the bottom of the file. It fix mine also. Thank you again.
Re: Back In Stock Notifications
Hi,
Quote:
Originally Posted by
countrycharm
Thanks Conor for the fix I looked at the tpl_account_back_in_stock_notifications_default.php file and did notice you left off the </div> closing tag at the bottom of the file. It fix mine also. Thank you again.
Yes, such a simple, silly omission! I'm quite surprised that it hadn't affected anyone else's template since the module distribution was first released in July 2008! Or that no-one had mentioned it until now! (Pity you didn't say to me when you noticed a problem or I could have fixed it sooner.. ah well, it's fixed now! :) ).
All the best...
Conor
ceon