fbpx

Magento 2.x Minicart Knockout TypeError

The missing step is you need to update “content.html” in mini-cart folder as well. I have resolved it in three steps:

Replace the minicart.phtml file from theme:
app\design\frontend\Theme_namespace\Theme_module\Magento_Ch‌​eckout\templates\car‌​t with the core template at:
vendor\magento\module-checkout\view\frontend\templates\cart‌​

Replace content.html file from your theme:
app\design\frontend\Theme_namespace\Theme_module\Magento_Checkout\web\template\minicart\content.html
With the core template version:
vendor\magento\module-checkout\view\frontend\web\template\minicart\content.html

To make sure everyting has flushed out from the Front-end:

Run cache clean: php bin/magento cache:clean
Run deploy static content again: php magento setup:static-content:deploy

Leave a Reply

Your email address will not be published. Required fields are marked *