Hide subcategry when showing item from a father category

15.11.2013 18:03
#1
onbermejo
Joomshopping forum user no avatar
Name: Óscar
21.06.2013
Posts: 5
Quote
Hide subcategry when showing item from a father category

Sometimes the subcategories of a father are shown before the products.
Where is the option to hide them?

Here the example:
http://alicia2.upinthenet.com/tienda/puas-de-guitarra

Thanks!!!!


Joomla: Joomla! 2.5.14
JoomShopping: 3.15.3
PHP: 5.2.17
MySQL: 5.5
Website Url: http://alicia2.upinthenet.com
 
15.11.2013 18:38
#2
Dr.Rivera
Joomshopping forum user no avatar
Name: Jürgen
13.09.2010
Posts: 2251
Quote
Aw: Hide subcategry when showing item from a father category

Hello,

hide, I think this is not possible.

Maybe you could try:
1. Aliase for all categories
2. If you have subcategories for a category: no products for the category, only for the subcategories.
Only an idea, not the answer to your question, I know it.

Greetings


Letzte Änderung: 15.11.2013 18:45

Nicht ganz aktuell, aber vielleicht doch noch für einige hilfreich, das E-Book Joomshopping.
Bei Amazon (kindl) und xinxii (ePub):

http://www.amazon.de/JoomShopping-Joomla-Shop-Online-Shop-ebook/dp/B005L9D8MC

http://www.xinxii.com/joomshopping-der-joomla-shop-p-339561.html
 
16.11.2013 09:36
#3
onbermejo
Joomshopping forum user no avatar
Name: Óscar
21.06.2013
Posts: 5
Quote
Aw: Hide subcategry when showing item from a father category

Hello. Thank you for the answer.
1.-What does aliase mean?

2.-I need all the categories to have products.


Any other ideas?

 
16.11.2013 09:38
#4
onbermejo
Joomshopping forum user no avatar
Name: Óscar
21.06.2013
Posts: 5
Quote
Aw: Hide subcategry when showing item from a father category

And, why sometimes happens and other times not?

I dont understand...

 
16.11.2013 11:17
#5
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16480
Quote
Aw: Hide subcategry when showing item from a father category

Change template

components\com_jshopping\templates\default\category\category_default.php

delete

<div class="jshop_list_category">
<?php if (count($this->categories)){ ?>
<table class = "jshop list_category">
<?php foreach($this->categories as $k=>$category){?>
<?php if ($k%$this->count_category_to_row==0) print "<tr>"; ?>
<td class="jshop_categ" width="<?php print (100/$this->count_category_to_row)?>%">
<table class = "category">
<tr>
<td class="image">
<a href = "<?php print $category->category_link;?>"><img class="jshop_img" src="<?php print $this->image_category_path;?>/<?php if ($category->category_image) print $category->category_image; else print $this->noimage;?>" alt="<?php print htmlspecialchars($category->name)?>" title="<?php print htmlspecialchars($category->name)?>" /></a>
</td>
<td>
<a class = "product_link" href = "<?php print $category->category_link?>"><?php print $category->name?></a>
<p class = "category_short_description"><?php print $category->short_description?></p>
</td>
</tr>
</table>
</td>
<?php if ($k%$this->count_category_to_row==$this->count_category_to_row-1) print '</tr>'; ?>
<?php } ?>
<?php if ($k%$this->count_category_to_row!=$this->count_category_to_row-1) print '</tr>'; ?>
</table>
<?php }?>
</div>

 
16.11.2013 11:31
#6
onbermejo
Joomshopping forum user no avatar
Name: Óscar
21.06.2013
Posts: 5
Quote
Aw: Hide subcategry when showing item from a father category

Yes!!!

Thanks very much!!

 
07.09.2015 14:10
#7
K0udy
Joomshopping forum user no avatar
Name: Petr
14.08.2015
Posts: 4
Quote
Aw: Hide subcategry when showing item from a father category

Hello, i have question.
I edited it according to your instructions and still there from the subcategory display. I am using the latest joomschopping

e-shop.halberstat.cz


thanks
Petr M.

 
07.09.2015 15:58
#8
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16480
Quote
Aw: Hide subcategry when showing item from a father category

components\com_jshopping\templates\default\category\category_default.php - for default template

Your template not default.

It can be used a different code
or
another directory


Letzte Änderung: 07.09.2015 16:05
 
08.09.2015 08:55
#9
K0udy
Joomshopping forum user no avatar
Name: Petr
14.08.2015
Posts: 4
Quote
Aw: Hide subcategry when showing item from a father category

Hello,
yep, you are right, thanks for help.

best regards

 
11.09.2015 08:28
#10
K0udy
Joomshopping forum user no avatar
Name: Petr
14.08.2015
Posts: 4
Quote
Aw: Hide subcategry when showing item from a father category

Hello,
I'm not sure which file I modified, but i think its your default path (category_default.php). But the problem is that joomschopping didnt display panels in the left column (login, cart, Sellers). everything is set up correctly in joomla, but you can not see the frontend.

Could you advise me?

thanks


Letzte Änderung: 11.09.2015 08:52
 
16.09.2015 09:14
#11
K0udy
Joomshopping forum user no avatar
Name: Petr
14.08.2015
Posts: 4
Quote
Aw: Hide subcategry when showing item from a father category

I would find someone who could help me, with this problem??

regards

 
16.09.2015 11:50
#12
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16480
Quote
Aw: Hide subcategry when showing item from a father category

https://www.webdesigner-profi.de/kontaktformular.html

 
Copyrights MAXXmarketing GmbH. All Rights Reserved