- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 21.04.22, 16:51
- Opened by: Benjamin WEPPE
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #23288 - CategoryTree - Subcategories showing on current category
Hi there,
On the category tree (left sidebar on category page) I’d like to show (opened) by default the subcategories of the current category.
Please find enclosed 2 files :
1_current
2_what-i-want
Cheers
Comments
Hi, Benjamin.
Tr following CSS code
Hi Fred !
Thanks for coming back to me quickly.
Those CSS work but it expands all the subcategories, which make my menu huge.
I just need to expand the first-level subcategories of the current category.
Let’s see img enclosed.
On my previous shop, I followed these steps : https://www.sunnytoo.com/8222/how-to-set-the-category-tree-links-module-to-expand-the-brunch-containing-current-category-in-prestashop-1-7 But categorytree.php is pretty different with Alysum theme and it does not work.
Thanks a lot
PS : I’m currently working on local so can’t send you a link
Attachments:
Capture d’écran 2022-04-22 a...(40 KiB)try this CSS
Hi Fred,
Same results… sorry. It expands the rest too.
Please find the staging link : http://b2c.la-loutre.com/fr/11-affiches
When browsing on the Affiches category, i’d like to show only the 4 subcategories under Affiches :
- Affiche ville
- Les inspirantes
- Sans rouler des mécaniques
- L’Homme
Attachments:
Capture d’écran 2022-04-25 a...(277.6 KiB)Try to reconfigure the Category Tree module - https://take.ms/xYBYy
Hi Fred,
Sorry but you misunderstood.
I want to have all parent categories showing up, and have ONLY the subcategories of the current category expanded.
Just like the picture enclosed.
Thanks
Attachments:
Capture d’écran 2022-04-25 a...(277.6 KiB)Category Tree is a native Prestashop module and we are not able to change it’s behavior. You have to find another module that will work as you want.