Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Mini-cart template file ?
Tagged: child theme, mini-cart, template
- This topic has 7 replies, 3 voices, and was last updated 5 years, 3 months ago by
logan.
Viewing 8 posts - 1 through 8 (of 8 total)
-
AuthorPosts
-
October 31, 2019 at 8:24 pm #231886
StudioLeBus
Participanthello, I'm trying to change the mini-cart, but changing the file that I put in child-theme/woocommerce/cart/mini-cart.php doesn'nt change nothing.. I changed child-theme/woocommerce/cart/cart.php and this one is working ... Where can I find the good file to change for the mini cart please ?? thanks in advance.. DanNovember 1, 2019 at 10:35 am #231946Diana
Participant@studiolebus Do you want to show any other icon?? instead of mini cart? Or, you want to hide the cart? We can do this using cssNovember 1, 2019 at 6:02 pm #232006StudioLeBus
ParticipantHello I want to pour the link to the corresponding course page, not to the product... I succeed for the cart page, but can't find the file I have to change for the minicart... Is it some kind of function? Where can I find it? Thanks in advanceNovember 2, 2019 at 5:31 am #232030logan
MemberHello, i did not understand the question, please provide some stills about the issue. this would help us to understand the situations. if changing in this file works then modify this one in child theme: child-theme/woocommerce/cart/cart.php nothing wrong in it. you can paste the minicart.php codes into cart.php. this will do the trick. note: for better support share stills and codes of cart page. and also elaborate more about your desires.November 2, 2019 at 8:27 am #232078StudioLeBus
ParticipantHello again, I'll explain again. I succeed in changing the cart page code by putting a modified woocommerce/cart/cart.php in my child theme.. now I try to change the mini cart code, but what ever I put or I change in the file in my child theme /woocommerce/cart/mini-cart.php, even or instance an echo 'hello', it doesn't show on the frontend.. So I wonder if this file is the good one, or if there is some hook or other file I should check to change it.. Do you see what I mean?November 4, 2019 at 4:13 am #232156logan
MemberHello, if you want to switch between pages then goto wp-admin >> woocommerce >> tools >> pages. select the minicart page here now it will apear at the place of cart page. for more details have a look here: https://docs.woocommerce.com/document/woocommerce-pages/ if it does not help you in that case share these details:where does this mini cart page appear?? share screenshots.
what do you want to change in this mini cart ?? share screenshots with demarcation.
what is your requirement to change these files elaborate more so that i can guide you better.
November 4, 2019 at 7:18 am #232176StudioLeBus
Participantthe mini cart is the cart that is up right in the menu, no worries, I managed to change it, I think it was cached when a lesson was in it so I had to remove the product and add it again before seeing any change... thanks anyway :)November 5, 2019 at 6:43 am #232291logan
Memberhello, thanks for confirming. I am closing this topic. best regards. -
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)
- The topic ‘Mini-cart template file ?’ is closed to new replies.