I have a product model from order item model, which i call like this:
$product = $orderItem->getProduct();
The problem is one of the order item is a child product from configurable product, i need to retrieve the parent name from this product, is there a way to do this?
Best Answer
Try this code: