I'm Trying to check whether product has custom options or not in code (my code runs sales_order_place_after
event).
I have try below code but it does not returning anything.
$product->hasCustomOptions()
and
$product->hasOptions()
Please let me know what i'm missing