I have a problem concerning the cross-sell links. I'm building a custom module and I need to add and delete cross-sell links according to a product.
I know how to create the cross-sell links using:
$product->setCrossSellLinkData($params);
$product->save();
But what I don't know is how to remove cross-sell links.
Is there a function to do that or have I to execute an SQL request to delete the links from magentocatalog_product_link
inside my module (which isn't a good practice) ?
Thank you for your help