Latest article tagged with “Repositories”
How to get the Categories linked to a Product in Magento 2
Using Service Contracts over Collections
This might seem like a no-brainer at first. I mean, come on! We all know we can
$product->getCategoryIds() and move on from there right? You know,
create a collection and stuff.....