Questions tagged [category-view]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
2
votes
3answers
10k views

Magento 2 How to get first level parent category of current Category?

I want to get the first level parent category of the current category. I have a code but it gets only the parent of the current category: protected $_registry; public function __construct( ...
1
vote
1answer
3k views

Magento 2 - Show product options and attributes in categories

I need some help to display products custom options and attributes in category view, I can't find any guide to do this. What I want to do is that if a simple product has custom options to display a ...