Web Analytics

Fill the form & Get Installation Support

How to show special character in minicart in magento 2?

You may have face this problem where sometimes you failed to show special character(s) in mini-cart in product name. But what shall one do when he/she has to show special characters like single quote, double quote in product title in minicart.

Well, all you need to do is to copy default.html file from the vendor directory and place it with the relevant path in the theme.

app/design/frontend/Magento/theme/Magento_Checkout/web/template/minicart/item/default.html

Below is the whole code you need to replace in the above file.

That’s it. Hope this article helped you to solve your programmatical problem.

Fill the below form if you have any Magento programming need.





    Recent Articles

    Author Info

    Author Image

    Magento 2 Developer

    Hire P. Garchar

    Get a Free Quote





      /* second popup */

      Connect With Us