View Single Post
  #4  
Old August 29th, 2012, 10:07 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

If you have the product ID, you will already have the category ID to pass to that function. The product's category ID can be found using this variable:

PHP Code:
$product->cat_id 
Here's all of the possible variables of the $product object: http://www.datafeedr.com/forums/show...1079#post31079

Eric