• I created a new cart template in the theme, but it doesn’t work. However, cart-total and other templates are effective, only cart doesn’t work. I can only put the modified template into the plugin template, but I have to modify it again every time I update it. I want to know why the modification of cart in the theme doesn’t work?

Viewing 1 replies (of 1 total)
  • Plugin Support Jonayed (woo-hc)

    (@jonayedhosen)

    Hi @yangjingjing ,

    I created a new cart template in the theme, but it doesn’t work. However, cart-total and other templates are effective, only cart doesn’t work.

    I’m sorry to hear that you’re facing difficulties with overriding the WooCommerce cart template in your theme.

    To start troubleshooting, please try clearing the WooCommerce template cache. You can do this by going to: WooCommerce > Status > Tools > Clear template cache.

    Next, check if any of your plugins or the theme are overriding the default cart template. You can do this by navigating to WooCommerce > Status > System Status > Templates. If the cart template has been overridden, this could explain why the changes aren’t taking effect.

    Additionally, I’d recommend reviewing the WooCommerce developer guide on overriding specific templates. You can find it here: WooCommerce Template Structure Guide.

    Please check these steps and let us know if this helps!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.