Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)
This module works only if there is an active SSL certificate ?
When i try Back In Stock Notifications i have a message error: ssl_error_rx_record_too_long
Please let me know
Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)
It should work with a self-assigned certificate. However ALL stores should have a proper SSL anyways.
Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)
Quote:
Originally Posted by
bislewl
It should work with a self-assigned certificate. However ALL stores should have a proper SSL anyways.
It is not the answer I wanted. Anyway thank you
Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)
Quote:
Originally Posted by
bislewl
It should work with a self-assigned certificate. However ALL stores should have a proper SSL anyways.
So I'm not clear here.. If a shop DOES NOT have an SSL cert, they CANNOT use this module??? Is THAT what that error "error: ssl_error_rx_record_too_long" means??
Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)
Hi
I just installed this module on zen cart 1.5.1. PHP Version: 5.4.34. I'm having trouble getting it to work. The installation instructions don't mention which file to paste the code snippets provided, though I assume it should be the file, tpl_product_info_display.php
There's a file, tpl_product_info_add_to_cart_sample.php I wasn't sure what this file was for. Looking at the contents there's a line that says, "// This will replace the normal add to cart button code" so I copied and replaced the standard add to cart code in the file tpl_product_info_display.php.
I have tried both sets of code snippets (one set at a time) and the link for "Email me when back in stock" takes me to homepage.
When turning off the module the sold out icon is still disabled. There's also a log file.
[05-Feb-2015 18:56:47 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /home/***/public_html/ADMIN/includes/init_includes/init_back_in_stock.php on line 66
Any ideas what going on?
thanks
Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)
Quote:
Originally Posted by
buildingblocks
Hi
I just installed this module on zen cart 1.5.1. PHP Version: 5.4.34. I'm having trouble getting it to work. The installation instructions don't mention which file to paste the code snippets provided, though I assume it should be the file, tpl_product_info_display.php
There's a file, tpl_product_info_add_to_cart_sample.php I wasn't sure what this file was for. Looking at the contents there's a line that says, "// This will replace the normal add to cart button code" so I copied and replaced the standard add to cart code in the file tpl_product_info_display.php.
I have tried both sets of code snippets (one set at a time) and the link for "Email me when back in stock" takes me to homepage.
When turning off the module the sold out icon is still disabled. There's also a log file.
[05-Feb-2015 18:56:47 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /home/***/public_html/ADMIN/includes/init_includes/init_back_in_stock.php on line 66
Any ideas what going on?
thanks
If it is taking you back to the home page that typically then the javascript is not loading.
if you look at the javascript loaded on the page these should be loading:
jquery-1.10.2.min.js
jquery-migrate-1.2.1.min.js
jquery.fancybox.js
jquery_back_in_stock.js
Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)
Quote:
Originally Posted by
bislewl
If it is taking you back to the home page that typically then the javascript is not loading.
if you look at the javascript loaded on the page these should be loading:
jquery-1.10.2.min.js
jquery-migrate-1.2.1.min.js
jquery.fancybox.js
jquery_back_in_stock.js
yes they are and we also have these two loading, jquery-1.4.4.min.js and jscript_utils.js
Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)
Quote:
Originally Posted by
buildingblocks
yes they are and we also have these two loading, jquery-1.4.4.min.js and jscript_utils.js
just to clarify, in case it matters, jquery-1.4.4.min.js and jscript_utils.js both reside in the folder jscript not jscript/jquery
Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)
Quote:
Originally Posted by
buildingblocks
just to clarify, in case it matters, jquery-1.4.4.min.js and jscript_utils.js both reside in the folder jscript not jscript/jquery
jquery-1.4.4.min.js I believe belongs to zxslideshow
jscript_utils.js belongs to reward points full suite
Re: Ajax Back In Stock (re-written version of Conor/Ceon's Back In Stock Module)
Quote:
The issue [05-Feb-2015 18:56:47 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /home/***/public_html/ADMIN/includes/init_includes/init_back_in_stock.php on line 66
This was resolved by DrByte, Zen-Cart.com wasn't outputting the json when newer version was pending (submitted but not moderated). Also the a fall back is being added to zencart 1.6.0. See https://github.com/zencart/zencart/issues/281
So this should be resolved now.