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.
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!
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:
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....
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!
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?
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)?
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 :-)
I have this same problem—I'm also using Elementor's mini cart.