I have a problem with the dynamic mini cart from Elementor. It does not show the customized product image thumbnail. Have anyone had similar issues or know how to fix it?
Wanted to update in case others are still struggling with this (as I was). Elementor Pro continues to update and I would continue to forget to update the mini-cart.php file direct. Bad practice anyway... @Jakob 's workaround to load the Elementor Pro mini-cart.php indeed works.
So here's what worked for me:
Take @Andrea 's mini-cart.php fix and place in childtheme>woocommerce>cart
Go to Elementor Settings>Integrations> WooCommerce and choose "Disable" next to "Mini Cart Template"
I had a weird thing happen that I thought this wasn't working but then realized a small nuance (could be an easy fix in Andrea's file perhaps?): if a product's "Catalog Visibility" is set to "Hidden", the thumbnail will still not show. Only once I made the product visible did the thumbnail update in the mini cart.
Hope this helps!
2 Votes
J
Jakob Sebovposted
about 1 year ago
Found a solution to replace the mini-cart.php in the Child Theme. This is what made it work.
Elementor > Settings > Integrations - here you have to disable the cart in order for your template override to work
There must be a way to do it programmatically, but that's just beyond my skill set. I fear submitting tickets to FPD and/or Elementor would result in a never ending hand-off to the other developer....
0 Votes
A
Alex Galassiposted
almost 2 years ago
For reference, the Mini-Cart file can be located here:
This also worked for me. And I do want a better solution for this as well - its going to be a pain to update the file each time we need to update Elementor Pro. But either way, thank you Andreas for your help with this!
0 Votes
B
Brian Tetraultposted
about 2 years ago
Initial testing, the new mini-cart.php file worked for me to show the customized thumbnail, so thanks!
However, it didn't work being placed in the child theme, I had to place it directly in the Elementor Pro plugin folder which is not ideal. Any ideas on a workaround for that so as to not break it each time it updates?
0 Votes
B
Brian Tetraultposted
about 2 years ago
Sweet! Thanks for spending the time, I can't wait to try it out.
Off the top of your head, do you know if this can be placed in the child theme so as to not get wiped out every other day when Elementor updates (haha)?
Thanks again!
0 Votes
A
Andreasposted
about 2 years ago
I actually managed to fix it, even though it took me 5 hours! See if replacing the Elementor Pro mini-cart.php with the one attached works out for you. Hopefully it can spare you or anyone else those 5 hours :-)
Dear all!
I have a problem with the dynamic mini cart from Elementor. It does not show the customized product image thumbnail. Have anyone had similar issues or know how to fix it?
Thank you all very much in advance.
Best,
Andreas.
Attachments (2)
thumbnail is....png
22.4 KB
thumbnail issue.png
230 KB
1 Votes
8 Comments
Brian Tetrault posted 11 months ago
Wanted to update in case others are still struggling with this (as I was). Elementor Pro continues to update and I would continue to forget to update the mini-cart.php file direct. Bad practice anyway... @Jakob 's workaround to load the Elementor Pro mini-cart.php indeed works.
So here's what worked for me:
I had a weird thing happen that I thought this wasn't working but then realized a small nuance (could be an easy fix in Andrea's file perhaps?): if a product's "Catalog Visibility" is set to "Hidden", the thumbnail will still not show. Only once I made the product visible did the thumbnail update in the mini cart.
Hope this helps!
2 Votes
Jakob Sebov posted about 1 year ago
Found a solution to replace the mini-cart.php in the Child Theme. This is what made it work.
Elementor > Settings > Integrations - here you have to disable the cart in order for your template override to work
Look here for more information:
https://stackoverflow.com/questions/72981691/woocommerce-mini-cart-php-doesnt-override-the-template
0 Votes
Brian Tetrault posted almost 2 years ago
There must be a way to do it programmatically, but that's just beyond my skill set. I fear submitting tickets to FPD and/or Elementor would result in a never ending hand-off to the other developer....
0 Votes
Alex Galassi posted almost 2 years ago
For reference, the Mini-Cart file can be located here:
/wp-content/plugins/elementor-pro/modules/woocommerce/wc-templates/cart/mini-cart.php
This also worked for me. And I do want a better solution for this as well - its going to be a pain to update the file each time we need to update Elementor Pro. But either way, thank you Andreas for your help with this!
0 Votes
Brian Tetrault posted about 2 years ago
Initial testing, the new mini-cart.php file worked for me to show the customized thumbnail, so thanks!
However, it didn't work being placed in the child theme, I had to place it directly in the Elementor Pro plugin folder which is not ideal. Any ideas on a workaround for that so as to not break it each time it updates?
0 Votes
Brian Tetrault posted about 2 years ago
Sweet! Thanks for spending the time, I can't wait to try it out.
Off the top of your head, do you know if this can be placed in the child theme so as to not get wiped out every other day when Elementor updates (haha)?
Thanks again!
0 Votes
Andreas posted about 2 years ago
I actually managed to fix it, even though it took me 5 hours! See if replacing the Elementor Pro mini-cart.php with the one attached works out for you. Hopefully it can spare you or anyone else those 5 hours :-)
Best,
Andreas.
Attachments (1)
mini-cart.php
4.51 KB
0 Votes
Brian Tetrault posted about 2 years ago
I have this same problem—I'm also using Elementor's mini cart.
0 Votes
Login or Sign up to post a comment