We are running into an issue where we need to run a little php script within a .html file in Magento 2, namely;
/app/design/frontend/CleverSoft/core/Magento_Checkout/web/template/minicart/content.html
When we have tried adding the ability for html files to run php via the .htaccess, it ends up causing other errors within Magento so it just ends up breaking more things. Namely, using things like;
AddType application/x-httpd-php56 .php .htm .html
or
AddType application/x-httpd-php .html .htm
Are there other alternatives to try to run php within this html file, or is it possible to change this file to .phtml like so many of the others? I would just have to find where it is originally called I assume and change that from .html to .phtml?
Thanks for the insight!