Hi Guys!
I’m starting with developing Shopware modules and probably I don’t understand everything yet, and because of that, I’ve stuck. Maybe someone will be able to help me.
I’m trying to assign/unassign the product categories via DAL. At first, I’ve tried to set categoryTree key in the update function, but it’s read-only field.
Then I’ve tried to use product_category repository for managing entities there, but when I try to search items by specific criteria I’m getting the error that is described here.
Which repository or what entity should I use to assign or unassign the categories to the product via DAL? Maybe there is a function in ProductEntity that I don’t see?
Thank you!
