Page 2 of 2 FirstFirst 12
Results 11 to 20 of 510

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Back In Stock Notifications

    Hi Conor,

    Thanks for this great mod, like your other ones it is very well written!!

    I came across this little formatting error when & quot ; (I can't do it in the forum without spaces or it will be converted to ") or & amp ; are used in the product title. It displays like this:

    Simply enter your details below and we will send you an e-mail when “Tycoon Hammered Cowbell, 3 1/4" Silver”

    I have to have the html character code because the " and & will get stripped from the page title bar in the browser plus Google Base uses XML files and " and & are not valid XML.

    How would I go about changing this so that the text will convert the html character code into " and &?

    Thanks!!

    Matt

    Zen Cart and it's community are the best!!

  2. #2
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Back In Stock Notifications

    Hi Matt,

    Quote Originally Posted by lankeeyankee View Post
    I have to have the html character code because the " and & will get stripped from the page title bar in the browser
    The double quote gets stripped from the title bar here, but the ampersand doesn't, it is correctly converted to
    Code:
    &
    .

    Quote Originally Posted by lankeeyankee View Post
    plus Google Base uses XML files and " and & are not valid XML.
    I'm afraid that's a problem with the Google Base code then.. it should convert these characters correctly.

    Quote Originally Posted by lankeeyankee View Post
    How would I go about changing this so that the text will convert the html character code into " and &?
    You can't. What you should do is use the quote character and ampersand character in the product's title change the output code for the title tag and Google Base to properly convert/quote the characters.

    I can't comment on any Google functionality as I don't know about it but I found the line that gets rid of the quote in the title in includes/modules/meta_tags:

    PHP Code:
    define('META_TAG_TITLE'str_replace('"','',$meta_products_name $meta_products_price PRIMARY_SECTION TITLE TERTIARY_SECTION NAVBAR_TITLE)); 
    Changing
    Code:
    str_replace('"',''
    to
    Code:
    str_replace('"','"'
    might work.

    By the way, to quote HTML entities, just use the "Code" button on this forum.

    That should all be enough to get things done the right way!

    All the best...

    Conor
    Ceon

  3. #3
    Join Date
    Jan 2010
    Location
    Chicago, IL
    Posts
    4
    Plugin Contributions
    0

    red flag Re: Back In Stock Notifications

    Hello Everybody,

    I am having problems installing Back In Stock Notifications. to be more specific adding the SQL patch. I did that by inserting the mysql file, I did that by inserting the plain text and I tried with my phpMyAdmin as well. Nothing worked.

    I am using Zen Cart 1.3.8a, MySQL5.0.


    If I do the patching with zen cart I am getting these messages:

    11 statements processed.
    Error ERROR: Cannot insert configuration_key "BACK_IN_STOCK_NOTIFICATION_ENABLED" because it already exists
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Error ERROR: Cannot create table back_in_stock_notification_subscriptions because it already exists
    Warning Note: 3 statements ignored. See "upgrade_exceptions" table for additional details.



    At admin area in configuration menu I can see "Back in stock Notifications" option and it works, but there is no Catalog > Back In Stock Notifications Menu.

    The module seems to be working partly. I can send Notification via e-mail but when I put my item back in stock there is no notification for back in stock..


    please..... if anyone knows... please HELP...

    Thank you in advance...

  4. #4
    Join Date
    Jan 2010
    Location
    Chicago, IL
    Posts
    4
    Plugin Contributions
    0

    Default Re: Back In Stock Notifications

    Quote Originally Posted by karapus View Post
    Hello Everybody,

    I am having problems installing Back In Stock Notifications. to be more specific adding the SQL patch. I did that by inserting the mysql file, I did that by inserting the plain text and I tried with my phpMyAdmin as well. Nothing worked.

    I am using Zen Cart 1.3.8a, MySQL5.0.


    If I do the patching with zen cart I am getting these messages:

    11 statements processed.
    Error ERROR: Cannot insert configuration_key "BACK_IN_STOCK_NOTIFICATION_ENABLED" because it already exists
    Error ERROR: Cannot insert configuration_key "" because it already exists
    Error ERROR: Cannot create table back_in_stock_notification_subscriptions because it already exists
    Warning Note: 3 statements ignored. See "upgrade_exceptions" table for additional details.



    At admin area in configuration menu I can see "Back in stock Notifications" option and it works, but there is no Catalog > Back In Stock Notifications Menu.

    The module seems to be working partly. I can send Notification via e-mail but when I put my item back in stock there is no notification for back in stock..


    please..... if anyone knows... please HELP...

    Thank you in advance...
    ok, do not reply to my post yet...

    there was missing menu because I did not change admin folder's name... stupid me...

  5. #5
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Back In Stock Notifications

    Hi,

    Quote Originally Posted by karapus View Post
    ok, do not reply to my post yet...

    there was missing menu because I did not change admin folder's name... stupid me...
    Glad you got it sorted and an easy mistake to make. I may try to stress the fact that the admin folder's name is often changed in the next release as everyone's changing its name these days for Zen Cart's suggested security by obscurity! :)

    All the best...

    Conor
    ceon

  6. #6
    Join Date
    Jun 2009
    Posts
    37
    Plugin Contributions
    0

    Default Back In Stock notification issues

    Hello,

    I am trying to send out back in stock notifications and it comes up with an error basically stating it cannot send to customer x.
    When I list all subscriptions I can see the products and the one that customer x wants to know about but it appears they didn't enter their email address - so that field is blank.

    How can I remove this entry so that the other 100 odd notifications can go out?

    Phil
    www.colourpatch.com.au

  7. #7
    Join Date
    Jun 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: Back In Stock notification issues

    Found the answer.
    Post this into the SQL functions area.
    The XXX is the product ID for the item you want to remove the listing for.

    delete from back_in_stock_notification_subscriptions where product_id = XXX;

  8. #8
    Join Date
    Jun 2010
    Posts
    23
    Plugin Contributions
    0

    Default Re: Back In Stock notification issues

    Noticed a small bug in 3.2.0 that gives users a broken link to the product page from their subscriptions list under "My Account"

    To fix, just need to edit the includes/templates/template_default/templates/tpl_account_back_in_stock_notifications_default.php file:

    Line 166: change from:
    PHP Code:
    $product_page zen_get_info_page($subscribed_notification_lists[$i]['id']); 
    to:
    PHP Code:
    $product_page zen_get_info_page($subscribed_notification_lists[$i]['product_id']); 
    ... and line 169 change from:
    PHP Code:
    'products_id=' $subscribed_notification_lists[$i]['id'], $request_type); 
    to:
    PHP Code:
    'products_id=' $subscribed_notification_lists[$i]['product_id'], $request_type); 

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

    Default Re: Back In Stock notification issues

    Just noticed I posted the below in the OLD BISN thread.

    Hoping someone has an idea here.


    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?

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Ceon Back In Stock Notifications 3.0.0
    By conor in forum Addon Admin Tools
    Replies: 204
    Last Post: 8 Apr 2025, 05:19 PM
  2. Replies: 146
    Last Post: 13 Dec 2020, 09:52 AM
  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