search

Home  >  Q&A  >  body text

Unable to override Woocommerce mini-cart.php template

I'm trying to create a custom mini shopping cart widget and following the tutorial. For example. Create the child theme (Hello Elementor 2.6.1) and place it under hello-elementor-child/woocommerce/cart/mini-cart.php. Even the Woocommerce status tells me that my file overwrites the template, so I should be fine.

Überschrieben hello-elementor-child/woocommerce/cart/mini-cart.php

But when I change anything in the mini-cart.php file, nothing happens with the widget. Even if I change the code in the plugin nothing changes...

I have reset the cache using a private browser window etc. Nothing happens...

Any suggestions? Wrong theme? Child theme settings wrong?

P粉386318086P粉386318086388 days ago540

reply all(1)I'll reply

  • P粉267885948

    P粉2678859482023-12-16 17:31:43

    Ok, so I found the solution: The shopping cart widget I am using is provided by Elementor Pro. Elementor itself has a (bizarre) option to enable or disable this cart under Elementor > Settings > Integrations - here, you have to disable the cart for the template override to work properly.

    reply
    0
  • Cancelreply