I want to add customize text on header of cart popup but I can’t find where should I put my custom code.
I see a lot of plugin that have custom content in cart popup but I can’t customize with these plugin so please help to add my custom code to cart popup.
enter image description here
I have try cart.php but it make change to cart page not cart popup
2
Answers
You need to use minicart.php to modify the cart popup content. if you are using default woo-commerce then below is the file path :
here you can add customize text on header of cart popup.
Add the below code snippet in your active theme’s
functions.php
file –