Results 1 to 10 of 205

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Location
    Slovakia
    Posts
    24
    Plugin Contributions
    0

    Default Re: Ceon Back In Stock Notifications 3.0.0

    Quote Originally Posted by Limitless View Post
    Not sure what has changed now, but my 'back in stock notification' emails are missing my domain name in the link that gets sent out?!!?!


    Any one run into this before I start digging around?
    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.

  2. #2
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Ceon Back In Stock Notifications 3.0.0

    Quote Originally Posted by dee_d_lady View Post
    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.
    I have not been able to track this down yet.

  3. #3
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Ceon Back In Stock Notifications 3.0.0

    Quote Originally Posted by dee_d_lady View Post
    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.

 

 

Similar Threads

  1. Replies: 146
    Last Post: 13 Dec 2020, 09:52 AM
  2. Back In Stock Notifications
    By conor in forum All Other Contributions/Addons
    Replies: 509
    Last Post: 11 May 2016, 03:02 PM
  3. Replies: 4
    Last Post: 14 Feb 2013, 09:33 PM
  4. v139h Back In Stock Notifications only notify customers ONE time?
    By SRQHoyas in forum General Questions
    Replies: 0
    Last Post: 9 Jun 2012, 01:58 PM
  5. Problems with Back In Stock Notifications addon
    By dhanesh in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Aug 2008, 02:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg