Generation of the “Saved Items” list on the cart page relies on action hooks WooCommerce adds to their template files. These hooks allow third party plugins and themes to add, modify, or remove content that is also hooked in there. Unfortunately, theme developers can also modify these templates directly and sometimes remove these necessary hooks. When this happens, it is best to override your theme templates in a child theme to add the hooks back in.
Below is a list of template files controlling the appearance of your cart. Included are links to the files in the WooCommerce core to show where the hooks should appear. However, you will want to start with the template file from your theme to ensure other changes specific to your theme remain.
Remember to check the file for the hook before copying it over.
- Hook: woocommerce_after_cart
Template Location: woocommerce/cart/cart.php
- Hook: woocommerce_cart_is_empty
Template Location: woocommerce/cart/cart-empty.php
Template structure & Overriding templates via a theme