Magento 2 - Adding custom product relations
Note: Testing on Magento 2.1.x version.
We can call the custom product relation:
/** @var \Magento\Catalog\Model\Product $product */
return $product->getCustomTypeProducts();
| Name | Name | Last commit date | ||
|---|---|---|---|---|