Products having associated crossell products should also be removed if i remove the main products in magento2.1.7 see my screenshot below..
Here the flower is the main product(ie,simple product) and the teddy bear is its associated crossell product..if i remove the flower its associated crossell product ie, teddybear should also be removed automatically..plz someone guide me on this where to apply the logic