Page 13 of 15 FirstFirst ... 31112131415 LastLast
Results 121 to 130 of 147
  1. #121
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by explorer1979 View Post
    Hi All,

    404 Not Found


    The server can not find the requested page:Please forward this error screen to www.somesite.com's WebMaster


    When I press the "Run Notifications" button in back end, above error show up.
    My Server haven't using any SSL Cert ... and it is cPanel ...

    Do this module can change the PHP from https to http and working with this? If yes, which PHP files need to change?

    Thank you.

    Hi all,

    I final fix this
    /admin/back_in_stock.php
    On Line 169
    From
    PHP Code:
    <form name="back_in_stock" action="<?php echo HTTPS_CATALOG_SERVER DIR_WS_HTTPS_CATALOG "cron/send_back_in_stock_notifications.php"?>" target="_blank" method="get">
    Change To

    PHP Code:
    <form name="back_in_stock" action="<?php echo HTTP_CATALOG_SERVER DIR_WS_HTTPS_CATALOG "cron/send_back_in_stock_notifications.php"?>" target="_blank" method="get">

    /includes/functions/extra_functions/back_in_stock.php
    On Line 95
    From
    PHP Code:
    $html_message['SPAM_LINK'] = HTTPS_SERVER DIR_WS_HTTPS_CATALOG 'index.php?main_page=back_in_stock&bis_id=' $bis_id
    Change To

    PHP Code:
    $html_message['SPAM_LINK'] = HTTP_SERVER DIR_WS_HTTPS_CATALOG 'index.php?main_page=back_in_stock&bis_id=' $bis_id

    Hope this help for all other like me not using SSL

    Best Regards,
    Jimmy Chan

  2. #122
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by explorer1979 View Post
    Hi all,

    I final fix this
    /admin/back_in_stock.php
    On Line 169
    From
    PHP Code:
    <form name="back_in_stock" action="<?php echo HTTPS_CATALOG_SERVER DIR_WS_HTTPS_CATALOG "cron/send_back_in_stock_notifications.php"?>" target="_blank" method="get">
    Change To

    PHP Code:
    <form name="back_in_stock" action="<?php echo HTTP_CATALOG_SERVER DIR_WS_HTTPS_CATALOG "cron/send_back_in_stock_notifications.php"?>" target="_blank" method="get">

    /includes/functions/extra_functions/back_in_stock.php
    On Line 95
    From
    PHP Code:
    $html_message['SPAM_LINK'] = HTTPS_SERVER DIR_WS_HTTPS_CATALOG 'index.php?main_page=back_in_stock&bis_id=' $bis_id
    Change To

    PHP Code:
    $html_message['SPAM_LINK'] = HTTP_SERVER DIR_WS_HTTPS_CATALOG 'index.php?main_page=back_in_stock&bis_id=' $bis_id

    Hope this help for all other like me not using SSL

    Best Regards,
    Jimmy Chan
    No, anytime you want to change from SSL to NON-SSL, you need to change *both* HTTPS_CATALOG_SERVER and DIR_WS_HTTPS_CATALOG

    So your changes should ALSO include changing DIR_WS_HTTPS_CATALOG to DIR_WS_CATALOG.


    Or, even better, use zen_href_link() to create the URLs instead of hard-coding them.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #123
    Join Date
    Mar 2016
    Posts
    2
    Plugin Contributions
    0

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Hello,

    Any suggestions on best practices to be followed when sending out back in stock alerts to customers who subscribed?

    Our inventory levels vary greatly on the product assortment so I dont want to notify to all who subscribed when I only got a few pieces back in stock.

    What are some of the issues you face when the back in stock feature is enabled?

    Example: If I get 200 units back in stock and 2000 subscribers, I don't want to email all 2000, I could may be email 200 but is there any other business rule I need to consider?

    Also, based on experience, would the email be sent out First In First Out or Last in First out? It can take upto 2 weeks for inventory to be replenished. So my preference is Last in First out, but I dont know if that would lead to complaints from customers

    Thanks for any help.

  4. #124
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by DrByte View Post
    No, anytime you want to change from SSL to NON-SSL, you need to change *both* HTTPS_CATALOG_SERVER and DIR_WS_HTTPS_CATALOG

    So your changes should ALSO include changing DIR_WS_HTTPS_CATALOG to DIR_WS_CATALOG.

    Or, even better, use zen_href_link() to create the URLs instead of hard-coding them.
    Thank you Dr. Byte
    One more question, how to using zen_href_link() on above case, any detail document for reference? I want to learning more on it.

  5. #125
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by Ecomgirl View Post
    Hello,

    Any suggestions on best practices to be followed when sending out back in stock alerts to customers who subscribed?

    Our inventory levels vary greatly on the product assortment so I dont want to notify to all who subscribed when I only got a few pieces back in stock.


    What are some of the issues you face when the back in stock feature is enabled?

    Example: If I get 200 units back in stock and 2000 subscribers, I don't want to email all 2000, I could may be email 200 but is there any other business rule I need to consider?

    Also, based on experience, would the email be sent out First In First Out or Last in First out? It can take upto 2 weeks for inventory to be replenished. So my preference is Last in First out, but I dont know if that would lead to complaints from customers

    Thanks for any help.
    Hi Ecomgirl,

    Sorry the module is not first in first out, I am using Ceon Back In Stock long time, until it stop update on year 2012 (But once ZC 1.5.5 release, it also have a new update version right now), and I am upgrade to ZC 1.5.4 so move to this AJAX Back In Stock, I can short answer you both module haven't this type of function/control.

    But ... if you know MySQL/phpmyadmin, then I think you can using other way to do this ....
    Here my way to for your reference, but a bit complex ..

    If you are using Godaddy or some hosting service, you can access your phpmyadmin by your Host Management Interface ...
    on the phpmyadmin select your database first, then go to back_in_stock tables, then press the SQL tab to run it.

    PHP Code:
    SELECT  
    FROM  `back_in_stock
    WHERE  `product_id`  =1404 
    Then Export this result (Export format can be SQL, Excel CSV etc), this will include a e-mail list who have subscribed
    Where 1404 is your product id, just replace it to your product
    How to find this ID?

    You can look on your ZC Back End by Catalog > Products, the first left side have a number, this is the product id

    Later you can using this list to choose which one you want to send to first by other way ...

    Hope this help.

    Plus, hope the author also can add this function on near future like ecomgirl ask for.


    Best Regards,
    Jimmy Chan
    Last edited by explorer1979; 30 Mar 2016 at 03:33 AM.

  6. #126
    Join Date
    Aug 2012
    Posts
    106
    Plugin Contributions
    0

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by explorer1979 View Post
    Hi Clint,
    Your error message is look like your host/VPS/Server using a Imagick (ImageMagick) version is lower than your module need

    For example
    Install a Office 2016 you need at least Windows 7, not support by Win XP, then you will know what I mean on it Imagick (ImageMagick) of your API version number ....

    You need compiled a more new version to fix it.

    Best Regards,
    Jimmy Chan
    Thanks for your response. So do I just need to switch hosting providers? What version do I need to have?

    Thanks,

    Clint

  7. #127
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by clint6998 View Post
    Thanks for your response. So do I just need to switch hosting providers? What version do I need to have?

    Thanks,

    Clint

    Hi Clint,

    What is your host company using now?
    And actually which ZC module using it? Your log will have full path of the php files name and line number, do it? This can help for look on which module call the API

    If it is just cheapest hosting plan, you can try ask him help you upgrade the imagemagick to latest version

    If it is VPS with cPanel, you can try upgrade by yourself (Manual Linux command way or by cPanel's WHM if you full control of your VPS with root account on it)

    Myself using Godaddy VPN, and I haven't using imagemagick, I just using PHP with GD

    But this link can give you some idea how cPanel WHM (General have this on VPS plan, and higher price) install imagemagick
    http://crybit.com/how-to-install-imagemagick/

    But ... you can ask your hosting company help install more new version first.

    Hope this help

    Best Regards,
    Jimmy Chan

  8. #128
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by Ecomgirl View Post
    Hello,

    Any suggestions on best practices to be followed when sending out back in stock alerts to customers who subscribed?

    Our inventory levels vary greatly on the product assortment so I dont want to notify to all who subscribed when I only got a few pieces back in stock.

    What are some of the issues you face when the back in stock feature is enabled?

    Example: If I get 200 units back in stock and 2000 subscribers, I don't want to email all 2000, I could may be email 200 but is there any other business rule I need to consider?

    Also, based on experience, would the email be sent out First In First Out or Last in First out? It can take upto 2 weeks for inventory to be replenished. So my preference is Last in First out, but I dont know if that would lead to complaints from customers

    Thanks for any help.
    The module doesn't know how many you have in stock, it just knows it's back in stock. Now you can set the max number of notifications and then set the days of lag as well.

    Example:

    If your product is back in stock and you have 200 of them and you have 2000 people looking for it.

    A solution although cumbersome could be to set the max per batch to 200 and the days of lag to lets say 10.
    If you ran the cron once a day, it would notify 200 people everyday it was back in stock on the 11th day it would notify the first 200 that hadn't again purchased.

    does that help?

  9. #129
    Join Date
    Aug 2012
    Posts
    106
    Plugin Contributions
    0

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    Quote Originally Posted by explorer1979 View Post
    Hi Clint,

    What is your host company using now?
    And actually which ZC module using it? Your log will have full path of the php files name and line number, do it? This can help for look on which module call the API

    If it is just cheapest hosting plan, you can try ask him help you upgrade the imagemagick to latest version

    If it is VPS with cPanel, you can try upgrade by yourself (Manual Linux command way or by cPanel's WHM if you full control of your VPS with root account on it)

    Myself using Godaddy VPN, and I haven't using imagemagick, I just using PHP with GD

    But this link can give you some idea how cPanel WHM (General have this on VPS plan, and higher price) install imagemagick
    http://crybit.com/how-to-install-imagemagick/

    But ... you can ask your hosting company help install more new version first.

    Hope this help

    Best Regards,
    Jimmy Chan
    Thanks. Talking with hosting company now. Looks like they had imagemagick disabled on my account. I use JustHost. I have the pro shared hosting service.

    Just so I am sure that I am doing my cron right, I should be sending it to the cron/send_back_in_stock_notifications.php correct?

  10. #130
    Join Date
    Aug 2012
    Posts
    106
    Plugin Contributions
    0

    Default Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)

    ok so they enabled imagemagick and now I am getting the error message:

    [31-Mar-2016 07:51:39 America/Denver] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/php/56/usr/lib64/php/modules/http.so' - /usr/php/56/usr/lib64/php/modules/http.so: cannot open shared object file: No such file or directory in Unknown on line 0

    Any ideas? Is this another hosting issue?

 

 
Page 13 of 15 FirstFirst ... 31112131415 LastLast

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: 4
    Last Post: 14 Feb 2013, 09:33 PM
  3. back in stock notification - buttons 'back' and 'update' not working
    By flix in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Mar 2010, 10:02 PM
  4. "Notify me when Out of Stock items is back in stock" Mod?
    By mes7000 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 21 Aug 2008, 06:04 PM
  5. Module: Back to Stock Items like this one how to?
    By explorer1979 in forum General Questions
    Replies: 0
    Last Post: 12 Aug 2008, 04:47 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR