View Single Post
  #2  
Old 07-30-2008, 12:11 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: IF statement for php file

It's possible that BCSE's mod doesn't pass a category variable. You can try dumping the variables to the screen to see what's available:

FIND:

if ($categories[cat_num] == 1) {

BEFORE ADD:

var_dump($HTTP_POST_VARS); exit;

Then add to cart.
Reply With Quote