Future Option 2


Fatal error: Uncaught Error: Call to undefined method Magento\Catalog\Model\Product\Type\Virtual::getUsedProducts() in /home/ventur63/public_html/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view/type/default.phtml:18 Stack trace: #0 /home/ventur63/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include() #1 /home/ventur63/public_html/vendor/magento/framework/View/Element/Template.php(270): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\View\Type\Virtual\Interceptor), '/home/ventur63/...', Array) #2 /home/ventur63/public_html/generated/code/Magento/Catalog/Block/Product/View/Type/Virtual/Interceptor.php(414): Magento\Framework\View\Element\Template->fetchView('/home/ventur63/...') #3 /home/ventur63/public_html/vendor/magento/framework/View/Element/Template.php(300): Magento\Catalog\Block\Product\View\Type\Virtual\Interceptor->fetchView('/home/ventur63/...') #4 /home/ventur63/public_html/vendor/magento/framework/View/Element/AbstractBloc in /home/ventur63/public_html/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view/type/default.phtml on line 18