London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

How do I create a product link and place it in multiple categories (Programmatically)

Vote:
 

I have been searhcing but could not find anything about this. How would I programmatically do the "Move/ Link To Folder" that is available in the commerce manager's catalog management

#139415
Oct 01, 2015 16:54
Vote:
 

Hi,

We use ILinksRepository (which implements IRelationRepository and IAssociationRepository) and  to manage the relations/associations. You can use it to handle the relations between your entry and the category.

Regards.

/Q

#139417
Oct 01, 2015 21:12
Vote:
 
#139430
Oct 02, 2015 8:33
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.