Is there a way to get from $product
from $subscription
?
Thanks to this post, I know that from $subscription
I can get $order
:
$order = $subscription->order;
Is this also possible?
$product = $subscription->product;
Or:
$product = $order->product;