I think you are correct in that $c is not defined in the product.tpl
I tried
{if $order_by.order_by gt 4 and $order_by.order_by lt 41}{/if}
to the product.tpl
with
$order_by = func_query_hash("SELECT order_by FROM xcart_categories");
$smarty->assign("order_by", $order_by);
added to the product.php with no luck.
I also tried the above with
$smarty->assign('customer/category', 'category');
include ("customer/main/product.tpl");
added to the product.php with same -no results
I need to take a break from this right now but really appreciate your help. I am going to take another stab at it in a few hours. If I get it figured out I will post it and let you know ,as I think that it would be something a lot of others would like to know how to do
Thanks Again
Scott V