/**
* {@inheritdoc}
*/
public function getProductDefaultTemplateData(ProductInterface $product) : array
{
$shippingMethodCosts = $this->shippingMethodProvider->getCosts(new ProductContext($product));
$variants = $this->variantHelper->getVariants($product);
$attributes = $this->variantHelper->getAttributes($product);
return ['product' => $product, 'shippingCosts' => $shippingMethodCosts, 'variants' => json_encode($variants), 'attributes' => $attributes];
}