Prestashop 1.7 display parent category in category tree - prestashop

I'm looking for solution to display parent category in category tree right above current category in Prestashop 1.7.6.8.
Here's a screenshot explaining more:
categorytreeimage
Thanks for any help.

This behaviour is already implemented in the native category tree module,
just configure it as follows :

Related

How to access the current CategoryData in a category page?

I am trying to create a Category Page specific CMS component.
Is there a currentCategoryService that is similar to the CurrentProductService in Spartacus injectables?
If not, what is the correct way to get the current category data (or at least the category code) in my new component?
AFAIK, currently we do not have anything similar to CurrentProductService for current category. Looking at the implementation of CurrentProductService you can see that it is using RoutingService and it's getRouterState() method (picture 1). You can create something similar for current category, because the router state consists of category informations (as seen below on picture 2).
Picture 1: CurrentProductService:
Picture 2: Router state contents:

Prestashop Main Menu Module

I'm using the module provided by Prestashop but when I add the 'Home' shop category it doesn't link to the page where it lists all the products. Is there a way to link to the top parent category while it still having children?
The home category use this link:
www.mysite.com/2-home
This link works only in PrestaShop >= 1.7.x.x
In PrestaShop 1.6 is not "navigable"
If you want to link the home category from the module use a custom link and not the category that you find in the (multi)select

prestashop layered navigation block

normally layered navigation block is only displayed on a few pages like category page, search pages. However I want to show it in the "manufacturer" page/controller. If someone clicks the "manufacturer" menu to show up all the manufacturers, I want to show the "layered navigation" on the left column of the manufaturer controller.
Does someone know how to do that ?
I am using prestashop 1.5.6.2 and a premium responsive 3 column theme.
I would appreciate any help. Thanks.
I want update this topic because now the addon to handle filtering on manufacturer product pages is available on official prestashop addons store and works perfectly :
Download blocklayeredmanufacturer module here
Best Regards

rails how can i build navigation from database?

how are you building menus from database ?
Like Category menu where every Category can be in other Category (submenus)
I look that simple-navigation is popular, but i never done that, can some of you please post some example of your code or how i can do that ? thank you

Display featured products on category page PRESTASHOP

I just want to show some featured products on each category page (not home page).
I thought to use features or tags. So in the back, I add to the products I want to show a "featured" tag or feature. And then in the front on each category page I display the products of that category that have that tag or feature.
What do you think is easier? and how can I achieve this? I am so lost, so I'd appreciate any guidance.
Thanks guys
Here is how I would do this:
Create a module (obviously) to extend the product class and add a featured field (as a boolean, you can also use a position field if you want to manage something like that)
Within the module it's easy to override the admin controller to add a checkbox somewhere
On the category page, create a hook to display the featured product, or just override the categoryController to get them.
And voilĂ ! It's really easy. I just give you the steps as I won't write the code for you :) but if you need more advices feel free to ask