Skip to main content

Questions tagged [category-view]

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

Filter by
Sorted by
Tagged with
2 votes
3 answers

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( ...
Jancy Abraham's user avatar
2 votes
1 answer

How to remove SKU from product name in search results?

How can I remove SKU from product name in search results? In category view, product name is without SKU but when I search for some product, the results is including SKU in product name.
Bobo's user avatar
  • 33
2 votes
1 answer

Magento 2: Get recently reviewed Products on Category Page

On the product view page the reviews get loaded via the following code: $_items = $block->getReviewsCollection()->getItems(); This is what the getReviewsCollection function looks like: ...
bronkopopovic's user avatar
1 vote
1 answer

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 ...
Guenhy's user avatar
  • 21