Hey ,
You can override woocommerce_template_loop_product_thumbnail by defining same function in your theme.
function woocommerce_template_loop_product_thumbnail() {
global $post;
if ( has_post_thumbnail() ) { ?>
<img src="<?php echo wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>" class="product-img">
<?php }
}
try adding a product to the cart and then empty it.
Hi guys,
I also had this issue. just go to the cart page by typing the url.
http://www.yoursite.com/cart
It’ll say your cart is empty. just click return to shop button. that annoying warning msg will disappear.
That’s how I fixed it. Hope it helps
Thanks