Apisylux

Level up your business with APISYLUX.

Magento 2.x Minicart Knockout TypeError

June 1, 2020 - Magento Tips & Tweaks

[vc_row][vc_column][vc_column_text]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[/vc_column_text][/vc_column][/vc_row]

Leave a Reply

You can reach us anytime via contact@apisylux.com

team team team team

Meet Our Experts

    $1k

    $100k