Need some assistance

10.01.2011 20:49
#1
ghawk
Joomshopping forum user no avatar
Name: Juan
27.12.2010
Posts: 5
Quote
Need some assistance

Hi I been reading with google chrome translation since i don't understand german hopefully you guys can understand me.

I want to be able to show The Categories in the front page with the Sub-categories under them, I already have the categories set in the front page with the Categories Module. but i don't see a way to make the sub categories show up below them as a List.

 
10.01.2011 21:01
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Need some assistance

Need programming.

 
20.01.2011 20:23
#3
ghawk
Joomshopping forum user no avatar
Name: Juan
27.12.2010
Posts: 5
Quote
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.


Letzte Ă„nderung: 20.01.2011 20:23
 
20.01.2011 20:32
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Need some assistance

$curr->level > 0

 
20.01.2011 23:12
#5
ghawk
Joomshopping forum user no avatar
Name: Juan
27.12.2010
Posts: 5
Quote
Aw: Need some assistance

Thanks for your help i really appreciate this.

now I tried to add that to get the name of the subcategories with this
<?php print $curr->level > 0 ?>
which doesn't seem to work nothing shows at all.

pretty much something like you have on the category name,

<?php print $curr->name?> this gives out the category name
I need the one for the sub category

 
11.08.2011 21:57
#6
hostactiva
Joomshopping forum user no avatar
Name: leonardo
15.07.2011
Posts: 10
Quote
Aw: Need some assistance

Hi there ghawk

Did you sort this out?

 
09.04.2013 15:09
#7
astrit
Joomshopping forum user no avatar
Name: Astrit
15.11.2012
Posts: 9
Quote
Aw: Need some assistance

Hello.
I have an question. How i can display the product number for the category.
Example <?php print $curr->product_number?>


Joomla: Joomla 3.0
 
09.04.2013 18:40
#8
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Need some assistance

http://www.webdesigner-profi.de/joomla-webdesign/shop/modules/category-tree.html

 
Copyrights MAXXmarketing GmbH. All Rights Reserved