Fatal error: Uncaught Error: Call to undefined method Magento\Catalog\Model\Product\Type\Simple::getConfigurableOptions() in /home/promab/public_html/app/design/frontend/Magento/supremeopti/Magento_Catalog/templates/product/view/addtocart.phtml:16 Stack trace: #0 /home/promab/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /home/promab/public_html/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\View\Interceptor), '/home/promab/pu...', Array) #2 /home/promab/public_html/vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView('/home/promab/pu...') #3 /home/promab/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(667): Magento\Framework\View\Element\Template->_toHtml() #4 /home/promab/public_html/vendor/magento/framework/View/Layout.php(558): Magento\Framework\View\Element\AbstractBlock->toHtml() #5 /home/promab/public_html/ven in /home/promab/public_html/app/design/frontend/Magento/supremeopti/Magento_Catalog/templates/product/view/addtocart.phtml on line 16