Aw: Need some assistance
Ok i been figuring out the php files and it seems like its already calling the subcategories i just need to figure out how to call the name of the subcategory in the mod_jshopping_categories\tmpl\default.php Could you give me a hand here please? Whats the name i need to know for the subcategories. it seems like
$categories_arr = jShopCategoriesHelper::getCatsArray($field_sort, $ordering, $category_id, $categories_id);
Categories_id is the sub categories and in the default.php its already being converted to $curr
<?php
foreach($categories_arr as $curr){
$class = "jshop_menu_level_".$curr->level;
if ($categories_id[$curr->level]==$curr->category_id) $class = $class."_a";
?>
So
<a href = "<?php print $curr->category_link?>"><?php print $curr->name?>
this would call the category name what would call the subcategory name? any help with this would be awesome you can tell me all in German i can translate with google.
I just need that the name of the subcategories don't need the pictures or description just the names.
Last change: 20.01.2011 20:23