Re: Ceon Back In Stock Notifications 3.0.0
hello there ,i just read all the thread (o.k almost all of it ) and i couldn't find answers.
there is 2 problems.
1.when you click on (To be notified when this product is back in stock please click here.) so it stay on the same page and the url look like that (-tr-073-p-17948.html#back_in_stock_notification_form
2.when i submit the form by clicking the notify me button so from here on nothing working ,there isn't any new in database ,and the no notification that i submit the form.
please help .
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
Originally Posted by
Scott Benton
hello there ,i just read all the thread (o.k almost all of it ) and i couldn't find answers.
there is 2 problems.
1.when you click on (To be notified when this product is back in stock please click here.) so it stay on the same page and the url look like that (-tr-073-p-17948.html#back_in_stock_notification_form
2.when i submit the form by clicking the notify me button so from here on nothing working ,there isn't any new in database ,and the no notification that i submit the form.
please help .
What happens if you disable your 'SEO' rewriting?
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
Originally Posted by
picandnix
What happens if you disable your 'SEO' rewriting?
thanks a lot for your replay.
this is a very good question, but i dont have answer for ,because i just understood that i can't disable the Ultimate SEO in using.
every time i try to change Enable SEO URLs? to false so it don't let me and return to true.
but let say it because of the rewriting , what can i do to fix this issue?
thanks again.
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
Originally Posted by
dee_d_lady
Hi,
I have the same problem. Did you manage to solve it? I have v3.2.0 installed on ZenCart 1.5.1. Also using CEON URI mapping. The link in notification e-mails looks like this: /category/product
Can you help?
Thank you in advance.
Still trying to track this down.
I see in the admin/includes/functions/back_in_stock_functions.php it builds the 'STORE_URL' and 'PRODUCT_DETAIL' variables with the following function:
function sendBackInStockNotificationEmail($name, $email, $plain_text_msg, $html_msg,
$more_than_one = false, $test_mode = false)
{
global $messageStack, $ENABLE_SSL;
$plain_text_msg_parts['EMAIL_GREETING'] = sprintf(EMAIL_GREETING, $name);
$html_msg_parts['EMAIL_GREETING'] =
htmlentities(sprintf(EMAIL_GREETING, $name), ENT_COMPAT, CHARSET);
if (!$more_than_one) {
$plain_text_msg_parts['EMAIL_INTRO_1'] .= EMAIL_INTRO_SINGULAR1;
$plain_text_msg_parts['EMAIL_INTRO_2'] .= EMAIL_INTRO_SINGULAR2;
$html_msg_parts['EMAIL_INTRO_1'] .= EMAIL_INTRO_SINGULAR1;
$html_msg_parts['EMAIL_INTRO_2'] .= EMAIL_INTRO_SINGULAR2;
} else {
$plain_text_msg_parts['EMAIL_INTRO_1'] .= EMAIL_INTRO_PLURAL1;
$plain_text_msg_parts['EMAIL_INTRO_2'] .= EMAIL_INTRO_PLURAL2;
$html_msg_parts['EMAIL_INTRO_1'] .= EMAIL_INTRO_PLURAL1;
$html_msg_parts['EMAIL_INTRO_2'] .= EMAIL_INTRO_PLURAL2;
}
$ssl_status = "NONSSL";
if ($ENABLE_SSL) {
$ssl_status = "SSL";
}
$plain_text_msg_parts['STORE_URL'] = HTTP_CATALOG_SERVER . DIR_WS_CATALOG;
$plain_text_msg_parts['STORE_ACCOUNT_URL'] =
zen_catalog_href_link(FILENAME_ACCOUNT, '', $ssl_status);
$plain_text_msg_parts['STORE_CONTACT_URL'] =
zen_catalog_href_link(FILENAME_CONTACT_US, '', 'NONSSL');
$html_msg_parts['STORE_URL'] = HTTP_CATALOG_SERVER . DIR_WS_CATALOG;
$html_msg_parts['STORE_ACCOUNT_URL'] = zen_catalog_href_link(FILENAME_ACCOUNT, '', $ssl_status);
$html_msg_parts['STORE_CONTACT_URL'] = zen_catalog_href_link(FILENAME_CONTACT_US, '', 'NONSSL');
if (!$more_than_one) {
$plain_text_msg_parts['PRODUCTS_DETAIL_TITLE'] = PRODUCTS_DETAIL_TITLE_SINGULAR;
$html_msg_parts['PRODUCTS_DETAIL_TITLE'] = PRODUCTS_DETAIL_TITLE_SINGULAR;
} else {
$plain_text_msg_parts['PRODUCTS_DETAIL_TITLE'] = PRODUCTS_DETAIL_TITLE_PLURAL;
$html_msg_parts['PRODUCTS_DETAIL_TITLE'] = PRODUCTS_DETAIL_TITLE_PLURAL;
}
$plain_text_msg_parts['PRODUCTS_DETAIL'] = $plain_text_msg;
$html_msg_parts['PRODUCTS_DETAIL'] =
'<table class="product-details" border="0" width="100%" cellspacing="0" cellpadding="2">' .
$html_msg . '</table>';
Contents of the email template that gets sent out:
<p>$EMAIL_GREETING</p>
<p>$EMAIL_INTRO_1</p>
<p>$EMAIL_INTRO_2</p>
<fieldset>
<legend>$PRODUCTS_DETAIL_TITLE</legend>
$PRODUCTS_DETAIL
</fieldset>
In testing, I prepended $STORE_URL to $PRODUCT_DETAIL and sent a test message.
It sent me an html email, formatted properly, but laid out like this:
www.domain.com
/category/subcategory/product
Both of which are html links.
So getting closer, but I don't want to hack up this module when it is something else that 'broke' it, not the module itself.
I am missing where it actually 'creates' the <a href= $STORE_URL . $PRODUCT_DETAIL > that goes out in the email.
Re: Ceon Back In Stock Notifications 3.0.0
Quote:
Originally Posted by
Scott Benton
hello there ,i just read all the thread (o.k almost all of it ) and i couldn't find answers.
there is 2 problems.
1.when you click on (To be notified when this product is back in stock please click here.) so it stay on the same page and the url look like that (-tr-073-p-17948.html#back_in_stock_notification_form
2.when i submit the form by clicking the notify me button so from here on nothing working ,there isn't any new in database ,and the no notification that i submit the form.
please help .
I am having the same problem pretty much. The link is showing up fine but when I click the link it just adds #back_in_stock_notification_form to the end of the link and nothing happens.
Re: Ceon Back In Stock Notifications 3.0.0
Never mind, I'm an idiot. Simple error in copying code.
Re: Ceon Back In Stock Notifications 3.0.0
I am upgrading from ZC 1.3.9h to ZC 1.5.1. Back in Stock Notifications has been an excellent tool in 1.3.9h. "Ceon Back in Stock Notifications" appears as an entry on the Admin menu under Catalogue and seems to work. Should there be an entry under Admin Configuration to Enable/Disable the plugin as occurred in the previous version?
Also when the modified core file, 1.5.0\includes\functions\functions_general.php is used it conflicts with password_funcs.php.
[30-Nov-2013 21:27:28] PHP Fatal error: Cannot redeclare zen_create_random_value() (previously declared in (snip)\includes\functions\functions_general.php:613) in (snip)\includes\functions\password_funcs.php on line 86
Are there known problems with ZC1.5.1?
Re: Ceon Back In Stock Notifications 3.0.0
EDIT:... nevermind, figured it out.
Re: Ceon Back In Stock Notifications 3.0.0
Re upgrading from ZC 1.3.9h to ZC 1.5.1.
The install works correctly on a new database. Because I am upgrading, the database tables and entries already exist. I can invoke the back in stock notifications setting screen by manually entering the configuration id of the old page (this still exists in the database).
The install program adds an entry in "admin_pages" table for the catalog menu but does not add a new entry for the configuration menu.
I have manually added a new entry in the "admin_pages" table with the values page_key = 'ceon_bisn_cg', language_key = 'BOX_CEON_BACK_IN_STOCK_NOTIFICATIONS_CONFIG_GROUP', main_page = 'FILENAME_CONFIGURATION', page_params = 'gID=32' [ NOTE this value point s to you existing value], menu_key = 'configuration', display_on_menu = 'Y'
The menu item is now correctly displayed on the admin configuration menu.
Re: Ceon Back In Stock Notifications 3.0.0
When customer receive email about back in stock notification, the link is broken.
Instead of showing www.xxx.com/bracelet/k0121
it is showing /bracelet/k0121
may i know how can i rectify that?