Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Problem installing mod


Recommended Posts

Hi guys,


I seem to have a missing variable. I was trying to install the no_stock_no_checkout mod, and all was going fine until I went to the list of products under a subcatagory (product_listing.php).


Anyway, the code I need to change was simply to put in an if statement checking the product quantity...


if ($listing['products_quantity']<=0) {


But it turns out that all the products were being marked as being out of stock (the if was failing).


So I tried to debug, and it seems


is blank! :'(


Why is this? Anyone have any ideas? I need to restore my changes otherwise.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...