
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