If I have the following code in a CMS page to call a template:
{{block class="Magento\Framework\View\Element\Template" name="gifts" template="Magento_Theme::html/gifts.phtml" product_id="68"}}'
How would I then retrieve the product ID in the phtml file?
I've tried:
$product = $this->getData('product_id');
But it returns empty, what is the correct way to retrieve this variable in Magento 2?