Sunnysideup\EcommerceProductVariation\Model\Buyables\ProductWithVariationDecorator::Product
this method is really useful when you mix Products and Product Variations That is, in a template, you might have something like $Buyable.Product With the method below, this will work BOTH if the Buyable is a Product and a product Varation.
Signature
public function Product()
Returns
- DataObject
- (Product)