Check cross-sell products attached to a product
Tweet, share & co
tweet
•
fb share
•
g+ share
Tags
crosssell • product • sell
Description
Check if there are any cross-sell products attached to a product.
Code
$crosssell = $product->getCrossSellProducts();
if(count($crosssell)) {
//product have cross-sell products...
}